I’m working on a small application to work as a component style tester. To do this, I need to test in both light and dark themes with the templates that I have. I’ve seen a lot of people pointing to setting config.toml
with the theme, but this is in code and I need to be able to switch back and forth at runtime automatically (depending on the theme). Is there currently a way to change the theme from an st.***
call?
Hi @Ian_Howell,
Thanks for posting!
Unfortunately, there isn’t currently a way to switch themes programmatically, but that’s a great product enhancement idea – feel free to submit it here!
Caroline
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.