added nicinabox base16 theme and made it default

This commit is contained in:
dzannotti 2015-08-11 21:52:56 +01:00
parent c0afa393f5
commit 626562ad5a
3 changed files with 24 additions and 3 deletions

View File

@ -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;

View File

@ -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';

View File

@ -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
};