-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
596 lines (550 loc) · 41.9 KB
/
index.html
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
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tailwind + CIELAB </title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/chroma-js/2.4.2/chroma.min.js"></script>
<script src="https://cdn.tailwindcss.com"></script>
<script>
const chroma = window.chroma;
const labred = chroma.lab(50, 100, 100);
const labpink = chroma.lab(50, 100, 0);
const labyellow = chroma.lab(50, 0, 100);
const labgreen = chroma.lab(50, -100, 100);
const labsky = chroma.lab(50, -100, -100);
const labblue = chroma.lab(50, 0, -100);
const labpurple = chroma.lab(50, 100, -100);
const labgray = chroma.lab(50, 0, 0);
const tailwindColors = (chromaObject) => {
return {
50: chromaObject.brighten(2.5).hex(),
100: chromaObject.brighten(2.0).hex(),
200: chromaObject.brighten(1.5).hex(),
300: chromaObject.brighten(1.0).hex(),
400: chromaObject.brighten(0.5).hex(),
500: chromaObject.brighten(0.0).hex(),
600: chromaObject.brighten(-0.5).hex(),
700: chromaObject.brighten(-1.0).hex(),
800: chromaObject.brighten(-1.5).hex(),
900: chromaObject.brighten(-2.0).hex(),
}
}
const tailwindLinearGradientColors = (colorName) => {
const colorObjects = {
labred,
labpink,
labyellow,
labgreen,
labsky,
labblue,
labpurple,
labgray,
}
const results = {}
results[colorName + 'lg-50'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].brighten(2.5).hex() + ', ' + colorObjects[colorName].brighten(2.0).hex() + ')'
results[colorName + 'lg-100'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].brighten(2.0).hex() + ', ' + colorObjects[colorName].brighten(1.5).hex() + ')'
results[colorName + 'lg-200'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].brighten(1.5).hex() + ', ' + colorObjects[colorName].brighten(1.0).hex() + ')'
results[colorName + 'lg-300'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].brighten(1.0).hex() + ', ' + colorObjects[colorName].brighten(0.5).hex() + ')'
results[colorName + 'lg-400'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].brighten(0.5).hex() + ', ' + colorObjects[colorName].hex() + ')'
results[colorName + 'lg-500'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].hex() + ', ' + colorObjects[colorName].darken(0.5).hex() + ')'
results[colorName + 'lg-600'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].darken(0.5).hex() + ', ' + colorObjects[colorName].darken(1.0).hex() + ')'
results[colorName + 'lg-700'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].darken(1.0).hex() + ', ' + colorObjects[colorName].darken(1.5).hex() + ')'
results[colorName + 'lg-800'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].darken(1.5).hex() + ', ' + colorObjects[colorName].darken(2.0).hex() + ')'
results[colorName + 'lg-900'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].darken(2.0).hex() + ', ' + colorObjects[colorName].darken(2.5).hex() + ')'
return results;
}
tailwind.config = {
theme: {
extend: {
colors: {
labred: tailwindColors(labred),
labpink: tailwindColors(labpink),
labyellow: tailwindColors(labyellow),
labgreen: tailwindColors(labgreen),
labsky: tailwindColors(labsky),
labblue: tailwindColors(labblue),
labpurple: tailwindColors(labpurple),
labgray: tailwindColors(labgray)
},
backgroundImage: {
...tailwindLinearGradientColors('labred'),
...tailwindLinearGradientColors('labpink'),
...tailwindLinearGradientColors('labyellow'),
...tailwindLinearGradientColors('labgreen'),
...tailwindLinearGradientColors('labsky'),
...tailwindLinearGradientColors('labblue'),
...tailwindLinearGradientColors('labpurple'),
...tailwindLinearGradientColors('labgray'),
}
}
}
}
</script>
</head>
<body>
<h1 class="text-3xl p-4 text-labgray-900">Tailwind + CIELAB </h1>
<div class="flex">
<!-- red -->
<div class="flex flex-col space-y-2 p-4">
<button class="bg-labred-50 hover:bg-labred-100 text-white py-2 px-4 rounded">Red: 50</button>
<button class="bg-labred-100 hover:bg-labred-200 text-white py-2 px-4 rounded">Red: 100</button>
<button class="bg-labred-200 hover:bg-labred-300 text-white py-2 px-4 rounded">Red: 200</button>
<button class="bg-labred-300 hover:bg-labred-400 text-white py-2 px-4 rounded">Red: 300</button>
<button class="bg-labred-400 hover:bg-labred-500 text-white py-2 px-4 rounded">Red: 400</button>
<button class="bg-labred-500 hover:bg-labred-600 text-white py-2 px-4 rounded">Red: 500</button>
<button class="bg-labred-600 hover:bg-labred-500 text-white py-2 px-4 rounded">Red: 600</button>
<button class="bg-labred-700 hover:bg-labred-600 text-white py-2 px-4 rounded">Red: 700</button>
<button class="bg-labred-800 hover:bg-labred-700 text-white py-2 px-4 rounded">Red: 800</button>
<button class="bg-labred-900 hover:bg-labred-800 text-white py-2 px-4 rounded">Red: 900</button>
</div>
<!-- pink -->
<div class="flex flex-col space-y-2 p-4">
<button class="bg-labpink-50 hover:bg-labpink-100 text-white py-2 px-4 rounded">Pink: 50</button>
<button class="bg-labpink-100 hover:bg-labpink-200 text-white py-2 px-4 rounded">Pink: 100</button>
<button class="bg-labpink-200 hover:bg-labpink-300 text-white py-2 px-4 rounded">Pink: 200</button>
<button class="bg-labpink-300 hover:bg-labpink-400 text-white py-2 px-4 rounded">Pink: 300</button>
<button class="bg-labpink-400 hover:bg-labpink-500 text-white py-2 px-4 rounded">Pink: 400</button>
<button class="bg-labpink-500 hover:bg-labpink-600 text-white py-2 px-4 rounded">Pink: 500</button>
<button class="bg-labpink-600 hover:bg-labpink-500 text-white py-2 px-4 rounded">Pink: 600</button>
<button class="bg-labpink-700 hover:bg-labpink-600 text-white py-2 px-4 rounded">Pink: 700</button>
<button class="bg-labpink-800 hover:bg-labpink-700 text-white py-2 px-4 rounded">Pink: 800</button>
<button class="bg-labpink-900 hover:bg-labpink-800 text-white py-2 px-4 rounded">Pink: 900</button>
</div>
<!-- yellow -->
<div class="flex flex-col space-y-2 p-4">
<button class="bg-labyellow-50 hover:bg-labyellow-100 text-white py-2 px-4 rounded">Yello: 50</button>
<button class="bg-labyellow-100 hover:bg-labyellow-200 text-white py-2 px-4 rounded">Yello: 100</button>
<button class="bg-labyellow-200 hover:bg-labyellow-300 text-white py-2 px-4 rounded">Yello: 200</button>
<button class="bg-labyellow-300 hover:bg-labyellow-400 text-white py-2 px-4 rounded">Yello: 300</button>
<button class="bg-labyellow-400 hover:bg-labyellow-500 text-white py-2 px-4 rounded">Yello: 400</button>
<button class="bg-labyellow-500 hover:bg-labyellow-600 text-white py-2 px-4 rounded">Yello: 500</button>
<button class="bg-labyellow-600 hover:bg-labyellow-500 text-white py-2 px-4 rounded">Yello: 600</button>
<button class="bg-labyellow-700 hover:bg-labyellow-600 text-white py-2 px-4 rounded">Yello: 700</button>
<button class="bg-labyellow-800 hover:bg-labyellow-700 text-white py-2 px-4 rounded">Yello: 800</button>
<button class="bg-labyellow-900 hover:bg-labyellow-800 text-white py-2 px-4 rounded">Yello: 900</button>
</div>
<!-- green -->
<div class="flex flex-col space-y-2 p-4">
<button class="bg-labgreen-50 hover:bg-labgreen-100 text-white py-2 px-4 rounded">Green: 50</button>
<button class="bg-labgreen-100 hover:bg-labgreen-200 text-white py-2 px-4 rounded">Green: 100</button>
<button class="bg-labgreen-200 hover:bg-labgreen-300 text-white py-2 px-4 rounded">Green: 200</button>
<button class="bg-labgreen-300 hover:bg-labgreen-400 text-white py-2 px-4 rounded">Green: 300</button>
<button class="bg-labgreen-400 hover:bg-labgreen-500 text-white py-2 px-4 rounded">Green: 400</button>
<button class="bg-labgreen-500 hover:bg-labgreen-600 text-white py-2 px-4 rounded">Green: 500</button>
<button class="bg-labgreen-600 hover:bg-labgreen-500 text-white py-2 px-4 rounded">Green: 600</button>
<button class="bg-labgreen-700 hover:bg-labgreen-600 text-white py-2 px-4 rounded">Green: 700</button>
<button class="bg-labgreen-800 hover:bg-labgreen-700 text-white py-2 px-4 rounded">Green: 800</button>
<button class="bg-labgreen-900 hover:bg-labgreen-800 text-white py-2 px-4 rounded">Green: 900</button>
</div>
<!-- sky -->
<div class="flex flex-col space-y-2 p-4">
<button class="bg-labsky-50 hover:bg-labsky-100 text-white py-2 px-4 rounded">Sky: 50</button>
<button class="bg-labsky-100 hover:bg-labsky-200 text-white py-2 px-4 rounded">Sky: 100</button>
<button class="bg-labsky-200 hover:bg-labsky-300 text-white py-2 px-4 rounded">Sky: 200</button>
<button class="bg-labsky-300 hover:bg-labsky-400 text-white py-2 px-4 rounded">Sky: 300</button>
<button class="bg-labsky-400 hover:bg-labsky-500 text-white py-2 px-4 rounded">Sky: 400</button>
<button class="bg-labsky-500 hover:bg-labsky-600 text-white py-2 px-4 rounded">Sky: 500</button>
<button class="bg-labsky-600 hover:bg-labsky-500 text-white py-2 px-4 rounded">Sky: 600</button>
<button class="bg-labsky-700 hover:bg-labsky-600 text-white py-2 px-4 rounded">Sky: 700</button>
<button class="bg-labsky-800 hover:bg-labsky-700 text-white py-2 px-4 rounded">Sky: 800</button>
<button class="bg-labsky-900 hover:bg-labsky-800 text-white py-2 px-4 rounded">Sky: 900</button>
</div>
<!-- blue -->
<div class="flex flex-col space-y-2 p-4">
<button class="bg-labblue-50 hover:bg-labblue-100 text-white py-2 px-4 rounded">Blue: 50</button>
<button class="bg-labblue-100 hover:bg-labblue-200 text-white py-2 px-4 rounded">Blue: 100</button>
<button class="bg-labblue-200 hover:bg-labblue-300 text-white py-2 px-4 rounded">Blue: 200</button>
<button class="bg-labblue-300 hover:bg-labblue-400 text-white py-2 px-4 rounded">Blue: 300</button>
<button class="bg-labblue-400 hover:bg-labblue-500 text-white py-2 px-4 rounded">Blue: 400</button>
<button class="bg-labblue-500 hover:bg-labblue-600 text-white py-2 px-4 rounded">Blue: 500</button>
<button class="bg-labblue-600 hover:bg-labblue-500 text-white py-2 px-4 rounded">Blue: 600</button>
<button class="bg-labblue-700 hover:bg-labblue-600 text-white py-2 px-4 rounded">Blue: 700</button>
<button class="bg-labblue-800 hover:bg-labblue-700 text-white py-2 px-4 rounded">Blue: 800</button>
<button class="bg-labblue-900 hover:bg-labblue-800 text-white py-2 px-4 rounded">Blue: 900</button>
</div>
<!-- purple -->
<div class="flex flex-col space-y-2 p-4">
<button class="bg-labpurple-50 hover:bg-labpurple-100 text-white py-2 px-4 rounded">Purple: 50</button>
<button class="bg-labpurple-100 hover:bg-labpurple-200 text-white py-2 px-4 rounded">Purple: 100</button>
<button class="bg-labpurple-200 hover:bg-labpurple-300 text-white py-2 px-4 rounded">Purple: 200</button>
<button class="bg-labpurple-300 hover:bg-labpurple-400 text-white py-2 px-4 rounded">Purple: 300</button>
<button class="bg-labpurple-400 hover:bg-labpurple-500 text-white py-2 px-4 rounded">Purple: 400</button>
<button class="bg-labpurple-500 hover:bg-labpurple-600 text-white py-2 px-4 rounded">Purple: 500</button>
<button class="bg-labpurple-600 hover:bg-labpurple-500 text-white py-2 px-4 rounded">Purple: 600</button>
<button class="bg-labpurple-700 hover:bg-labpurple-600 text-white py-2 px-4 rounded">Purple: 700</button>
<button class="bg-labpurple-800 hover:bg-labpurple-700 text-white py-2 px-4 rounded">Purple: 800</button>
<button class="bg-labpurple-900 hover:bg-labpurple-800 text-white py-2 px-4 rounded">Purple: 900</button>
</div>
<!-- gray -->
<div class="flex flex-col space-y-2 p-4">
<button class="bg-labgray-50 hover:bg-labgray-100 text-white py-2 px-4 rounded">Gray: 50</button>
<button class="bg-labgray-100 hover:bg-labgray-200 text-white py-2 px-4 rounded">Gray: 100</button>
<button class="bg-labgray-200 hover:bg-labgray-300 text-white py-2 px-4 rounded">Gray: 200</button>
<button class="bg-labgray-300 hover:bg-labgray-400 text-white py-2 px-4 rounded">Gray: 300</button>
<button class="bg-labgray-400 hover:bg-labgray-500 text-white py-2 px-4 rounded">Gray: 400</button>
<button class="bg-labgray-500 hover:bg-labgray-600 text-white py-2 px-4 rounded">Gray: 500</button>
<button class="bg-labgray-600 hover:bg-labgray-500 text-white py-2 px-4 rounded">Gray: 600</button>
<button class="bg-labgray-700 hover:bg-labgray-600 text-white py-2 px-4 rounded">Gray: 700</button>
<button class="bg-labgray-800 hover:bg-labgray-700 text-white py-2 px-4 rounded">Gray: 800</button>
<button class="bg-labgray-900 hover:bg-labgray-800 text-white py-2 px-4 rounded">Gray: 900</button>
</div>
</div>
<div class="flex">
<!-- red -->
<div class="flex flex-col space-y-2 p-4">
<button class="bg-labredlg-50 hover:bg-labredlg-100 text-white py-2 px-4 rounded">Red: 50</button>
<button class="bg-labredlg-100 hover:bg-labredlg-200 text-white py-2 px-4 rounded">Red: 100</button>
<button class="bg-labredlg-200 hover:bg-labredlg-300 text-white py-2 px-4 rounded">Red: 200</button>
<button class="bg-labredlg-300 hover:bg-labredlg-400 text-white py-2 px-4 rounded">Red: 300</button>
<button class="bg-labredlg-400 hover:bg-labredlg-500 text-white py-2 px-4 rounded">Red: 400</button>
<button class="bg-labredlg-500 hover:bg-labredlg-600 text-white py-2 px-4 rounded">Red: 500</button>
<button class="bg-labredlg-600 hover:bg-labredlg-500 text-white py-2 px-4 rounded">Red: 600</button>
<button class="bg-labredlg-700 hover:bg-labredlg-600 text-white py-2 px-4 rounded">Red: 700</button>
<button class="bg-labredlg-800 hover:bg-labredlg-700 text-white py-2 px-4 rounded">Red: 800</button>
<button class="bg-labredlg-900 hover:bg-labredlg-800 text-white py-2 px-4 rounded">Red: 900</button>
</div>
<!-- pink -->
<div class="flex flex-col space-y-2 p-4">
<button class="bg-labpinklg-50 hover:bg-labpinklg-100 text-white py-2 px-4 rounded">Pink: 50</button>
<button class="bg-labpinklg-100 hover:bg-labpinklg-200 text-white py-2 px-4 rounded">Pink: 100</button>
<button class="bg-labpinklg-200 hover:bg-labpinklg-300 text-white py-2 px-4 rounded">Pink: 200</button>
<button class="bg-labpinklg-300 hover:bg-labpinklg-400 text-white py-2 px-4 rounded">Pink: 300</button>
<button class="bg-labpinklg-400 hover:bg-labpinklg-500 text-white py-2 px-4 rounded">Pink: 400</button>
<button class="bg-labpinklg-500 hover:bg-labpinklg-600 text-white py-2 px-4 rounded">Pink: 500</button>
<button class="bg-labpinklg-600 hover:bg-labpinklg-500 text-white py-2 px-4 rounded">Pink: 600</button>
<button class="bg-labpinklg-700 hover:bg-labpinklg-600 text-white py-2 px-4 rounded">Pink: 700</button>
<button class="bg-labpinklg-800 hover:bg-labpinklg-700 text-white py-2 px-4 rounded">Pink: 800</button>
<button class="bg-labpinklg-900 hover:bg-labpinklg-800 text-white py-2 px-4 rounded">Pink: 900</button>
</div>
<!-- yellow -->
<div class="flex flex-col space-y-2 p-4">
<button class="bg-labyellowlg-50 hover:bg-labyellowlg-100 text-white py-2 px-4 rounded">Yello: 50</button>
<button class="bg-labyellowlg-100 hover:bg-labyellowlg-200 text-white py-2 px-4 rounded">Yello: 100</button>
<button class="bg-labyellowlg-200 hover:bg-labyellowlg-300 text-white py-2 px-4 rounded">Yello: 200</button>
<button class="bg-labyellowlg-300 hover:bg-labyellowlg-400 text-white py-2 px-4 rounded">Yello: 300</button>
<button class="bg-labyellowlg-400 hover:bg-labyellowlg-500 text-white py-2 px-4 rounded">Yello: 400</button>
<button class="bg-labyellowlg-500 hover:bg-labyellowlg-600 text-white py-2 px-4 rounded">Yello: 500</button>
<button class="bg-labyellowlg-600 hover:bg-labyellowlg-500 text-white py-2 px-4 rounded">Yello: 600</button>
<button class="bg-labyellowlg-700 hover:bg-labyellowlg-600 text-white py-2 px-4 rounded">Yello: 700</button>
<button class="bg-labyellowlg-800 hover:bg-labyellowlg-700 text-white py-2 px-4 rounded">Yello: 800</button>
<button class="bg-labyellowlg-900 hover:bg-labyellowlg-800 text-white py-2 px-4 rounded">Yello: 900</button>
</div>
<!-- green -->
<div class="flex flex-col space-y-2 p-4">
<button class="bg-labgreenlg-50 hover:bg-labgreenlg-100 text-white py-2 px-4 rounded">Green: 50</button>
<button class="bg-labgreenlg-100 hover:bg-labgreenlg-200 text-white py-2 px-4 rounded">Green: 100</button>
<button class="bg-labgreenlg-200 hover:bg-labgreenlg-300 text-white py-2 px-4 rounded">Green: 200</button>
<button class="bg-labgreenlg-300 hover:bg-labgreenlg-400 text-white py-2 px-4 rounded">Green: 300</button>
<button class="bg-labgreenlg-400 hover:bg-labgreenlg-500 text-white py-2 px-4 rounded">Green: 400</button>
<button class="bg-labgreenlg-500 hover:bg-labgreenlg-600 text-white py-2 px-4 rounded">Green: 500</button>
<button class="bg-labgreenlg-600 hover:bg-labgreenlg-500 text-white py-2 px-4 rounded">Green: 600</button>
<button class="bg-labgreenlg-700 hover:bg-labgreenlg-600 text-white py-2 px-4 rounded">Green: 700</button>
<button class="bg-labgreenlg-800 hover:bg-labgreenlg-700 text-white py-2 px-4 rounded">Green: 800</button>
<button class="bg-labgreenlg-900 hover:bg-labgreenlg-800 text-white py-2 px-4 rounded">Green: 900</button>
</div>
<!-- sky -->
<div class="flex flex-col space-y-2 p-4">
<button class="bg-labskylg-50 hover:bg-labskylg-100 text-white py-2 px-4 rounded">Sky: 50</button>
<button class="bg-labskylg-100 hover:bg-labskylg-200 text-white py-2 px-4 rounded">Sky: 100</button>
<button class="bg-labskylg-200 hover:bg-labskylg-300 text-white py-2 px-4 rounded">Sky: 200</button>
<button class="bg-labskylg-300 hover:bg-labskylg-400 text-white py-2 px-4 rounded">Sky: 300</button>
<button class="bg-labskylg-400 hover:bg-labskylg-500 text-white py-2 px-4 rounded">Sky: 400</button>
<button class="bg-labskylg-500 hover:bg-labskylg-600 text-white py-2 px-4 rounded">Sky: 500</button>
<button class="bg-labskylg-600 hover:bg-labskylg-500 text-white py-2 px-4 rounded">Sky: 600</button>
<button class="bg-labskylg-700 hover:bg-labskylg-600 text-white py-2 px-4 rounded">Sky: 700</button>
<button class="bg-labskylg-800 hover:bg-labskylg-700 text-white py-2 px-4 rounded">Sky: 800</button>
<button class="bg-labskylg-900 hover:bg-labskylg-800 text-white py-2 px-4 rounded">Sky: 900</button>
</div>
<!-- blue -->
<div class="flex flex-col space-y-2 p-4">
<button class="bg-labbluelg-50 hover:bg-labbluelg-100 text-white py-2 px-4 rounded">Blue: 50</button>
<button class="bg-labbluelg-100 hover:bg-labbluelg-200 text-white py-2 px-4 rounded">Blue: 100</button>
<button class="bg-labbluelg-200 hover:bg-labbluelg-300 text-white py-2 px-4 rounded">Blue: 200</button>
<button class="bg-labbluelg-300 hover:bg-labbluelg-400 text-white py-2 px-4 rounded">Blue: 300</button>
<button class="bg-labbluelg-400 hover:bg-labbluelg-500 text-white py-2 px-4 rounded">Blue: 400</button>
<button class="bg-labbluelg-500 hover:bg-labbluelg-600 text-white py-2 px-4 rounded">Blue: 500</button>
<button class="bg-labbluelg-600 hover:bg-labbluelg-500 text-white py-2 px-4 rounded">Blue: 600</button>
<button class="bg-labbluelg-700 hover:bg-labbluelg-600 text-white py-2 px-4 rounded">Blue: 700</button>
<button class="bg-labbluelg-800 hover:bg-labbluelg-700 text-white py-2 px-4 rounded">Blue: 800</button>
<button class="bg-labbluelg-900 hover:bg-labbluelg-800 text-white py-2 px-4 rounded">Blue: 900</button>
</div>
<!-- purple -->
<div class="flex flex-col space-y-2 p-4">
<button class="bg-labpurplelg-50 hover:bg-labpurplelg-100 text-white py-2 px-4 rounded">Purple: 50</button>
<button class="bg-labpurplelg-100 hover:bg-labpurplelg-200 text-white py-2 px-4 rounded">Purple: 100</button>
<button class="bg-labpurplelg-200 hover:bg-labpurplelg-300 text-white py-2 px-4 rounded">Purple: 200</button>
<button class="bg-labpurplelg-300 hover:bg-labpurplelg-400 text-white py-2 px-4 rounded">Purple: 300</button>
<button class="bg-labpurplelg-400 hover:bg-labpurplelg-500 text-white py-2 px-4 rounded">Purple: 400</button>
<button class="bg-labpurplelg-500 hover:bg-labpurplelg-600 text-white py-2 px-4 rounded">Purple: 500</button>
<button class="bg-labpurplelg-600 hover:bg-labpurplelg-500 text-white py-2 px-4 rounded">Purple: 600</button>
<button class="bg-labpurplelg-700 hover:bg-labpurplelg-600 text-white py-2 px-4 rounded">Purple: 700</button>
<button class="bg-labpurplelg-800 hover:bg-labpurplelg-700 text-white py-2 px-4 rounded">Purple: 800</button>
<button class="bg-labpurplelg-900 hover:bg-labpurplelg-800 text-white py-2 px-4 rounded">Purple: 900</button>
</div>
<!-- gray -->
<div class="flex flex-col space-y-2 p-4">
<button class="bg-labgraylg-50 hover:bg-labgraylg-100 text-white py-2 px-4 rounded">Gray: 50</button>
<button class="bg-labgraylg-100 hover:bg-labgraylg-200 text-white py-2 px-4 rounded">Gray: 100</button>
<button class="bg-labgraylg-200 hover:bg-labgraylg-300 text-white py-2 px-4 rounded">Gray: 200</button>
<button class="bg-labgraylg-300 hover:bg-labgraylg-400 text-white py-2 px-4 rounded">Gray: 300</button>
<button class="bg-labgraylg-400 hover:bg-labgraylg-500 text-white py-2 px-4 rounded">Gray: 400</button>
<button class="bg-labgraylg-500 hover:bg-labgraylg-600 text-white py-2 px-4 rounded">Gray: 500</button>
<button class="bg-labgraylg-600 hover:bg-labgraylg-500 text-white py-2 px-4 rounded">Gray: 600</button>
<button class="bg-labgraylg-700 hover:bg-labgraylg-600 text-white py-2 px-4 rounded">Gray: 700</button>
<button class="bg-labgraylg-800 hover:bg-labgraylg-700 text-white py-2 px-4 rounded">Gray: 800</button>
<button class="bg-labgraylg-900 hover:bg-labgraylg-800 text-white py-2 px-4 rounded">Gray: 900</button>
</div>
</div>
<div class="flex">
<!-- red -->
<div class="flex flex-col space-y-2 p-4">
<button class="border border-labred-50 text-labred-50 hover:text-white hover:bg-labred-50 py-2 px-4 rounded">Red: 50</button>
<button class="border border-labred-100 text-labred-100 hover:text-white hover:bg-labred-100 py-2 px-4 rounded">Red: 100</button>
<button class="border border-labred-200 text-labred-200 hover:text-white hover:bg-labred-200 py-2 px-4 rounded">Red: 200</button>
<button class="border border-labred-300 text-labred-300 hover:text-white hover:bg-labred-300 py-2 px-4 rounded">Red: 300</button>
<button class="border border-labred-400 text-labred-400 hover:text-white hover:bg-labred-400 py-2 px-4 rounded">Red: 400</button>
<button class="border border-labred-500 text-labred-500 hover:text-white hover:bg-labred-500 py-2 px-4 rounded">Red: 500</button>
<button class="border border-labred-600 text-labred-600 hover:text-white hover:bg-labred-600 py-2 px-4 rounded">Red: 600</button>
<button class="border border-labred-700 text-labred-700 hover:text-white hover:bg-labred-700 py-2 px-4 rounded">Red: 700</button>
<button class="border border-labred-800 text-labred-800 hover:text-white hover:bg-labred-800 py-2 px-4 rounded">Red: 800</button>
<button class="border border-labred-900 text-labred-900 hover:text-white hover:bg-labred-900 py-2 px-4 rounded">Red: 900</button>
</div>
<!-- pink -->
<div class="flex flex-col space-y-2 p-4">
<button class="border border-labpink-50 text-labpink-50 hover:text-white hover:bg-labpink-50 py-2 px-4 rounded">Pink: 50</button>
<button class="border border-labpink-100 text-labpink-100 hover:text-white hover:bg-labpink-100 py-2 px-4 rounded">Pink: 100</button>
<button class="border border-labpink-200 text-labpink-200 hover:text-white hover:bg-labpink-200 py-2 px-4 rounded">Pink: 200</button>
<button class="border border-labpink-300 text-labpink-300 hover:text-white hover:bg-labpink-300 py-2 px-4 rounded">Pink: 300</button>
<button class="border border-labpink-400 text-labpink-400 hover:text-white hover:bg-labpink-400 py-2 px-4 rounded">Pink: 400</button>
<button class="border border-labpink-500 text-labpink-500 hover:text-white hover:bg-labpink-500 py-2 px-4 rounded">Pink: 500</button>
<button class="border border-labpink-600 text-labpink-600 hover:text-white hover:bg-labpink-600 py-2 px-4 rounded">Pink: 600</button>
<button class="border border-labpink-700 text-labpink-700 hover:text-white hover:bg-labpink-700 py-2 px-4 rounded">Pink: 700</button>
<button class="border border-labpink-800 text-labpink-800 hover:text-white hover:bg-labpink-800 py-2 px-4 rounded">Pink: 800</button>
<button class="border border-labpink-900 text-labpink-900 hover:text-white hover:bg-labpink-900 py-2 px-4 rounded">Pink: 900</button>
</div>
<!-- yellow -->
<div class="flex flex-col space-y-2 p-4">
<button class="border border-labyellow-50 text-labyellow-50 hover:text-white hover:bg-labyellow-50 py-2 px-4 rounded">Yellow: 50</button>
<button class="border border-labyellow-100 text-labyellow-100 hover:text-white hover:bg-labyellow-100 py-2 px-4 rounded">Yellow: 100</button>
<button class="border border-labyellow-200 text-labyellow-200 hover:text-white hover:bg-labyellow-200 py-2 px-4 rounded">Yellow: 200</button>
<button class="border border-labyellow-300 text-labyellow-300 hover:text-white hover:bg-labyellow-300 py-2 px-4 rounded">Yellow: 300</button>
<button class="border border-labyellow-400 text-labyellow-400 hover:text-white hover:bg-labyellow-400 py-2 px-4 rounded">Yellow: 400</button>
<button class="border border-labyellow-500 text-labyellow-500 hover:text-white hover:bg-labyellow-500 py-2 px-4 rounded">Yellow: 500</button>
<button class="border border-labyellow-600 text-labyellow-600 hover:text-white hover:bg-labyellow-600 py-2 px-4 rounded">Yellow: 600</button>
<button class="border border-labyellow-700 text-labyellow-700 hover:text-white hover:bg-labyellow-700 py-2 px-4 rounded">Yellow: 700</button>
<button class="border border-labyellow-800 text-labyellow-800 hover:text-white hover:bg-labyellow-800 py-2 px-4 rounded">Yellow: 800</button>
<button class="border border-labyellow-900 text-labyellow-900 hover:text-white hover:bg-labyellow-900 py-2 px-4 rounded">Yellow: 900</button>
</div>
<!-- green -->
<div class="flex flex-col space-y-2 p-4">
<button class="border border-labgreen-50 text-labgreen-50 hover:text-white hover:bg-labgreen-50 py-2 px-4 rounded">Green: 50</button>
<button class="border border-labgreen-100 text-labgreen-100 hover:text-white hover:bg-labgreen-100 py-2 px-4 rounded">Green: 100</button>
<button class="border border-labgreen-200 text-labgreen-200 hover:text-white hover:bg-labgreen-200 py-2 px-4 rounded">Green: 200</button>
<button class="border border-labgreen-300 text-labgreen-300 hover:text-white hover:bg-labgreen-300 py-2 px-4 rounded">Green: 300</button>
<button class="border border-labgreen-400 text-labgreen-400 hover:text-white hover:bg-labgreen-400 py-2 px-4 rounded">Green: 400</button>
<button class="border border-labgreen-500 text-labgreen-500 hover:text-white hover:bg-labgreen-500 py-2 px-4 rounded">Green: 500</button>
<button class="border border-labgreen-600 text-labgreen-600 hover:text-white hover:bg-labgreen-600 py-2 px-4 rounded">Green: 600</button>
<button class="border border-labgreen-700 text-labgreen-700 hover:text-white hover:bg-labgreen-700 py-2 px-4 rounded">Green: 700</button>
<button class="border border-labgreen-800 text-labgreen-800 hover:text-white hover:bg-labgreen-800 py-2 px-4 rounded">Green: 800</button>
<button class="border border-labgreen-900 text-labgreen-900 hover:text-white hover:bg-labgreen-900 py-2 px-4 rounded">Green: 900</button>
</div>
<!-- sky -->
<div class="flex flex-col space-y-2 p-4">
<button class="border border-labsky-50 text-labsky-50 hover:text-white hover:bg-labsky-50 py-2 px-4 rounded">Sky: 50</button>
<button class="border border-labsky-100 text-labsky-100 hover:text-white hover:bg-labsky-100 py-2 px-4 rounded">Sky: 100</button>
<button class="border border-labsky-200 text-labsky-200 hover:text-white hover:bg-labsky-200 py-2 px-4 rounded">Sky: 200</button>
<button class="border border-labsky-300 text-labsky-300 hover:text-white hover:bg-labsky-300 py-2 px-4 rounded">Sky: 300</button>
<button class="border border-labsky-400 text-labsky-400 hover:text-white hover:bg-labsky-400 py-2 px-4 rounded">Sky: 400</button>
<button class="border border-labsky-500 text-labsky-500 hover:text-white hover:bg-labsky-500 py-2 px-4 rounded">Sky: 500</button>
<button class="border border-labsky-600 text-labsky-600 hover:text-white hover:bg-labsky-600 py-2 px-4 rounded">Sky: 600</button>
<button class="border border-labsky-700 text-labsky-700 hover:text-white hover:bg-labsky-700 py-2 px-4 rounded">Sky: 700</button>
<button class="border border-labsky-800 text-labsky-800 hover:text-white hover:bg-labsky-800 py-2 px-4 rounded">Sky: 800</button>
<button class="border border-labsky-900 text-labsky-900 hover:text-white hover:bg-labsky-900 py-2 px-4 rounded">Sky: 900</button>
</div>
<!-- blue -->
<div class="flex flex-col space-y-2 p-4">
<button class="border border-labblue-50 text-labblue-50 hover:text-white hover:bg-labblue-50 py-2 px-4 rounded">Blue: 50</button>
<button class="border border-labblue-100 text-labblue-100 hover:text-white hover:bg-labblue-100 py-2 px-4 rounded">Blue: 100</button>
<button class="border border-labblue-200 text-labblue-200 hover:text-white hover:bg-labblue-200 py-2 px-4 rounded">Blue: 200</button>
<button class="border border-labblue-300 text-labblue-300 hover:text-white hover:bg-labblue-300 py-2 px-4 rounded">Blue: 300</button>
<button class="border border-labblue-400 text-labblue-400 hover:text-white hover:bg-labblue-400 py-2 px-4 rounded">Blue: 400</button>
<button class="border border-labblue-500 text-labblue-500 hover:text-white hover:bg-labblue-500 py-2 px-4 rounded">Blue: 500</button>
<button class="border border-labblue-600 text-labblue-600 hover:text-white hover:bg-labblue-600 py-2 px-4 rounded">Blue: 600</button>
<button class="border border-labblue-700 text-labblue-700 hover:text-white hover:bg-labblue-700 py-2 px-4 rounded">Blue: 700</button>
<button class="border border-labblue-800 text-labblue-800 hover:text-white hover:bg-labblue-800 py-2 px-4 rounded">Blue: 800</button>
<button class="border border-labblue-900 text-labblue-900 hover:text-white hover:bg-labblue-900 py-2 px-4 rounded">Blue: 900</button>
</div>
<!-- purple -->
<div class="flex flex-col space-y-2 p-4">
<button class="border border-labpurple-50 text-labpurple-50 hover:text-white hover:bg-labpurple-50 py-2 px-4 rounded">Purple: 50</button>
<button class="border border-labpurple-100 text-labpurple-100 hover:text-white hover:bg-labpurple-100 py-2 px-4 rounded">Purple: 100</button>
<button class="border border-labpurple-200 text-labpurple-200 hover:text-white hover:bg-labpurple-200 py-2 px-4 rounded">Purple: 200</button>
<button class="border border-labpurple-300 text-labpurple-300 hover:text-white hover:bg-labpurple-300 py-2 px-4 rounded">Purple: 300</button>
<button class="border border-labpurple-400 text-labpurple-400 hover:text-white hover:bg-labpurple-400 py-2 px-4 rounded">Purple: 400</button>
<button class="border border-labpurple-500 text-labpurple-500 hover:text-white hover:bg-labpurple-500 py-2 px-4 rounded">Purple: 500</button>
<button class="border border-labpurple-600 text-labpurple-600 hover:text-white hover:bg-labpurple-600 py-2 px-4 rounded">Purple: 600</button>
<button class="border border-labpurple-700 text-labpurple-700 hover:text-white hover:bg-labpurple-700 py-2 px-4 rounded">Purple: 700</button>
<button class="border border-labpurple-800 text-labpurple-800 hover:text-white hover:bg-labpurple-800 py-2 px-4 rounded">Purple: 800</button>
<button class="border border-labpurple-900 text-labpurple-900 hover:text-white hover:bg-labpurple-900 py-2 px-4 rounded">Purple: 900</button>
</div>
<!-- gray -->
<div class="flex flex-col space-y-2 p-4">
<button class="border border-labgray-50 text-labgray-50 hover:text-white hover:bg-labgray-50 py-2 px-4 rounded">Gray: 50</button>
<button class="border border-labgray-100 text-labgray-100 hover:text-white hover:bg-labgray-100 py-2 px-4 rounded">Gray: 100</button>
<button class="border border-labgray-200 text-labgray-200 hover:text-white hover:bg-labgray-200 py-2 px-4 rounded">Gray: 200</button>
<button class="border border-labgray-300 text-labgray-300 hover:text-white hover:bg-labgray-300 py-2 px-4 rounded">Gray: 300</button>
<button class="border border-labgray-400 text-labgray-400 hover:text-white hover:bg-labgray-400 py-2 px-4 rounded">Gray: 400</button>
<button class="border border-labgray-500 text-labgray-500 hover:text-white hover:bg-labgray-500 py-2 px-4 rounded">Gray: 500</button>
<button class="border border-labgray-600 text-labgray-600 hover:text-white hover:bg-labgray-600 py-2 px-4 rounded">Gray: 600</button>
<button class="border border-labgray-700 text-labgray-700 hover:text-white hover:bg-labgray-700 py-2 px-4 rounded">Gray: 700</button>
<button class="border border-labgray-800 text-labgray-800 hover:text-white hover:bg-labgray-800 py-2 px-4 rounded">Gray: 800</button>
<button class="border border-labgray-900 text-labgray-900 hover:text-white hover:bg-labgray-900 py-2 px-4 rounded">Gray: 900</button>
</div>
</div>
<div class="p-4 flex space-x-4">
<input type="text" class="border-2 border-labgray-500 text-labgray-500 rounded px-4 py-2" placeholder="input text" />
<input type="text" class="border-2 border-labblue-500 text-labblue-500 rounded px-4 py-2" placeholder="input text" />
<input type="text" class="border-2 border-labgreen-500 text-labgreen-500 rounded px-4 py-2" placeholder="input text" />
<input type="text" class="border-2 border-labyellow-500 text-labyellow-500 rounded px-4 py-2" placeholder="input text" />
<input type="text" class="border-2 border-labred-500 text-labred-500 rounded px-4 py-2" placeholder="input text" />
</div>
<div class="p-4 space-y-4">
<div class="rounded-md bg-labyellow-50 p-4">
<div class="flex">
<div class="ml-3">
<h3 class="text-sm font-medium text-labyellow-800">Attention needed</h3>
<div class="mt-2 text-sm text-labyellow-800">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquid pariatur, ipsum similique veniam quo totam eius aperiam dolorum.</p>
</div>
</div>
</div>
</div>
<div class="rounded-md bg-labred-50 p-4">
<div class="flex">
<div class="ml-3">
<h3 class="text-sm font-medium text-labred-900">There were 2 errors with your submission</h3>
<div class="mt-2 text-sm text-labred-900">
<ul role="list" class="list-disc space-y-1 pl-5">
<li>Your password must be at least 8 characters</li>
<li>Your password must include at least one pro wrestling finishing move</li>
</ul>
</div>
</div>
</div>
</div>
<div class="rounded-md bg-labgreen-50 p-4">
<div class="flex">
<div class="ml-3">
<h3 class="text-sm font-medium text-labgreen-800">Order completed</h3>
<div class="mt-2 text-sm text-labgreen-700">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquid pariatur, ipsum similique veniam.</p>
</div>
<div class="mt-4">
<div class="-mx-2 -my-1.5 flex">
<button type="button" class="rounded-md bg-labgreen-50 px-2 py-1.5 text-sm font-medium text-labgreen-800 hover:bg-labgreen-100 focus:outline-none focus:ring-2 focus:ring-labgreen-600 focus:ring-offset-2 focus:ring-offset-labgreen-50">View status</button>
<button type="button" class="ml-3 rounded-md bg-labgreen-50 px-2 py-1.5 text-sm font-medium text-labgreen-800 hover:bg-labgreen-100 focus:outline-none focus:ring-2 focus:ring-labgreen-600 focus:ring-offset-2 focus:ring-offset-labgreen-50">Dismiss</button>
</div>
</div>
</div>
</div>
</div>
<div class="rounded-md bg-labblue-50 p-4">
<div class="flex">
<div class="ml-3">
<h3 class="text-sm font-medium text-labblue-800">Order completed</h3>
<div class="mt-2 text-sm text-labblue-700">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquid pariatur, ipsum similique veniam.</p>
</div>
<div class="mt-4">
<div class="-mx-2 -my-1.5 flex">
<button type="button" class="rounded-md bg-labblue-50 px-2 py-1.5 text-sm font-medium text-labblue-800 hover:bg-labblue-100 focus:outline-none focus:ring-2 focus:ring-labblue-600 focus:ring-offset-2 focus:ring-offset-labblue-50">View status</button>
<button type="button" class="ml-3 rounded-md bg-labblue-50 px-2 py-1.5 text-sm font-medium text-labblue-800 hover:bg-labblue-100 focus:outline-none focus:ring-2 focus:ring-labblue-600 focus:ring-offset-2 focus:ring-offset-labblue-50">Dismiss</button>
</div>
</div>
</div>
</div>
</div>
</div>
<h2 class="p-4 text-labgray-900 text-2xl">Code</h2>
<pre>
<code>
const labred = chroma.lab(50, 100, 100);
const labpink = chroma.lab(50, 100, 0);
const labyellow = chroma.lab(50, 0, 100);
const labgreen = chroma.lab(50, -100, 100);
const labsky = chroma.lab(50, -100, -100);
const labblue = chroma.lab(50, 0, -100);
const labpurple = chroma.lab(50, 100, -100);
const labgray = chroma.lab(50, 0, 0);
const tailwindColors = (chromaObject) => {
return {
50: chromaObject.brighten(2.5).hex(),
100: chromaObject.brighten(2.0).hex(),
200: chromaObject.brighten(1.5).hex(),
300: chromaObject.brighten(1.0).hex(),
400: chromaObject.brighten(0.5).hex(),
500: chromaObject.brighten(0.0).hex(),
600: chromaObject.brighten(-0.5).hex(),
700: chromaObject.brighten(-1.0).hex(),
800: chromaObject.brighten(-1.5).hex(),
900: chromaObject.brighten(-2.0).hex(),
}
}
const tailwindLinearGradientColors = (colorName) => {
const colorObjects = {
labred,
labpink,
labyellow,
labgreen,
labsky,
labblue,
labpurple,
labgray,
}
const results = {}
results[colorName + 'lg-50'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].brighten(2.5).hex() + ', ' + colorObjects[colorName].brighten(2.0).hex() + ')'
results[colorName + 'lg-100'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].brighten(2.0).hex() + ', ' + colorObjects[colorName].brighten(1.5).hex() + ')'
results[colorName + 'lg-200'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].brighten(1.5).hex() + ', ' + colorObjects[colorName].brighten(1.0).hex() + ')'
results[colorName + 'lg-300'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].brighten(1.0).hex() + ', ' + colorObjects[colorName].brighten(0.5).hex() + ')'
results[colorName + 'lg-400'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].brighten(0.5).hex() + ', ' + colorObjects[colorName].hex() + ')'
results[colorName + 'lg-500'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].hex() + ', ' + colorObjects[colorName].darken(0.5).hex() + ')'
results[colorName + 'lg-600'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].darken(0.5).hex() + ', ' + colorObjects[colorName].darken(1.0).hex() + ')'
results[colorName + 'lg-700'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].darken(1.0).hex() + ', ' + colorObjects[colorName].darken(1.5).hex() + ')'
results[colorName + 'lg-800'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].darken(1.5).hex() + ', ' + colorObjects[colorName].darken(2.0).hex() + ')'
results[colorName + 'lg-900'] = 'linear-gradient(to bottom, ' + colorObjects[colorName].darken(2.0).hex() + ', ' + colorObjects[colorName].darken(2.5).hex() + ')'
return results;
}
tailwind.config = {
theme: {
extend: {
colors: {
labred: tailwindColors(labred),
labpink: tailwindColors(labpink),
labyellow: tailwindColors(labyellow),
labgreen: tailwindColors(labgreen),
labsky: tailwindColors(labsky),
labblue: tailwindColors(labblue),
labpurple: tailwindColors(labpurple),
labgray: tailwindColors(labgray)
},
backgroundImage: {
...tailwindLinearGradientColors('labred'),
...tailwindLinearGradientColors('labpink'),
...tailwindLinearGradientColors('labyellow'),
...tailwindLinearGradientColors('labgreen'),
...tailwindLinearGradientColors('labsky'),
...tailwindLinearGradientColors('labblue'),
...tailwindLinearGradientColors('labpurple'),
...tailwindLinearGradientColors('labgray'),
}
}
}
}
</code>
</pre>
</body>
</html>