Sets all of a color theme's CSS vars in a global style element. If no override is given, the theme color default values are assigned.
Uses applyCssVarsViaStyleElement from lit-css-vars.
applyCssVarsViaStyleElement
lit-css-vars
Optional
The context to apply the color theme to.
document.head Copy
document.head
Sets all of a color theme's CSS vars in a global style element. If no override is given, the theme color default values are assigned.
Uses
applyCssVarsViaStyleElementfromlit-css-vars.