forked from dedicatedcloud/gradus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tokens.config.ts
111 lines (108 loc) · 2.34 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
104
105
106
107
108
109
110
111
import { defineTheme } from 'pinceau'
export default defineTheme({
typography: {
// This will change the general line-break size
letterSpacings: {
tight: '-0.0035em',
wide: '0.-0035em'
},
// lead:'0px',
},
prose: {
// This will change the fontSize of the `<ProseH1>` component
h1: {
fontSize: '28px',
fontWeight: '600',
margin: '0px 0px 5px 0px'
},
h2: {
fontSize: '20px',
margin: '30px 0px 10px 0px'
},
h3: {
fontSize: '20px',
margin: '30px 0px 5px 0px'
},
h4: {
fontSize: '18px',
margin: '30px 0px 5px 0px'
},
h5: {
fontSize: '15px',
margin: '35px 0px 5px 0px',
},
h6: {
fontSize: '12px',
margin: '30px 0px 5px 0px'
},
ul: {
fontSize: '90%',
margin: '4px',
li: {
margin: '2px',
fontSize: '90%',
}
},
li: {
margin: '0px',
fontSize: '90%'
},
ol: {
margin: '4px',
fontSize: '90%',
li: {
margin: '2px',
fontSize: '90%'
}
},
p: {
margin: '2px 0',
// fontSize: '90%'
},
img: {
borderRadius: '12px'
},
code: {
block: {
fontSize: '15px',
margin: '20px 0',
borderWidth: '1px',
borderStyle: 'solid',
borderColor: {
initial: '#e0e0e0',
dark: '{typography.color.secondary.800}'
},
borderRadius: '10px',
// color: {
// initial: '#F8F9FA',
// dark: '{typography.color.secondary.200}'
// },
backgroundColor: {
initial: '#F8F9FA',
dark: '{typography.color.secondary.900}'
},
backdropFilter: {
initial: 'contrast(1)',
dark: 'contrast(1)'
},
pre: {
// padding: '15px'
}
},
inline: {
borderRadius: '{typography.radii.3xs}',
padding: '0.2rem 0.375rem 0.2rem 0.375rem',
// fontSize: '{typography.fontSize.sm}',
fontWeight: '{typography.fontWeight.normal}',
color: {
initial: '{typography.color.secondary.700}',
dark: '{typography.color.secondary.200}'
},
backgroundColor: {
initial: '#E7EAED',
dark: '{typography.color.secondary.700}'
}
}
}
}
})