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