Using icon as an asset inside a new component doesn't color right

Hi everyone,
I really hope you can help us with this one: We have an icon library (all filled no double lines vectors) and we are using them in a new file for some button components.

The problem is they don’t render properly with the color

As you can see the black belongs to the icon library but the button is supposed to color everything in our primary color.

Any idea why is this happening?

Hi! A way around this is to wrap your icon in a union

Here is a video, to help show the difference.

To union the selection select your icon and go to the menu at the top middle of the screen.

If the option isn’t there when highlighting the icon then you may have to select multiple elements, create the union and then delete the other element. I usually just draw a rectangle union them both and then delete the rectangle.