-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
219 lines (218 loc) · 7.05 KB
/
tailwind.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
important: true,
theme: {
fontFamily: {
sans: "var(--font-family-default)",
mono: "var(--font-family-code)",
},
fontWeight: {
regular: "var(--font-weight-regular)",
medium: "var(--font-weight-medium)",
bold: "var(--font-weight-bold)",
},
fontSize: {
"small": "var(--font-size-small)",
"default": "var(--font-size-default)",
"subhead-default": "var(--font-size-subhead-default)",
"subhead-big": "var(--font-size-subhead-big)",
"header-default": "var(--font-size-header-default)",
"header-big": "var(--font-size-header-big)",
},
lineHeight: {
"none": "1",
"small": "var(--line-height-small)",
"default": "var(--line-height-default)",
"subhead-default": "var(--line-height-subhead-default)",
"subhead-big": "var(--line-height-subhead-big)",
"header-default": "var(--line-height-header-default)",
"header-big": "var(--line-height-header-big)",
},
boxShadow: {
1: "var(--shadow-1)",
2: "var(--shadow-2)",
3: "var(--shadow-3)",
focus: "inset 0 0 0 2px var(--primary-default)",
default: "var(--shadow-default)",
},
colors: {
"transparent": "transparent",
"white": "var(--white)",
"black": "var(--black)",
"interactive": "var(--interactive-background)",
"interactive-active": "var(--interactive-background--active)",
"colorway": {
dimmest: "var(--colorway-dimmest)",
dimmer: "var(--colorway-dimmer)",
default: "var(--colorway-default)",
stronger: "var(--colorway-stronger)",
strongest: "var(--colorway-strongest)",
},
"background": {
root: "var(--background-root)",
default: "var(--background-default)",
higher: "var(--background-higher)",
highest: "var(--background-highest)",
overlay: "var(--background-overlay)",
},
"foreground": {
default: "var(--foreground-default)",
dimmer: "var(--foreground-dimmer)",
dimmest: "var(--foreground-dimmest)",
},
"outline": {
dimmest: "var(--outline-dimmest)",
dimmer: "var(--outline-dimmer)",
default: "var(--outline-default)",
stronger: "var(--outline-stronger)",
strongest: "var(--outline-strongest)",
},
"primary": {
dimmest: "var(--primary-dimmest)",
dimmer: "var(--primary-dimmer)",
default: "var(--primary-default)",
stronger: "var(--primary-stronger)",
strongest: "var(--primary-strongest)",
},
"positive": {
dimmest: "var(--positive-dimmest)",
dimmer: "var(--positive-dimmer)",
default: "var(--positive-default)",
stronger: "var(--positive-stronger)",
strongest: "var(--positive-strongest)",
},
"negative": {
dimmest: "var(--negative-dimmest)",
dimmer: "var(--negative-dimmer)",
default: "var(--negative-default)",
stronger: "var(--negative-stronger)",
strongest: "var(--negative-strongest)",
},
"red": {
dimmest: "var(--red-dimmest)",
dimmer: "var(--red-dimmer)",
default: "var(--red-default)",
stronger: "var(--red-stronger)",
strongest: "var(--red-strongest)",
},
"orange": {
dimmest: "var(--orange-dimmest)",
dimmer: "var(--orange-dimmer)",
default: "var(--orange-default)",
stronger: "var(--orange-stronger)",
strongest: "var(--orange-strongest)",
},
"yellow": {
dimmest: "var(--yellow-dimmest)",
dimmer: "var(--yellow-dimmer)",
default: "var(--yellow-default)",
stronger: "var(--yellow-stronger)",
strongest: "var(--yellow-strongest)",
},
"lime": {
dimmest: "var(--lime-dimmest)",
dimmer: "var(--lime-dimmer)",
default: "var(--lime-default)",
stronger: "var(--lime-stronger)",
strongest: "var(--lime-strongest)",
},
"green": {
dimmest: "var(--green-dimmest)",
dimmer: "var(--green-dimmer)",
default: "var(--green-default)",
stronger: "var(--green-stronger)",
strongest: "var(--green-strongest)",
},
"teal": {
dimmest: "var(--teal-dimmest)",
dimmer: "var(--teal-dimmer)",
default: "var(--teal-default)",
stronger: "var(--teal-stronger)",
strongest: "var(--teal-strongest)",
},
"blue": {
dimmest: "var(--blue-dimmest)",
dimmer: "var(--blue-dimmer)",
default: "var(--blue-default)",
stronger: "var(--blue-stronger)",
strongest: "var(--blue-strongest)",
},
"blurple": {
dimmest: "var(--blurple-dimmest)",
dimmer: "var(--blurple-dimmer)",
default: "var(--blurple-default)",
stronger: "var(--blurple-stronger)",
strongest: "var(--blurple-strongest)",
},
"purple": {
dimmest: "var(--purple-dimmest)",
dimmer: "var(--purple-dimmer)",
default: "var(--purple-default)",
stronger: "var(--purple-stronger)",
strongest: "var(--purple-strongest)",
},
"magenta": {
dimmest: "var(--magenta-dimmest)",
dimmer: "var(--magenta-dimmer)",
default: "var(--magenta-default)",
stronger: "var(--magenta-stronger)",
strongest: "var(--magenta-strongest)",
},
"pink": {
dimmest: "var(--pink-dimmest)",
dimmer: "var(--pink-dimmer)",
default: "var(--pink-default)",
stronger: "var(--pink-stronger)",
strongest: "var(--pink-strongest)",
},
"grey": {
dimmest: "var(--grey-dimmest)",
dimmer: "var(--grey-dimmer)",
default: "var(--grey-default)",
stronger: "var(--grey-stronger)",
strongest: "var(--grey-strongest)",
},
"brown": {
dimmest: "var(--brown-dimmest)",
dimmer: "var(--brown-dimmer)",
default: "var(--brown-default)",
stronger: "var(--brown-stronger)",
strongest: "var(--brown-strongest)",
},
},
transitionDuration: {
snappy: "var(--transition-duration-snappy)",
chill: "var(--transition-duration-chill)",
},
transitionTimingFunction: {
snappy: "var(--transition-timing-function-snappy)",
chill: "var(--transition-timing-function-chill)",
},
extend: {
transitionProperty: {
background: "background-color, background-position, background-size",
},
borderColor: {
"interactive": "var(--interactive-border)",
"interactive-hover": "var(--interactive-border--hover)",
},
borderWidth: {
default: "var(--border-width-default)",
},
ringWidth: {
default: "var(--border-width-default)",
},
},
},
corePlugins: {
// already included in tanukui
preflight: false,
},
plugins: [],
};
export default config;