Replies: 1 comment
|
Currently there's no better option than the one you've described |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I'm trying to achieve a theme system that looks like that :
So I'd like to have some kind of "revert" actions, that changes the themes back to what is declared in global.css, and removing what has been changed by updateCSSVariables.
For now the only way I see to do that is to save the global.css values in cache and make a call to updateCSSVariables with the cached data, but I was wondering maybe it was possible to achieve this in another way ? What do you think ?
All reactions