diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-11-04 13:49:39 -0800 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-11-04 14:58:21 -0800 |
commit | 4897997025d07998e77cee4dd1c4252fff763db4 (patch) | |
tree | 17d1edb33f34e335222d6b52a7249d8a165f7d2e /web/react/utils/constants.jsx | |
parent | 0054924cdbcdb3e3631bd7036244aebba4234c33 (diff) | |
download | chat-4897997025d07998e77cee4dd1c4252fff763db4.tar.gz chat-4897997025d07998e77cee4dd1c4252fff763db4.tar.bz2 chat-4897997025d07998e77cee4dd1c4252fff763db4.zip |
Removed old code theme selector and fixed some issues
Diffstat (limited to 'web/react/utils/constants.jsx')
-rw-r--r-- | web/react/utils/constants.jsx | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx index 3cc76bd95..7d885681a 100644 --- a/web/react/utils/constants.jsx +++ b/web/react/utils/constants.jsx @@ -159,7 +159,8 @@ module.exports = { buttonBg: '#2389d7', buttonColor: '#FFFFFF', mentionHighlightBg: '#fff2bb', - mentionHighlightLink: '#2f81b7' + mentionHighlightLink: '#2f81b7', + codeTheme: 'github' }, organization: { type: 'Organization', @@ -181,7 +182,8 @@ module.exports = { buttonBg: '#1dacfc', buttonColor: '#FFFFFF', mentionHighlightBg: '#fff2bb', - mentionHighlightLink: '#2f81b7' + mentionHighlightLink: '#2f81b7', + codeTheme: 'github' }, mattermostDark: { type: 'Mattermost Dark', @@ -203,7 +205,8 @@ module.exports = { buttonBg: '#4CBBA4', buttonColor: '#FFFFFF', mentionHighlightBg: '#984063', - mentionHighlightLink: '#A4FFEB' + mentionHighlightLink: '#A4FFEB', + codeTheme: 'solarized_dark' }, windows10: { type: 'Windows Dark', @@ -225,7 +228,8 @@ module.exports = { buttonBg: '#0177e7', buttonColor: '#FFFFFF', mentionHighlightBg: '#784098', - mentionHighlightLink: '#A4FFEB' + mentionHighlightLink: '#A4FFEB', + codeTheme: 'monokai' } }, THEME_ELEMENTS: [ @@ -315,7 +319,7 @@ module.exports = { }, { id: 'solarized_light', - uiName: 'Solarized light' + uiName: 'Solarized Light' }, { id: 'github', @@ -328,12 +332,6 @@ module.exports = { ] } ], - CODE_THEMES: { - github: 'GitHub', - solarized_light: 'Solarized Light', - monokai: 'Monokai', - solarized_dark: 'Solarized Dark' - }, DEFAULT_CODE_THEME: 'github', Preferences: { CATEGORY_DIRECT_CHANNEL_SHOW: 'direct_channel_show', |