Toggle a global variant


Is there a way to toggle a Global variant? I am trying to implement a dark mode switch to toggle between Base and Dark Mode variant.

Very glad if someone can point me into the right direction.

Thank you.

1 Like

Hi! Unfortunately not at the moment without custom code components that let you trigger and update and then pass in the updated value to the PlasmicRootProvider…

1 Like

Thank Yang for pointing me to the right direction.