RootElementStylePropertiesThemeTokenRegistry
Decorators: |
|
Implements: |
|
Implementation of
that defines theme token and values as CSS variables on the root DOM element, usually the <html>
element.
Notes
Token names can be optionally prefixed with --
, e.g. --primary
.
Properties
Name | Type | Description |
---|---|---|
document p | Document | |
element p | HTMLElement | |
styles p | CSSStyleDeclaration | undefined |
Methods
get()implements
| ||||||
---|---|---|---|---|---|---|
No documentation has been provided. | ||||||
Presentation
| ||||||
Parameters
Returnsstring | null |
getOrThrow() | ||||||
---|---|---|---|---|---|---|
No documentation has been provided. | ||||||
Presentation
| ||||||
Parameters
Returnsstring |
protected normalizeName() | ||||||
---|---|---|---|---|---|---|
No documentation has been provided. | ||||||
Presentation
| ||||||
Parameters
Returnsstring |
set()implements
| |||||||||
---|---|---|---|---|---|---|---|---|---|
No documentation has been provided. | |||||||||
Presentation
| |||||||||
Parameters
Returnsvoid |