mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
chore: Removes hard-coded colors from the plugins - iteration 2 (#20006)
* chore: Removes hard-coded colors from the plugins - iteration 2 * Fixes lint errors
This commit is contained in:
committed by
GitHub
parent
ca9766c109
commit
c4c714fffb
@@ -62,7 +62,8 @@ const formatPercentChange = getNumberFormatter(
|
||||
export default function transformProps(
|
||||
chartProps: BigNumberWithTrendlineChartProps,
|
||||
) {
|
||||
const { width, height, queriesData, formData, rawFormData } = chartProps;
|
||||
const { width, height, queriesData, formData, rawFormData, theme } =
|
||||
chartProps;
|
||||
const {
|
||||
colorPicker,
|
||||
compareLag: compareLag_,
|
||||
@@ -194,7 +195,7 @@ export default function transformProps(
|
||||
},
|
||||
{
|
||||
offset: 1,
|
||||
color: 'white',
|
||||
color: theme.colors.grayscale.light5,
|
||||
},
|
||||
]),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user