Skip to main content
Question

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

  • November 11, 2022
  • 1 reply
  • 614 views

Macarena_Moraga

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?

1 reply

Adam19
  • 8 replies
  • November 11, 2022

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.


Reply


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