Figma Community Forum
[Variants] How to keep the icon color override while changing the variant state?
Ask the community
Bao_Tran
May 7, 2022, 6:36am
11
Screen Shot 2022-05-07 at 13.27.55
808×230 4.68 KB
Hi guys,
in my case, i used the vector icon as a mask then put a solid rectangle color on top. That’s it! It works perfectly with nested components.
3 Likes
An icon doesn't change color when making an instance swap with the new component properties
show post in topic
Related topics
Topic
Replies
Views
Activity
Override Bug with Variants
Ask the community
1
519
May 12, 2022
Overrides & Variant animations
Ask the community
4
798
March 7, 2022
Preserve color override on font icons
Ask the community
8
394
February 7, 2024
Nested icon color changes stopped working in variants
Bugs
figma
2
868
October 1, 2022
Icon color doesn't override using a nested icon-wrapper
Ask the community
3
362
November 10, 2023