-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
288 lines (274 loc) · 5.61 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
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
/* eslint no-unused-vars:0, @typescript-eslint/no-unused-vars:0 */
/** @type {import('tailwindcss').Config} */
import type { Config } from 'tailwindcss';
// spacing
const base = 8;
const inc00 = 0;
const inc00a = base * 0.5; // 4
const inc01a = base; // 8
const inc02a = base * 2; // 16
const inc03a = base * 3; // 24
const inc04a = base * 4; // 32
const inc05a = base * 5; // 40
const inc06a = base * 6; // 48
const inc07a = base * 7; // 56
const inc08a = base * 8; // 64
const inc09a = base * 9; // 72
const inc00b = base * 0.25; // 4
const inc01b = base * 1.5; // 12
const inc02b = base * 2.5; // 20
const inc03b = base * 3.5; // 28
const inc04b = base * 4.5; // 36
const inc05b = base * 5.5; // 44
const inc06b = base * 6.5; // 52
// colors
const n100 = '#191919';
const n200 = '#1b1b1b';
const n300 = '#aaaaaa';
const n400 = '#ffffff';
// const n500 = '#550000';
// const n600 = '#660000';
const st0 = '#F69240';
const st1 = '#F8D49A';
const st2 = '#50A2FA';
const st3 = '#65E9DD';
const st4 = '#6F32D8';
const st5 = '#83FAAF';
const st6 = '#EB5E1D';
const st7 = '#F8F8F8';
const st8 = '#f4ede1';
const dp200 = st0; // average pastel orange
const dp300 = st1; // light pastel orange
const dp400 = st2; // average pastel blue
const dp500 = st3; // light cyan
const dp600 = st4; // dark purple
const dp700 = st5; // light pastel green
const dp800 = st6; // dark orange
const dp900 = st8; // soft pastel orange
const transparent = '#00000000';
const bg2 = dp900;
const secondary = dp200;
const primary = dp800;
const tertiary = dp800;
const dark1 = n100;
const dark2 = n200;
const passion = 'pink';
const passionLight = '#660000';
const passionSoft = '#880000';
const white = '#ffffff';
const light1 = dp300;
const light2 = dp200;
export const DreamPipColors = {
transparent,
logo: {
light: {
st0,
st1,
st2,
st3,
st4,
st5,
st6,
st7: dark1,
},
dark: {
st0,
st1,
st2,
st3,
st4,
st5,
st6,
st7,
},
},
card: {
white,
soft: bg2,
dark: dark1,
foggy: dark2,
},
icon: {
light: {
primary,
secondary,
bw: n300,
white: white,
bg: dark1,
},
dark: {
primary,
secondary,
bw: white,
white: white,
bg: light1,
},
},
primary: {
light: primary,
contrast: secondary,
dark: light2,
passion,
passionLight,
passionSoft,
soft: bg2,
green: dp700,
white,
},
secondary: {
light: secondary,
constrast: light1,
dark: light2,
passion,
passionLight,
passionSoft,
soft: bg2,
},
gradient: {
soft: {
light: {
from: bg2,
to: light1,
},
dark: {
from: dark1,
to: dark2,
},
},
},
soft: {
light: white,
constrast: light2,
bg: bg2,
dark: '#C9FFC4',
},
outro: {
light: '#B473CA',
dark: '#DEBDFF',
},
body: {
primary,
light: dark2,
dark: white,
passion,
},
inverse: {
light: '#F2F2F2',
dark: '#353535',
},
neutral: {
light: n200,
dark: n400,
},
};
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx,mdx}'],
important: 'body',
safelist: [
'bg-inverse-light',
'bg-inverse-dark',
'dark:bg-inverse-dark',
'col-span-6',
'col-start-1',
'md:col-span-4',
'md:col-start-3',
'overflow-scroll',
],
theme: {
colors: DreamPipColors,
fontSize: {
sm: '10px',
md: '14px',
base: '16px',
xl: '18px',
'1xl': '20px',
'2xl': '22px',
'3xl': '26px',
'4xl': '32px',
'5xl': '40px',
},
letterSpacing: {
a0: `${inc00a / 100}rem`,
a1: `${inc01a / 100}rem`,
a2: `${inc02a / 100}rem`,
a3: `${inc03a / 100}rem`,
a4: `${inc04a / 100}rem`,
a5: `${inc05a / 100}rem`,
a6: `${inc06a / 100}rem`,
b0: `${inc00b / 100}rem`,
b1: `${inc01b / 100}rem`,
b2: `${inc02b / 100}rem`,
b3: `${inc03b / 100}rem`,
b4: `${inc04b / 100}rem`,
b5: `${inc05b / 100}rem`,
b6: `${inc06b / 100}rem`,
},
lineHeight: {
a0: `${inc00a}px`,
a1: `${inc01a}px`,
a2: `${inc02a}px`,
a3: `${inc03a}px`,
a4: `${inc04a}px`,
a5: `${inc05a}px`,
a6: `${inc06a}px`,
b0: `${inc00b}px`,
b1: `${inc01b}px`,
b2: `${inc02b}px`,
b3: `${inc03b}px`,
b4: `${inc04b}px`,
b5: `${inc05b}px`,
b6: `${inc06b}px`,
},
spacing: {
0: '0px',
a0: `${inc00a}px`,
a1: `${inc01a}px`,
a2: `${inc02a}px`,
a3: `${inc03a}px`,
a4: `${inc04a}px`,
a5: `${inc05a}px`,
a6: `${inc06a}px`,
a7: `${inc07a}px`,
a8: `${inc08a}px`,
a9: `${inc09a}px`,
b0: `${inc00b}px`,
b1: `${inc01b}px`,
b2: `${inc02b}px`,
b3: `${inc03b}px`,
b4: `${inc04b}px`,
b5: `${inc05b}px`,
b6: `${inc06b}px`,
},
sizing: {
0: '0px',
a0: `${inc00a}px`,
a1: `${inc01a}px`,
a2: `${inc02a}px`,
a3: `${inc03a}px`,
a4: `${inc04a}px`,
a5: `${inc05a}px`,
a6: `${inc06a}px`,
a7: `${inc07a}px`,
a8: `${inc08a}px`,
a9: `${inc09a}px`,
b0: `${inc00b}px`,
b1: `${inc01b}px`,
b2: `${inc02b}px`,
b3: `${inc03b}px`,
b4: `${inc04b}px`,
b5: `${inc05b}px`,
b6: `${inc06b}px`,
},
aspectRatio: {
square: '1 / 1',
blog: '3 / 2',
tv: '4 / 3',
cinema: '16 / 9',
},
},
plugins: [],
corePlugins: {
preflight: false,
},
darkMode: ['variant', '.dark &:not(.dark .light *, .light .light *)'],
} satisfies Config;