-
Notifications
You must be signed in to change notification settings - Fork 6
/
tailwind.config.ts
235 lines (233 loc) · 4.66 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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
import { type Config } from "tailwindcss";
const colors = {
candlelight: {
DEFAULT: "#FACC15",
50: "#FEF3C9",
100: "#FDEFB5",
200: "#FDE68D",
300: "#FCDD65",
400: "#FBD53D",
500: "#FACC15",
600: "#D2A904",
700: "#9B7D03",
800: "#655102",
900: "#2E2501",
950: "#120F00",
},
froly: {
DEFAULT: "#F87171",
50: "#FFFFFF",
100: "#FFFFFF",
200: "#FEE6E6",
300: "#FCBFBF",
400: "#FA9898",
500: "#F87171",
600: "#F53C3C",
700: "#ED0C0C",
800: "#B80909",
900: "#820606",
950: "#670505",
},
"gray-chateau": {
DEFAULT: "#A9AEB4",
50: "#F5F6F7",
100: "#EAECED",
200: "#D5D7DA",
300: "#BFC3C7",
400: "#A9AEB4",
500: "#8B929A",
600: "#6E767E",
700: "#545A61",
800: "#3A3E43",
900: "#202225",
950: "#131416",
},
heliotrope: {
DEFAULT: "#A78BFA",
50: "#FFFFFF",
100: "#FFFFFF",
200: "#E2D9FD",
300: "#C5B2FC",
400: "#A78BFA",
500: "#7E55F8",
600: "#551FF5",
700: "#3C09D4",
800: "#2D079E",
900: "#1E0468",
950: "#16034D",
},
malibu: {
DEFAULT: "#60A5FA",
50: "#FFFFFF",
100: "#FEFFFF",
200: "#D7E8FE",
300: "#AFD2FC",
400: "#88BBFB",
500: "#60A5FA",
600: "#2A86F8",
700: "#0769E3",
800: "#0550AC",
900: "#043776",
950: "#032A5B",
},
"magenta-/-fuchsia": {
DEFAULT: "#FF00FF",
50: "#FFB8FF",
100: "#FFA3FF",
200: "#FF7AFF",
300: "#FF52FF",
400: "#FF29FF",
500: "#FF00FF",
600: "#C700C7",
700: "#8F008F",
800: "#570057",
900: "#1F001F",
950: "#030003",
},
"neon-carrot": {
DEFAULT: "#FB923C",
50: "#FFF7F0",
100: "#FEEBDC",
200: "#FDD5B4",
300: "#FDBF8C",
400: "#FCA864",
500: "#FB923C",
600: "#FA7305",
700: "#C35A04",
800: "#8C4103",
900: "#552702",
950: "#391A01",
},
shamrock: {
DEFAULT: "#4ADE80",
50: "#E5FAED",
100: "#D4F7E1",
200: "#B2F1C9",
300: "#8FEBB0",
400: "#6DE498",
500: "#4ADE80",
600: "#25CB62",
700: "#1C9B4B",
800: "#146C34",
900: "#0B3D1D",
950: "#072512",
},
};
export default {
content: [
"{routes,islands,components}/**/*.{ts,tsx}",
],
safelist: [
// these are dynamically assigned to kv value types
"bg-blue-200",
"bg-gray-200",
"bg-green-200",
"bg-indigo-200",
"bg-orange-200",
"bg-pink-200",
"bg-purple-200",
"bg-red-200",
"bg-yellow-200",
"text-blue-800",
"text-gray-800",
"text-green-800",
"text-indigo-800",
"text-orange-800",
"text-pink-800",
"text-purple-800",
"text-red-800",
"text-yellow-800",
"dark:bg-blue-900",
"dark:bg-gray-900",
"dark:bg-green-900",
"dark:bg-indigo-900",
"dark:bg-orange-900",
"dark:bg-pink-900",
"dark:bg-purple-900",
"dark:bg-red-900",
"dark:bg-yellow-900",
"dark:text-blue-300",
"dark:text-gray-300",
"dark:text-green-300",
"dark:text-indigo-300",
"dark:text-orange-300",
"dark:text-pink-300",
"dark:text-purple-300",
"dark:text-red-300",
"dark:text-yellow-300",
// these are dynamically assigned to some icons
"w-6",
"w-7",
"w-10",
"w-12",
"h-6",
"h-7",
"h-10",
"h-12",
],
theme: {
extend: {
colors: {
primary: colors.shamrock,
blue: colors.malibu,
red: colors.froly,
orange: colors["neon-carrot"],
yellow: colors.candlelight,
green: colors.shamrock,
purple: colors.heliotrope,
magenta: colors["magenta-/-fuchsia"],
gray: colors["gray-chateau"],
},
spacing: {
"108": "27rem",
},
},
fontFamily: {
body: [
"Nanum Gothic",
"ui-sans-serif",
"system-ui",
"-apple-system",
"system-ui",
"Segoe UI",
"Roboto",
"Helvetica Neue",
"Arial",
"Noto Sans",
"sans-serif",
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji",
],
sans: [
"Nanum Gothic",
"ui-sans-serif",
"system-ui",
"-apple-system",
"system-ui",
"Segoe UI",
"Roboto",
"Helvetica Neue",
"Arial",
"Noto Sans",
"sans-serif",
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji",
],
mono: [
"Fira Code",
"ui-monospace",
"SFMono-Regular",
"Menlo",
"Monaco",
"Consolas",
"Liberation Mono",
"Courier New",
"monospace",
],
},
},
} satisfies Config;