Skip to content
Discussion options

You must be logged in to vote

Discussed this on discord, the option that made the most sense in this case was to use setElementVars on the document element, for example:

setElementVars(document.documentElement, {
  [theme.colors.currentColor]: 'blue'
});

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cojoclaudiu
Comment options

Answer selected by cojoclaudiu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants