Icon component variant permanent color change

step 1
image
image

step 2
image
image

step 3
image
image

and now color is stuck as this inverted black thing for Transparent even if you try switching back and forth again. I have to delete the style and re-add it to get back to the original color

edit: apparently you can start at step 2 and get the same result

Hi @bobthebear!

When you switch between style variants all style overrides are reset, so it is expected behavior that the Color of the icon goes back to black when switching between variants.

There is a bug in the inspector where the swatch color stays stale when this happens, so it's showing up as orange when it should be showing as black to match the actual behavior (the correct color should be reflected when you refresh the page). We will get this fixed!

Thanks for surfacing this issue!

2 Likes