mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 17:46:56 +03:00
added nicinabox base16 theme and made it default
This commit is contained in:
parent
c0afa393f5
commit
626562ad5a
|
@ -52,7 +52,7 @@ export default class LogMonitor {
|
||||||
static defaultProps = {
|
static defaultProps = {
|
||||||
select: (state) => state,
|
select: (state) => state,
|
||||||
monitorState: { isVisible: true },
|
monitorState: { isVisible: true },
|
||||||
theme: 'ocean'
|
theme: 'nicinabox'
|
||||||
};
|
};
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
componentWillReceiveProps(nextProps) {
|
||||||
|
@ -124,8 +124,8 @@ export default class LogMonitor {
|
||||||
if (typeof themes[this.props.theme] !== 'undefined') {
|
if (typeof themes[this.props.theme] !== 'undefined') {
|
||||||
theme = themes[this.props.theme];
|
theme = themes[this.props.theme];
|
||||||
} else {
|
} else {
|
||||||
console.warn('DevTools theme ' + this.props.theme + ' not found, defaulting to ocean');
|
console.warn('DevTools theme ' + this.props.theme + ' not found, defaulting to nicinabox');
|
||||||
theme = themes.ocean;
|
theme = themes.nicinabox;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
theme = this.props.theme;
|
theme = this.props.theme;
|
||||||
|
|
|
@ -35,3 +35,4 @@ export { default as summerfruit } from './summerfruit';
|
||||||
export { default as tomorrow } from './tomorrow';
|
export { default as tomorrow } from './tomorrow';
|
||||||
export { default as tube } from './tube';
|
export { default as tube } from './tube';
|
||||||
export { default as twilight } from './twilight';
|
export { default as twilight } from './twilight';
|
||||||
|
export { default as nicinabox } from './nicinabox';
|
||||||
|
|
20
src/react/themes/nicinabox.js
Normal file
20
src/react/themes/nicinabox.js
Normal 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
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user