Use config defaults to default themes to atom-dark-*

This commit is contained in:
Nathan Sobo
2013-04-17 19:42:35 -06:00
committed by Corey Johnson & Kevin Sawicki
parent 36d0b2c735
commit af02d9f0fd
2 changed files with 2 additions and 1 deletions

View File

@@ -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()

View File

@@ -23,6 +23,7 @@ class RootView extends View
@configDefaults:
ignoredNames: [".git", ".svn", ".DS_Store"]
disabledPackages: []
themes: ['atom-dark-ui', 'atom-dark-syntax']
###
# Internal: