forked from harlan-zw/harlanzw.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tokens.config.ts
103 lines (102 loc) · 2.13 KB
/
tokens.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
import { defineTheme } from 'pinceau'
export default defineTheme({
color: {
text: {
dark: '#374151',
light: '#d6d3d1',
},
primary: {
darkest: {
value: '#0d9488',
},
darker: {
value: '#11998e',
},
dark: {
value: '#10b981',
},
light: {
value: '#38ef7d',
},
lightest: {
value: '#23e75e',
},
},
},
docus: {
page: {
maxWidth: '90rem',
},
header: { height: '104px' },
footer: { height: '80px' },
},
prose: {
ul: {
listStyleType: 'none',
padding: 0,
},
a: {
fontWeight: '400',
borderStyle: {
default: 'none',
hover: 'none',
},
},
h1: {
fontSize: '2.25rem',
fontWeight: '600',
marginBottom: '0.88em',
marginTop: '0',
lineHeight: '1.5',
},
h2: {
fontSize: '1.5em',
fontWeight: 700,
lineHeight: 1.3333333,
marginBottom: '1em',
marginTop: '2em',
},
h3: {
fontSize: '1.3em',
fontWeight: 700,
lineHeight: 1.5,
marginBottom: '0.8em',
marginTop: '1.5em',
},
p: {
margin: '1rem 0',
lineHeight: 1.75,
},
},
// typography: {
// colors: {
// primary: {
// 50: '{colors.primary.50}',
// 100: '{colors.primary.100}',
// 200: '{colors.primary.200}',
// 300: '{colors.primary.300}',
// 400: '{colors.primary.400}',
// 500: '{colors.primary.500}',
// 600: '{colors.primary.600}',
// 700: '{colors.primary.700}',
// 800: '{colors.primary.800}',
// 900: '{colors.primary.900}'
// },
// secondary: {
// 50: '{colors.gray.50}',
// 100: '{colors.gray.100}',
// 200: '{colors.gray.200}',
// 300: '{colors.gray.300}',
// 400: '{colors.gray.400}',
// 500: '{colors.gray.500}',
// 600: '{colors.gray.600}',
// 700: '{colors.gray.700}',
// 800: '{colors.gray.800}',
// 900: '{colors.gray.900}'
// }
// }
// },
backdrop: {
filter: 'blur(2px)',
},
})