From 0054924cdbcdb3e3631bd7036244aebba4234c33 Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Tue, 3 Nov 2015 09:39:07 -0800 Subject: Moved code theme picker into custom theme subarea --- web/react/utils/constants.jsx | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'web/react/utils/constants.jsx') 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' }, -- cgit v1.2.3-1-g7c22