generated from directus-labs/agency-os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.ts
78 lines (75 loc) · 1.24 KB
/
theme.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
export interface Theme {
primary: string;
gray: string;
borderRadius: 'none' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | 'full';
googleFonts: {
[key: string]: boolean | number[];
};
fonts: {
display: string;
sans: string;
code: string;
signature: string;
};
}
export const theme = {
primary: 'violet',
gray: 'slate',
borderRadius: 'lg',
googleFonts: {
Inter: true,
'Fira Code': true,
Poppins: [400, 500, 600, 700, 800, 900],
'Nothing You Could Do': true,
},
fonts: {
display: 'Poppins',
sans: 'Inter',
code: 'Fira Code',
signature: 'Nothing You Could Do',
},
} as Theme;
export const borderRadiusMap = {
none: {
card: '0px',
button: '0px',
input: '0px',
panel: '0px',
},
sm: {
card: '0.125rem',
button: '0.125rem',
input: '0.125rem',
panel: '0.125rem',
},
base: {
card: '0.25rem',
button: '0.25rem',
input: '0.25rem',
panel: '0.25rem',
},
md: {
card: '0.375rem',
button: '0.375rem',
input: '0.375rem',
panel: '0.375rem',
},
lg: {
card: '0.5rem',
button: '0.5rem',
input: '0.5rem',
panel: '0.5rem',
},
xl: {
card: '0.75rem',
button: '0.75rem',
input: '0.5rem',
panel: '0.75rem',
},
full: {
card: '0.75rem',
button: '9999px',
input: '9999px',
panel: '0.75rem',
},
};