mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-21 07:16:15 -04:00
feat(style): theme overrides
This commit is contained in:
parent
3e92b7f1e0
commit
d542688664
2 changed files with 35 additions and 5 deletions
25
src/themes.ts
Normal file
25
src/themes.ts
Normal file
|
@ -0,0 +1,25 @@
|
|||
import type { GlobalThemeOverrides } from 'naive-ui';
|
||||
|
||||
export const lightThemeOverrides: GlobalThemeOverrides = {
|
||||
Layout: { color: '#f1f5f9' },
|
||||
};
|
||||
|
||||
export const darkThemeOverrides: GlobalThemeOverrides = {
|
||||
common: {
|
||||
primaryColor: '#1ea54cFF',
|
||||
primaryColorHover: '#36AD6AFF',
|
||||
primaryColorPressed: '#0C7A43FF',
|
||||
primaryColorSuppl: '#36AD6AFF',
|
||||
},
|
||||
|
||||
Layout: {
|
||||
color: '#121212',
|
||||
siderColor: '#1e1e1e',
|
||||
siderBorderColor: 'transparent',
|
||||
},
|
||||
|
||||
Card: {
|
||||
color: '#1e1e1e',
|
||||
borderColor: 'transparent',
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue