feature: add activeItem color
This commit is contained in:
parent
bc8c261b52
commit
7fb6fe934e
|
@ -11,6 +11,7 @@ const darkOne = '#7B00DD';
|
||||||
const lightOne = '#ffffff';
|
const lightOne = '#ffffff';
|
||||||
const brandOne = '#624cda';
|
const brandOne = '#624cda';
|
||||||
const brandTwo = '#a6ede2';
|
const brandTwo = '#a6ede2';
|
||||||
|
const activeItem = '#F5CB00';
|
||||||
|
|
||||||
const appTheme = {
|
const appTheme = {
|
||||||
mode: DARK,
|
mode: DARK,
|
||||||
|
@ -27,6 +28,9 @@ const appTheme = {
|
||||||
sidebarBg: brandOne,
|
sidebarBg: brandOne,
|
||||||
sidebarItem: brandTwo,
|
sidebarItem: brandTwo,
|
||||||
sidebarItemActive: lightOne,
|
sidebarItemActive: lightOne,
|
||||||
|
cardBackgroundColor: '#000',
|
||||||
|
text: '#FFF',
|
||||||
|
activeItem,
|
||||||
},
|
},
|
||||||
size: {
|
size: {
|
||||||
title: 18,
|
title: 18,
|
||||||
|
@ -38,6 +42,6 @@ const appTheme = {
|
||||||
// $FlowFixMe
|
// $FlowFixMe
|
||||||
export const DoczWrapper = ({ children }) => <ThemeProvider theme={appTheme}>{children()}</ThemeProvider>;
|
export const DoczWrapper = ({ children }) => <ThemeProvider theme={appTheme}>{children()}</ThemeProvider>;
|
||||||
|
|
||||||
export const GlobalStyle = createGlobalStyle`${normalize()}`;
|
export const GlobalStyle = createGlobalStyle`${[normalize()]}`;
|
||||||
|
|
||||||
export default appTheme;
|
export default appTheme;
|
||||||
|
|
Loading…
Reference in New Issue