Theme Manager
Handles loading and activating available themes.
An instance of this class is always available as the inkdrop.themes
global.
Theme Manager Updates Subscription
Invoke the given callback when style sheet changes associated with updating the list of active themes are completed.
Parameters
- Name
callback()
- Type
- function
- Required
- Description
Function to be called after the active themes have been updated.
Returns
Returns a Disposable on which .dispose()
can be called to unsubscribe.
Get Loaded Theme Names
Retrieve the names of all loaded themes.
Returns
Returns an Array of Strings with the names of all loaded themes.
Get Loaded Themes
Obtain a list of all loaded themes.
Returns
Returns an Array of all the loaded themes.
Get Active Theme Names
Get the names of all active themes.
Returns
Returns an Array of Strings with the names of all active themes.
Get Active Themes
Retrieve all active themes.
Returns
Returns an Array of all the active themes.
Get Enabled Theme Names
Get the names of enabled themes from the configuration.
Returns
Returns an array of theme names in the order that they should be activated.