Figma Support Forum

Icon no longer applied pre-defined color in component

back in the day, when we swap the icon, it auto apply the color of the component, which in our case the color White. Now it changed to black and we have to manually select the White color again.

This happens because you set the color to white in the main component of this button and not in the instance. So when you swap something in the instance, Figma thinks the instance doesn’t have color overrides so it swaps the icon without them. That’s really strange though, I hope it gets fixed in the future. Maybe related: Variant Override Preservation Implementation is Broken / Bad

1 Like

Thx Gleb, the thing is, it worked fine before. :face_with_thermometer: