Skip to main content
Solved

Change between variables modes in prototyping


Gustavo_Lopes

I’m trying to animate a small example that changes the mode of the color variables I have between dark mode and light mode, but the button just doesn’t work, what am I doing wrong? Is there a need to have some pattern between the names of the variables in the colors or something like that?

Best answer by Gustavo_Lopes

now it’s working! I believe it was because the page theme was set to “Light”, so it didn’t change. I put it in “Auto” and now it worked in the test file. Thanks!

View original
This topic has been closed for comments

4 replies

Gustavo_Lopes
  • Author
  • New Member
  • 2 replies
  • June 29, 2024


Celine_D
Figmate
  • Community Support
  • 3381 replies
  • July 8, 2024

Hi there! This looks odd, it should work. Not sure which root cause may be 🤔
Can you double check if you have followed the steps as explained in this help center article:
https://help.figma.com/hc/en-us/articles/15253268379799-Variable-modes-in-prototypes#h_01HX7CHX3QAK0Z72XTPY98A8Q6 Let me know if this helps. Thanks!


Gustavo_Lopes
  • Author
  • New Member
  • 2 replies
  • Answer
  • July 10, 2024

now it’s working! I believe it was because the page theme was set to “Light”, so it didn’t change. I put it in “Auto” and now it worked in the test file. Thanks!


Celine_D
Figmate
  • Community Support
  • 3381 replies
  • July 11, 2024

Ah great! Glad to hear you have found a fix. Thanks for letting me know, I’ve gone ahead to mark as solved , and closed the topic! 🙂


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings