Make small swatches react to theme changes

This commit is contained in:
Dominik Prokop 2019-01-23 15:30:33 +01:00
parent 3c7a5bdf7b
commit 511895c079

View File

@ -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>
) )