Skip to main content
Question

Icons are not preserving overrides when changing variant sizes

  • October 3, 2024
  • 2 replies
  • 56 views

karol_benatti

I set up a group of components as follows:

  1. An icon component, which is given an icon type and different sizes (the line thicknesses change according to each size).
  2. A list item component (and others) that receive this icon component.
  3. A card or more complex elements that receive this list item.

In this last component (3), the icon type must change depending on the list item, but in the list item component (2) there is only one generic icon (1), to assemble the structure.

My problem is:
When, for whatever reason, I want to change the size variant of the icon component (1) within the list item component (2), the card component (3) loses all its overrides!

I made a video to illustrate it better but I Figma won’t let me upload it. Does anyone knows how to solve it?

This topic has been closed for replies.

2 replies

Raphael_M
  • Power Member
  • 396 replies
  • October 3, 2024

Did you follow these guidelines on preserving overrides?


There are times that I encounter those kind of things, but I just look and see if the layers and containers are correct on their main components.

You can upload the video on google drive and send it the link here, or share the file.


karol_benatti
  • Author
  • 1 reply
  • October 3, 2024

Yep, it’s an instance of the icon component, so it has the same layer name. I’m really lost here, don’t know how to solve it or if there is a solution!

here’s the video: https://drive.google.com/file/d/1LbQ46CF4l08Cv0gKYFcF9VHtdaaEe4q_/view?usp=drive_link