Change an icon component but keep the color override?

Hi,

I want to update a few icons in my designs system. When I say update I mean replace with a new one within the existing icon component. It would be great if it would keep the override colors I have in my designs, is something like this possible?

Use the Union trick to keep the icon color overridden.

You can see an example of my file here: How do you override icon color when going back and forth between variants? - #5 by tank666

Thanks, this does work but I have about 10 icons I would like to update and this does make them a bit messy. I guess it’s a choice to make between messy components and updating every instance color :joy: :see_no_evil:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.