mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Use config defaults to default themes to atom-dark-*
This commit is contained in:
committed by
Corey Johnson & Kevin Sawicki
parent
36d0b2c735
commit
af02d9f0fd
@@ -111,7 +111,7 @@ _.extend atom,
|
||||
fsUtils.base(path) for path in @getAvailablePackagePaths()
|
||||
|
||||
loadThemes: ->
|
||||
themeNames = config.get("core.themes") ? ['atom-dark-ui', 'atom-dark-syntax']
|
||||
themeNames = config.get("core.themes")
|
||||
themeNames = [themeNames] unless _.isArray(themeNames)
|
||||
@loadTheme(themeName) for themeName in themeNames
|
||||
@loadUserStylesheet()
|
||||
|
||||
@@ -23,6 +23,7 @@ class RootView extends View
|
||||
@configDefaults:
|
||||
ignoredNames: [".git", ".svn", ".DS_Store"]
|
||||
disabledPackages: []
|
||||
themes: ['atom-dark-ui', 'atom-dark-syntax']
|
||||
|
||||
###
|
||||
# Internal:
|
||||
|
||||
Reference in New Issue
Block a user