feat(style): theme overrides

This commit is contained in:
Corentin Thomasset 2022-04-04 14:07:24 +02:00
parent 3e92b7f1e0
commit d542688664
No known key found for this signature in database
GPG key ID: 3103EB5E79496F9C
2 changed files with 35 additions and 5 deletions

25
src/themes.ts Normal file
View 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',
},
};