ThemeManager
Decorators: |
|
Facade-level service that is responsible for high-level theme operations.
Notes
This service is provided in root by default.
Properties
Name | Type | Description |
---|---|---|
injector p |
| |
tokens p |
|
Methods
apply() | ||||||
---|---|---|---|---|---|---|
Apply the given theme tokens to the application to make them take effect. NotesPreviously applied tokens will not be cleared when applying new tokens. New tokens will overwrite the previous ones when the token names conflict. | ||||||
Presentation
| ||||||
Parameters
Returnsvoid |
build() | ||||||
---|---|---|---|---|---|---|
Resolves a list of token generation specifications into a single object of merged theme tokens. NotesSpecifications are resolved in order, and tokens generated from later specifications will overwrite the previous ones when the token names conflict. | ||||||
Presentation
| ||||||
Parameters
Returns |