Protected
_Protected
_Protected
_Protected
readyProtected
_Protected
_Protected
_Attach to an element and automatically set and update the theme's properties on it.
If no element is passed, attaches to document.documentElement
.
Protected
notifyThe theme can force dependencies to recompute.
This should not be needed unless you want to recompute based of some external state.
Please file a bug report otherwise.
Static
setSet css variables on an element.
Careful that the css properties are prefixed with --
, otherwise they might conflict with other style properties.
Can be passed a list of already set properties to remove. Returns a list of properties that were set.
Creates a theme class for grouping variables and applying them to elements.