From 626562ad5a5a8144dfadbf75910970bcab761072 Mon Sep 17 00:00:00 2001 From: dzannotti Date: Tue, 11 Aug 2015 21:52:56 +0100 Subject: [PATCH] added nicinabox base16 theme and made it default --- src/react/LogMonitor.js | 6 +++--- src/react/themes/index.js | 1 + src/react/themes/nicinabox.js | 20 ++++++++++++++++++++ 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 src/react/themes/nicinabox.js diff --git a/src/react/LogMonitor.js b/src/react/LogMonitor.js index ce6fd63c..a58b6c42 100644 --- a/src/react/LogMonitor.js +++ b/src/react/LogMonitor.js @@ -52,7 +52,7 @@ export default class LogMonitor { static defaultProps = { select: (state) => state, monitorState: { isVisible: true }, - theme: 'ocean' + theme: 'nicinabox' }; componentWillReceiveProps(nextProps) { @@ -124,8 +124,8 @@ export default class LogMonitor { if (typeof themes[this.props.theme] !== 'undefined') { theme = themes[this.props.theme]; } else { - console.warn('DevTools theme ' + this.props.theme + ' not found, defaulting to ocean'); - theme = themes.ocean; + console.warn('DevTools theme ' + this.props.theme + ' not found, defaulting to nicinabox'); + theme = themes.nicinabox; } } else { theme = this.props.theme; diff --git a/src/react/themes/index.js b/src/react/themes/index.js index 2b8a635e..ca0660f9 100644 --- a/src/react/themes/index.js +++ b/src/react/themes/index.js @@ -35,3 +35,4 @@ export { default as summerfruit } from './summerfruit'; export { default as tomorrow } from './tomorrow'; export { default as tube } from './tube'; export { default as twilight } from './twilight'; +export { default as nicinabox } from './nicinabox'; diff --git a/src/react/themes/nicinabox.js b/src/react/themes/nicinabox.js new file mode 100644 index 00000000..e1dbe8d6 --- /dev/null +++ b/src/react/themes/nicinabox.js @@ -0,0 +1,20 @@ +export default { + scheme: 'nicinabox', + author: 'nicinabox (http://github.com/nicinabox)', + base00: '#2A2F3A', + base01: '#3C444F', + base02: '#4F5A65', + base03: '#BEBEBE', + base04: '#b0b0b0', // unmodified + base05: '#d0d0d0', // unmodified + base06: '#FFFFFF', + base07: '#f5f5f5', // unmodified + base08: '#fb9fb1', // unmodified + base09: '#6FB3D2', + base0A: '#ddb26f', // unmodified + base0B: '#A1C659', + base0C: '#12cfc0', // unmodified + base0D: '#6FB3D2', + base0E: '#D381C3', + base0F: '#deaf8f' // unmodified +};