Skip to main content
Question

Can we switch color variable mode through prototype?


pkp

Is it possible to change the theme while in the prototype and also switch the icons to the sun and moon to match the theme.

This topic has been closed for comments

3 replies

Yes please


Alex_Wright

Yes please, I need this so much. +1


Nate_G
  • Power Member
  • 180 replies
  • October 6, 2023

@pkp You can’t (currently) change a mode via a variable, but you can “change to” or “navigate to” a frame or element that has the color mode set.

I shared an example file and prototype in this conversation on how you could do that.


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