ThemeManager
Summary
Handles loading and activating available themes.
An instance of this class is always available as the AppEnv.themes
global.
Instance Methods
onDidChangeActiveThemes(callback)
Invoke `callback` when style sheet changes associated with updating the list of active themes have completed.
Parameters
Argument | Description |
---|---|
callback | {Function} |
getLoadedThemeNames()
Get an array of all the loaded theme names.
getLoadedThemes()
Get an array of all the loaded themes.
getActiveThemeNames()
Get an array of all the active theme names.
getActiveThemes()
Get an array of all the active themes.
getEnabledThemeNames()
Get the enabled theme names from the config.
Returns
Return Values |
---|
Returns an array of theme names in the order that they should be activated. |