Skip to main content
Question

Override Bug with Variants

  • May 11, 2022
  • 1 reply
  • 531 views

Lucas_Hubner

Hi!

I experience an override bug at my icons.

We use high complex buttons with various options (size, state, color, icon position, emphasizement etc.). Im trying out the new instance swapping property but I experience some issues with overriding the colors of the button.

You can check my current state here:

Figma – 11 May 22

When I create a “Button” I can adjust the buttons’ state just fine. After I changed the state I can change the instance for the other button sizes as well and Figma overrides the colors just how I need it.
But if you swap the instance to let’s say “xSmall” and try to change the state then, Figma doesn’t override the colors.

Do you have any suggestions how I could fix this issue? As the component will be extremely complex I don’t want to create a single instant for every case (about 1000+ instances then).

Thank you 🙂
Lucas

1 reply

Rae_Gibbs

I’m having a similar issue where I cannot override colors for icon component instances at all. In this example I tried to override the icon’s color to #FFFFFF but it doesn’t work.
Screen Shot 2022-05-12 at 11.43.24 AM


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings