Override Bug with Variants


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:

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 :slight_smile:

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