mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-29 17:43:28 +03:00
Add ThemeManager.setEnabledThemes
This commit is contained in:
parent
cbb82b1dcc
commit
80f4e7eb7f
@ -64,6 +64,12 @@ class ThemeManager
|
||||
@packageManager.deactivatePackage(pack.name) for pack in @getActiveThemes()
|
||||
null
|
||||
|
||||
# Public: Set the list of enabled themes.
|
||||
#
|
||||
# * enabledThemeNames: An {Array} of {String} theme names.
|
||||
setEnabledThemes: (enabledThemeNames) ->
|
||||
atom.config.set('core.themes', enabledThemeNames)
|
||||
|
||||
# Public:
|
||||
getImportPaths: ->
|
||||
activeThemes = @getActiveThemes()
|
||||
|
Loading…
Reference in New Issue
Block a user