-
Notifications
You must be signed in to change notification settings - Fork 5
/
theme.config.ts
55 lines (52 loc) · 1.32 KB
/
theme.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import type { ThemeConfig } from '@bg-dev/nuxt-naiveui';
import { theme } from '#tailwind-config';
const rounded = '0.5rem';
const themeConfig: ThemeConfig = {
shared: {
common: {
// borderColor: '#eee',
primaryColor: theme.colors.primary[500],
primaryColorHover: theme.colors.primary[400],
primaryColorPressed: theme.colors.primary[300],
borderRadius: rounded,
borderRadiusSmall: '4px',
},
Button: {
borderRadiusLarge: rounded,
borderRadiusMedium: '0.7rem',
},
Input: {
paddingMedium: '2px 12px',
fontSizeMedium: '12px',
borderRadius: rounded,
},
Card: {
borderRadius: rounded,
paddingMedium: '1rem',
},
Select: {
peers: {
InternalSelection: {},
},
},
Notification: {
borderRadius: rounded,
},
},
light: {
Input: {
borderFocus: '1px solid ' + theme.colors.primary[400],
boxShadowFocus: '0 0 0px 3px ' + theme.colors.primary[100],
borderHover: '1px solid ' + theme.colors.primary[300],
},
},
dark: {
common: {},
Input: {
borderFocus: '1px solid ' + theme.colors.primary[500],
boxShadowFocus: '0 0 0px 3px ' + theme.colors.primary[400],
borderHover: '1px solid ' + theme.colors.primary[400],
},
},
};
export { themeConfig };