Registry for active theme tokens in the current application.
Notes
Methods
abstract get() |
---|
Retrieve the value of a theme token. |
Presentationabstract get(name: string): string | null;
|
ParametersName | Type | Description |
---|
name | string | the name of the theme token |
Returnsstring | null -the value if registered, or null if not found |
Overload #1 |
---|
Retrieve the value of a theme token. | Presentationabstract get(name: string): string | null;
| ParametersName | Type | Description |
---|
name | string | the name of the theme token |
Returnsstring | null -the value if registered, or null if not found |
|
abstract set() |
---|
Define a new value for a theme token. Duplicate defines overwrite the previous value. |
Presentationabstract set(name: string, value: string | null): void;
|
ParametersName | Type | Description |
---|
name | string | the name of the theme token | value | string | null | new value for the theme token |
Returnsvoid
|
Overload #1 |
---|
Define a new value for a theme token. Duplicate defines overwrite the previous value. | Presentationabstract set(name: string, value: string | null): void;
| ParametersName | Type | Description |
---|
name | string | the name of the theme token | value | string | null | new value for the theme token |
Returnsvoid
|
|