mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Make small swatches react to theme changes
This commit is contained in:
parent
3c7a5bdf7b
commit
511895c079
@ -95,6 +95,7 @@ const NamedColorsGroup: FunctionComponent<NamedColorsGroupProps> = ({
|
|||||||
isSelected={color.name === selectedColor}
|
isSelected={color.name === selectedColor}
|
||||||
color={getColorForTheme(color, theme)}
|
color={getColorForTheme(color, theme)}
|
||||||
onClick={() => onColorSelect(color)}
|
onClick={() => onColorSelect(color)}
|
||||||
|
theme={theme}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user