ThemeManager
Description
Handles loading and activating available themes.
An instance of this class is always available as the atom.themes global.
API documentation
Event Subscription
::onDidChangeActiveThemes(callback)
Invoke callback when style sheet changes associated with
updating the list of active themes have completed.
| Argument | Description |
|---|---|
callback
|
Return values
-
Returns a Disposable on which
.dispose()can be called to unsubscribe.
Accessing Loaded Themes
::getLoadedThemeNames()
Return values
::getLoadedThemes()
Return values
-
Returns an Array of all the loaded themes.
Accessing Active Themes
::getActiveThemeNames()
Return values
::getActiveThemes()
Return values
-
Returns an Array of all the active themes.
Managing Enabled Themes
::getEnabledThemeNames()
Get the enabled theme names from the config.
Return values
-
Returns an array of theme names in the order that they should be activated.