Skip to main content

I have only recently started using variables in Figma.


I have color variables and tokens set up, and am now in the process of replacing selection colors with the variable colors and tokens I just created.


I was able to select all my components and variants and change the selection color with Hex 000000 (or black) with one of my new tokens. It worked wonderfully and I managed to see broad changes applied to almost everything that was Hex 000000 with the token that I named “Color/Surface Primary 2”.


However, there are some things (7) that won’t change color no matter how many times I try to replace the selection color with the token color. They will only change color if I select a custom color. They don’t seem to want to respect the token. Instead, I see that the token “Color/Surface Primary 2” gets applied, but the color box still shows as black. Can anyone help me troubleshoot this issue?


Please see link for screenshot!

The red boxes in the screenshot contain the components/variants that are given me this issue!


Thanks and best!


Here is a quick video giving a more in depth explanation of the issue I am facing



Hi there,


Thanks for reaching out. I’m checking with our internal team. I will get back to you when I have anything I can share with you.


Thanks for your patience.

Toku


Hi there,


My apology for keeping you wait long. If you still see this issue, could you submit a bug report detailing the steps that led to this issue? You can do so by following the link:

Figma Learn - Help Center

Thanks for your patience!

Toku


I’m suffering this same issue… my hypothesis of what may have caused this is that I published the library with instability on the internet. But I think this affected just some components that I’ve created/modified on that moment, not all the library. I cant change the color by changing the token, and the darkmode doesnt working on these components.


Hi there,


Could you also submit a bug report?



Thanks!

Toku


Reply