diff --git a/src/app/tabs/settings-tab.js b/src/app/tabs/settings-tab.js index 8b09469252..bd94e0f0d8 100644 --- a/src/app/tabs/settings-tab.js +++ b/src/app/tabs/settings-tab.js @@ -26,7 +26,7 @@ module.exports = class SettingsTab { el: null, optionVM: null, personal: null, warnPersonalMode: null, generateContractMetadata: null, pluginInput: null, versionSelector: null, version: null, - theme: { dark: null, light: null, david: null }, + theme: { dark: null, light: null, clean: null }, plugins: {}, config: { general: null, themes: null, @@ -66,7 +66,7 @@ module.exports = class SettingsTab { self._view.theme.light = yo`` self._view.theme.dark = yo`` - self._view.theme.david = yo`` + self._view.theme.clean = yo`` self._view.theme[self.data.currentTheme].setAttribute('checked', 'checked') self._view.config.general = yo` @@ -114,8 +114,8 @@ module.exports = class SettingsTab {
- ${self._view.theme.david} - + ${self._view.theme.clean} +
` self._view.config.plugins = yo`
` @@ -200,8 +200,8 @@ module.exports = class SettingsTab { styleGuide.switchTheme('light') window.location.reload() } - function onswitch2davidTheme (event) { - styleGuide.switchTheme('david') + function onswitch2cleanTheme (event) { + styleGuide.switchTheme('clean') window.location.reload() } function onchangePersonal (event) { diff --git a/src/app/ui/styles-guide/styleGuideDavid.js b/src/app/ui/styles-guide/styleGuideClean.js similarity index 99% rename from src/app/ui/styles-guide/styleGuideDavid.js rename to src/app/ui/styles-guide/styleGuideClean.js index 24fdc5c0d9..19ab6ca254 100644 --- a/src/app/ui/styles-guide/styleGuideDavid.js +++ b/src/app/ui/styles-guide/styleGuideClean.js @@ -1,8 +1,8 @@ // var csjs = require('csjs-inject') -module.exports = styleGuideDavid +module.exports = styleGuideClean -function styleGuideDavid () { +function styleGuideClean () { /* -------------------------------------------------------------------------- CSS PROPERTIES diff --git a/src/app/ui/styles-guide/theme-chooser.js b/src/app/ui/styles-guide/theme-chooser.js index ebd6eeb0f2..0b60bdb489 100644 --- a/src/app/ui/styles-guide/theme-chooser.js +++ b/src/app/ui/styles-guide/theme-chooser.js @@ -1,6 +1,6 @@ var styleGuideLight = require('./style-guide') var styleGuideDark = require('./styleGuideDark') -var styleGuideDavid = require('./styleGuideDavid') +var styleGuideClean = require('./styleGuideClean') var Storage = require('remix-lib').Storage module.exports = { @@ -10,8 +10,8 @@ module.exports = { if (themeStorage.exists('theme')) { if (themeStorage.get('theme') === 'dark') { return styleGuideDark() - } else if (themeStorage.get('theme') === 'david') { - return styleGuideDavid() + } else if (themeStorage.get('theme') === 'clean') { + return styleGuideClean() } else { return styleGuideLight() } @@ -27,8 +27,8 @@ module.exports = { return styleGuideDark() } else if (theme === 'light') { return styleGuideLight() - } else if (theme === 'david') { - return styleGuideDavid() + } else if (theme === 'clean') { + return styleGuideClean() } else { return styleGuideLight() }