Skip to main content
Jun 28, 2023 11:01 AM UTC
Solved

Unable to switch variable modes

I set 4 color themes (variable modes) for my design in local variables but when I’m trying to switch them, 3 color themes are greyed out in the dropdown. Is it a bug or I’ve done something wrong?

This topic has been closed for replies.
Josh
JoshSolution
Former Community Manager
Jul 25, 2023 9:37 PM UTC

Hey all this could be due to the variables in your selection being on different versions with one version having access to fewer modes than the other one. If you update everything (variable collections, and make sure components using variables are published with the latest variable version), then all modes should become available for use.

Hope this helps. 🙂

28 replies

Sasch
Jun 29, 2023 7:11 AM UTC

Same for me/us. We’re using an Enterprise License and have the same disabled mode options. For us 3 out of 6 modes are disabled.

Designing systems that empower gripping experiences at scale.
Sofie_Katan1
New Participant
Jul 12, 2023 1:56 PM UTC

Also have the same issue, and same License

Jul 12, 2023 2:25 PM UTC

I’ve got the same issue on Enterprise but the mode is only disabled at page level, I can set it happily at frame and component level.

jackbrind
Jul 25, 2023 9:12 PM UTC

I’m getting the same issue with Professional licence. I would really like to know if I’m doing something wrong 🤔

Josh
JoshSolution
Former Community Manager
Jul 25, 2023 9:37 PM UTC

Hey all this could be due to the variables in your selection being on different versions with one version having access to fewer modes than the other one. If you update everything (variable collections, and make sure components using variables are published with the latest variable version), then all modes should become available for use.

Hope this helps. 🙂

jackbrind
Jul 26, 2023 10:53 AM UTC

Hi @Josh, thank you for your reply.
Unfortunately, after having gone through every component to ensure that all of them were using the correct variables and checking the local variables in my design system file, publishing the updates and accepting the updates in my other design file, my dark theme is still greyed out. When switching a page to a dark theme in my design system file, this works perfectly, it’s just in files that use the library.

Would you happen to have any other suggestions? I know variables are in beta so is it worth submitting a bug?

Cheers, Jack.

Josh
Former Community Manager
Jul 26, 2023 1:20 PM UTC

Hey @jackbrind sorry to hear your still running into issues here. In this case yes I would encourage you to submit a bug report with all of these details. If possible please share any screenshots, recordings, and give edit access to support-share@figma.com. Someone from our support team should be able to take a closer look from there. I’ll also ping the variables team again on this to see if there might be something we’re missing.

Here’s the form you can use.
Submit a bug form →

Thanks! 😊

Thales_Ribeiro
Jul 26, 2023 1:27 PM UTC

For some reason the color modes are disabled when I’m trying to import color tokens from an outside library file.

Thales_Ribeiro
Jul 26, 2023 3:03 PM UTC

It only works for me when I detach the instance of my component. I made sure to have all color variables linked to the same system and up to date. Still getting grayed out

jamiegraydesign
Jul 31, 2023 12:48 PM UTC

Not solved. Most people are still having troubles with this. Ghetto software