Allow developers to switch Page-level variables (e.g. Light/Dark mode)

We have a design system set up with tokens (variables) to enable all components to switch between light and dark mode.

For developers/viewers to see what a screen should look like in Dark mode, we have to duplicate that screen. But as an editor I can set the colour mode variable at the Page level to Dark and all screens on the canvas/page turn to dark mode.

If developers/viewers could also do this, I could delete the dark mode duplicates of every screen and only have one copy of each screen, defaulted to light mode, and then just toggle dark mode as needed.

This would be much more efficient on memory usage and maintenance.

12 Likes

It would be great if it could change the language too!

3 Likes

Yes, allowing Devs and viewers to switch the modes would be a killer feature, avoid a lot of duplicated screens.

4 Likes

Agreed. Currently inundated by developers to see both modes in the designs. Counter-productive having to physically display both ex. Dark and Light UI, when all they would need is the ability to switch and get the respective values.

3 Likes

We need this ASAP common Figma

4 Likes

Implementing this feature is extremely necessary to avoid duplicating screens. It’s not just a matter of convenience; it’s about efficiency and maintaining the integrity of our project’s design. This addition could save us significant time and resources.

2 Likes

I need this so badly right now. Can’t believe it’s not possible right now. :frowning:

2 Likes

It would really be a great benefit for our everyday developer life!

1 Like

We definitely need this

Thank you all for the feedback!

We’ll pass this onto the team for future consideration.

Also very important to us. The alternatives we came up with for now:

a) grant edit permission to developers — more expensive and risky (unwanted changes)
b) duplicate every frame to show light and dark simultaneously — risky and file size issues

Any suggestion?

We should wait for Figma to give this update. I tried everything and no luck with good results.

I always need to clone all my screens for other variable modes that viewers can see those. Would be good to have this not only for devs but also for viewers.

+1 would love to see this!

This is a must have.
I don’t want to give our devs the ability to edit just to be able to swap tokens for themes etc…

in dev mode it should be non destructive change where devs can view different versions of a screen… no impact on the design view… it’s as simple as that :blush:

We really need this ASAP.
Our design system is SoT for everyone in the team. Making double screens for light/dark mode is pain since the files are already huge an updating them takes ages. If I make duplicate files and turn one into dark mode then keeping the SoT true in both files is pain.
You solve one thing and make another problem.
Thank you!

Any update? Thanks!

Will be really usefull !
Have two mode (btc and btb) with different icons. If I could easily get both versions by switching modes, I’d avoid having to go back and forth with the designer for the slightest element.