Skip to main content
Question

Icon color not changing


Diogenes_Roberto

Guys, I’m having a problem changing the icon in my components, as it’s not following the color change. For example, I create an icon button, and in it I create several states, which can have different cores and when I copy the instance of this component and replace the icon, it does not follow the pre-defined cores of the developed component. Below I will leave a link to a file for anyone who can analyze this behavior, thank you in advance.

Figma – 20 Oct 23
This topic has been closed for comments

2 replies

Use cmd+e to combine objects into one (flatten) It works as well as in the example below.

Figma – 20 Oct 23

Also, you need to make sure that all icons that are available for use have the same exact structure, composition, and layer names. For example: either all your icons are a one object shape vector, or all are a one object stroke vector, etc. If for any reason this is not the case, then you will experience random color glitches while changing instances.


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