summaryrefslogtreecommitdiffstats
path: root/web/react/utils/constants.jsx
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-11-03 09:39:07 -0800
committerReed Garmsen <rgarmsen2295@gmail.com>2015-11-04 13:05:55 -0800
commit0054924cdbcdb3e3631bd7036244aebba4234c33 (patch)
tree7d6ab9bc25066a4e025f3cd879099dcace7785c3 /web/react/utils/constants.jsx
parentaee6d9b608aceb7b68ab1e1a583917c2c3ee4485 (diff)
downloadchat-0054924cdbcdb3e3631bd7036244aebba4234c33.tar.gz
chat-0054924cdbcdb3e3631bd7036244aebba4234c33.tar.bz2
chat-0054924cdbcdb3e3631bd7036244aebba4234c33.zip
Moved code theme picker into custom theme subarea
Diffstat (limited to 'web/react/utils/constants.jsx')
-rw-r--r--web/react/utils/constants.jsx24
1 files changed, 23 insertions, 1 deletions
diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx
index b8d346ba7..3cc76bd95 100644
--- a/web/react/utils/constants.jsx
+++ b/web/react/utils/constants.jsx
@@ -304,11 +304,33 @@ module.exports = {
{
id: 'mentionHighlightLink',
uiName: 'Mention Highlight Link'
+ },
+ {
+ id: 'codeTheme',
+ uiName: 'Code Theme',
+ themes: [
+ {
+ id: 'solarized_dark',
+ uiName: 'Solarized Dark'
+ },
+ {
+ id: 'solarized_light',
+ uiName: 'Solarized light'
+ },
+ {
+ id: 'github',
+ uiName: 'GitHub'
+ },
+ {
+ id: 'monokai',
+ uiName: 'Monokai'
+ }
+ ]
}
],
CODE_THEMES: {
github: 'GitHub',
- solarized_light: 'Solarized light',
+ solarized_light: 'Solarized Light',
monokai: 'Monokai',
solarized_dark: 'Solarized Dark'
},