Having an issue with Global Variants - I’ve set a dark mode option and changed the style tokens and PlasmicRootProvider:
globalVariants={[{ name: "theme", value: "dark" }]}
can’t seem to get it to work am I missing something?
Having an issue with Global Variants - I’ve set a dark mode option and changed the style tokens and PlasmicRootProvider:
globalVariants={[{ name: "theme", value: "dark" }]}
can’t seem to get it to work am I missing something?
can you try it with name: "Theme"
any tricks on bubbling up a background color to the body tag?
hmm there’s no way to style the body
tag from within Plasmic right now…
Hmm not with loader, no… There’s no way right now even for code components to read the currently active global variants. We should make this possible.