tailwind-to-style 3.1.2 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1797 @@
1
+ /**
2
+ * tailwind-to-style v3.2.0
3
+ * Runtime Tailwind CSS to inline styles converter
4
+ *
5
+ * @author Bigetion
6
+ * @license MIT
7
+ */
8
+ 'use strict';
9
+
10
+ const theme = {
11
+ accentColor: _ref => {
12
+ let {
13
+ theme
14
+ } = _ref;
15
+ return {
16
+ ...theme("colors"),
17
+ auto: "auto",
18
+ custom: "custom_value"
19
+ };
20
+ },
21
+ animation: {
22
+ none: "none",
23
+ spin: "spin 1s linear infinite",
24
+ ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",
25
+ pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
26
+ bounce: "bounce 1s infinite",
27
+ "fade-in": "fadeIn 2s ease-in-out infinite",
28
+ "slide-up": "slideUp 2s ease-in-out infinite",
29
+ custom: "custom_value"
30
+ },
31
+ aspectRatio: {
32
+ auto: "auto",
33
+ square: "1 / 1",
34
+ video: "16 / 9",
35
+ custom: "custom_value"
36
+ },
37
+ backdropBlur: _ref2 => {
38
+ let {
39
+ theme
40
+ } = _ref2;
41
+ return theme("blur");
42
+ },
43
+ backdropBrightness: _ref3 => {
44
+ let {
45
+ theme
46
+ } = _ref3;
47
+ return theme("brightness");
48
+ },
49
+ backdropContrast: _ref4 => {
50
+ let {
51
+ theme
52
+ } = _ref4;
53
+ return theme("contrast");
54
+ },
55
+ backdropGrayscale: _ref5 => {
56
+ let {
57
+ theme
58
+ } = _ref5;
59
+ return theme("grayscale");
60
+ },
61
+ backdropHueRotate: _ref6 => {
62
+ let {
63
+ theme
64
+ } = _ref6;
65
+ return theme("hueRotate");
66
+ },
67
+ backdropInvert: _ref7 => {
68
+ let {
69
+ theme
70
+ } = _ref7;
71
+ return theme("invert");
72
+ },
73
+ backdropOpacity: _ref8 => {
74
+ let {
75
+ theme
76
+ } = _ref8;
77
+ return theme("opacity");
78
+ },
79
+ backdropSaturate: _ref9 => {
80
+ let {
81
+ theme
82
+ } = _ref9;
83
+ return theme("saturate");
84
+ },
85
+ backdropSepia: _ref0 => {
86
+ let {
87
+ theme
88
+ } = _ref0;
89
+ return theme("sepia");
90
+ },
91
+ backgroundColor: _ref1 => {
92
+ let {
93
+ theme
94
+ } = _ref1;
95
+ return theme("colors");
96
+ },
97
+ backgroundImage: {
98
+ none: "none",
99
+ "gradient-to-t": "linear-gradient(to top, var(--gradient-color-stops))",
100
+ "gradient-to-tr": "linear-gradient(to top right, var(--gradient-color-stops))",
101
+ "gradient-to-r": "linear-gradient(to right, var(--gradient-color-stops))",
102
+ "gradient-to-br": "linear-gradient(to bottom right, var(--gradient-color-stops))",
103
+ "gradient-to-b": "linear-gradient(to bottom, var(--gradient-color-stops))",
104
+ "gradient-to-bl": "linear-gradient(to bottom left, var(--gradient-color-stops))",
105
+ "gradient-to-l": "linear-gradient(to left, var(--gradient-color-stops))",
106
+ "gradient-to-tl": "linear-gradient(to top left, var(--gradient-color-stops))"
107
+ },
108
+ backgroundOpacity: _ref10 => {
109
+ let {
110
+ theme
111
+ } = _ref10;
112
+ return theme("opacity");
113
+ },
114
+ backgroundPosition: {
115
+ bottom: "bottom",
116
+ center: "center",
117
+ left: "left",
118
+ "left-bottom": "left bottom",
119
+ "left-top": "left top",
120
+ right: "right",
121
+ "right-bottom": "right bottom",
122
+ "right-top": "right top",
123
+ top: "top"
124
+ },
125
+ backgroundSize: {
126
+ auto: "auto",
127
+ cover: "cover",
128
+ contain: "contain"
129
+ },
130
+ blur: {
131
+ 0: "0",
132
+ none: "0",
133
+ sm: "4px",
134
+ DEFAULT: "8px",
135
+ md: "12px",
136
+ lg: "16px",
137
+ xl: "24px",
138
+ "2xl": "40px",
139
+ "3xl": "64px",
140
+ custom: "custom_value"
141
+ },
142
+ borderColor: _ref11 => {
143
+ let {
144
+ theme
145
+ } = _ref11;
146
+ return {
147
+ ...theme("colors"),
148
+ DEFAULT: "#e5e7eb"
149
+ };
150
+ },
151
+ borderOpacity: _ref12 => {
152
+ let {
153
+ theme
154
+ } = _ref12;
155
+ return theme("opacity");
156
+ },
157
+ borderRadius: {
158
+ none: "0px",
159
+ sm: "0.125rem",
160
+ DEFAULT: "0.25rem",
161
+ md: "0.375rem",
162
+ lg: "0.5rem",
163
+ xl: "0.75rem",
164
+ "2xl": "1rem",
165
+ "3xl": "1.5rem",
166
+ full: "9999px",
167
+ custom: "custom_value"
168
+ },
169
+ borderSpacing: _ref13 => {
170
+ let {
171
+ theme
172
+ } = _ref13;
173
+ return {
174
+ ...theme("spacing")
175
+ };
176
+ },
177
+ borderWidth: {
178
+ DEFAULT: "1px",
179
+ 0: "0px",
180
+ 2: "2px",
181
+ 4: "4px",
182
+ 8: "8px",
183
+ custom: "custom_value"
184
+ },
185
+ boxShadow: {
186
+ sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
187
+ DEFAULT: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
188
+ md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
189
+ lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
190
+ xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
191
+ "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
192
+ inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
193
+ none: "none",
194
+ custom: "custom_value"
195
+ },
196
+ boxShadowColor: _ref14 => {
197
+ let {
198
+ theme
199
+ } = _ref14;
200
+ return theme("colors");
201
+ },
202
+ brightness: {
203
+ 0: "0",
204
+ 50: ".5",
205
+ 75: ".75",
206
+ 90: ".9",
207
+ 95: ".95",
208
+ 100: "1",
209
+ 105: "1.05",
210
+ 110: "1.1",
211
+ 125: "1.25",
212
+ 150: "1.5",
213
+ 200: "2",
214
+ custom: "custom_value"
215
+ },
216
+ caretColor: _ref15 => {
217
+ let {
218
+ theme
219
+ } = _ref15;
220
+ return theme("colors");
221
+ },
222
+ colors: {
223
+ transparent: "transparent",
224
+ current: "currentColor",
225
+ black: "#000000",
226
+ white: "#ffffff",
227
+ slate: {
228
+ 50: "#f8fafc",
229
+ 100: "#f1f5f9",
230
+ 200: "#e2e8f0",
231
+ 300: "#cbd5e1",
232
+ 400: "#94a3b8",
233
+ 500: "#64748b",
234
+ 600: "#475569",
235
+ 700: "#334155",
236
+ 800: "#1e293b",
237
+ 900: "#0f172a"
238
+ },
239
+ gray: {
240
+ 50: "#f9fafb",
241
+ 100: "#f3f4f6",
242
+ 200: "#e5e7eb",
243
+ 300: "#d1d5db",
244
+ 400: "#9ca3af",
245
+ 500: "#6b7280",
246
+ 600: "#4b5563",
247
+ 700: "#374151",
248
+ 800: "#1f2937",
249
+ 900: "#111827"
250
+ },
251
+ zinc: {
252
+ 50: "#fafafa",
253
+ 100: "#f4f4f5",
254
+ 200: "#e4e4e7",
255
+ 300: "#d4d4d8",
256
+ 400: "#a1a1aa",
257
+ 500: "#71717a",
258
+ 600: "#52525b",
259
+ 700: "#3f3f46",
260
+ 800: "#27272a",
261
+ 900: "#18181b"
262
+ },
263
+ neutral: {
264
+ 50: "#fafafa",
265
+ 100: "#f5f5f5",
266
+ 200: "#e5e5e5",
267
+ 300: "#d4d4d4",
268
+ 400: "#a3a3a3",
269
+ 500: "#737373",
270
+ 600: "#525252",
271
+ 700: "#404040",
272
+ 800: "#262626",
273
+ 900: "#171717"
274
+ },
275
+ stone: {
276
+ 50: "#fafaf9",
277
+ 100: "#f5f5f4",
278
+ 200: "#e7e5e4",
279
+ 300: "#d6d3d1",
280
+ 400: "#a8a29e",
281
+ 500: "#78716c",
282
+ 600: "#57534e",
283
+ 700: "#44403c",
284
+ 800: "#292524",
285
+ 900: "#1c1917"
286
+ },
287
+ red: {
288
+ 50: "#fef2f2",
289
+ 100: "#fee2e2",
290
+ 200: "#fecaca",
291
+ 300: "#fca5a5",
292
+ 400: "#f87171",
293
+ 500: "#ef4444",
294
+ 600: "#dc2626",
295
+ 700: "#b91c1c",
296
+ 800: "#991b1b",
297
+ 900: "#7f1d1d"
298
+ },
299
+ orange: {
300
+ 50: "#fff7ed",
301
+ 100: "#ffedd5",
302
+ 200: "#fed7aa",
303
+ 300: "#fdba74",
304
+ 400: "#fb923c",
305
+ 500: "#f97316",
306
+ 600: "#ea580c",
307
+ 700: "#c2410c",
308
+ 800: "#9a3412",
309
+ 900: "#7c2d12"
310
+ },
311
+ amber: {
312
+ 50: "#fffbeb",
313
+ 100: "#fef3c7",
314
+ 200: "#fde68a",
315
+ 300: "#fcd34d",
316
+ 400: "#fbbf24",
317
+ 500: "#f59e0b",
318
+ 600: "#d97706",
319
+ 700: "#b45309",
320
+ 800: "#92400e",
321
+ 900: "#78350f"
322
+ },
323
+ yellow: {
324
+ 50: "#fefce8",
325
+ 100: "#fef9c3",
326
+ 200: "#fef08a",
327
+ 300: "#fde047",
328
+ 400: "#facc15",
329
+ 500: "#eab308",
330
+ 600: "#ca8a04",
331
+ 700: "#a16207",
332
+ 800: "#854d0e",
333
+ 900: "#713f12"
334
+ },
335
+ lime: {
336
+ 50: "#f7fee7",
337
+ 100: "#ecfccb",
338
+ 200: "#d9f99d",
339
+ 300: "#bef264",
340
+ 400: "#a3e635",
341
+ 500: "#84cc16",
342
+ 600: "#65a30d",
343
+ 700: "#4d7c0f",
344
+ 800: "#3f6212",
345
+ 900: "#365314"
346
+ },
347
+ green: {
348
+ 50: "#f0fdf4",
349
+ 100: "#dcfce7",
350
+ 200: "#bbf7d0",
351
+ 300: "#86efac",
352
+ 400: "#4ade80",
353
+ 500: "#22c55e",
354
+ 600: "#16a34a",
355
+ 700: "#15803d",
356
+ 800: "#166534",
357
+ 900: "#14532d"
358
+ },
359
+ emerald: {
360
+ 50: "#ecfdf5",
361
+ 100: "#d1fae5",
362
+ 200: "#a7f3d0",
363
+ 300: "#6ee7b7",
364
+ 400: "#34d399",
365
+ 500: "#10b981",
366
+ 600: "#059669",
367
+ 700: "#047857",
368
+ 800: "#065f46",
369
+ 900: "#064e3b"
370
+ },
371
+ teal: {
372
+ 50: "#f0fdfa",
373
+ 100: "#ccfbf1",
374
+ 200: "#99f6e4",
375
+ 300: "#5eead4",
376
+ 400: "#2dd4bf",
377
+ 500: "#14b8a6",
378
+ 600: "#0d9488",
379
+ 700: "#0f766e",
380
+ 800: "#115e59",
381
+ 900: "#134e4a"
382
+ },
383
+ cyan: {
384
+ 50: "#ecfeff",
385
+ 100: "#cffafe",
386
+ 200: "#a5f3fc",
387
+ 300: "#67e8f9",
388
+ 400: "#22d3ee",
389
+ 500: "#06b6d4",
390
+ 600: "#0891b2",
391
+ 700: "#0e7490",
392
+ 800: "#155e75",
393
+ 900: "#164e63"
394
+ },
395
+ sky: {
396
+ 50: "#f0f9ff",
397
+ 100: "#e0f2fe",
398
+ 200: "#bae6fd",
399
+ 300: "#7dd3fc",
400
+ 400: "#38bdf8",
401
+ 500: "#0ea5e9",
402
+ 600: "#0284c7",
403
+ 700: "#0369a1",
404
+ 800: "#075985",
405
+ 900: "#0c4a6e"
406
+ },
407
+ blue: {
408
+ 50: "#eff6ff",
409
+ 100: "#dbeafe",
410
+ 200: "#bfdbfe",
411
+ 300: "#93c5fd",
412
+ 400: "#60a5fa",
413
+ 500: "#3b82f6",
414
+ 600: "#2563eb",
415
+ 700: "#1d4ed8",
416
+ 800: "#1e40af",
417
+ 900: "#1e3a8a"
418
+ },
419
+ indigo: {
420
+ 50: "#eef2ff",
421
+ 100: "#e0e7ff",
422
+ 200: "#c7d2fe",
423
+ 300: "#a5b4fc",
424
+ 400: "#818cf8",
425
+ 500: "#6366f1",
426
+ 600: "#4f46e5",
427
+ 700: "#4338ca",
428
+ 800: "#3730a3",
429
+ 900: "#312e81"
430
+ },
431
+ violet: {
432
+ 50: "#f5f3ff",
433
+ 100: "#ede9fe",
434
+ 200: "#ddd6fe",
435
+ 300: "#c4b5fd",
436
+ 400: "#a78bfa",
437
+ 500: "#8b5cf6",
438
+ 600: "#7c3aed",
439
+ 700: "#6d28d9",
440
+ 800: "#5b21b6",
441
+ 900: "#4c1d95"
442
+ },
443
+ purple: {
444
+ 50: "#faf5ff",
445
+ 100: "#f3e8ff",
446
+ 200: "#e9d5ff",
447
+ 300: "#d8b4fe",
448
+ 400: "#c084fc",
449
+ 500: "#a855f7",
450
+ 600: "#9333ea",
451
+ 700: "#7e22ce",
452
+ 800: "#6b21a8",
453
+ 900: "#581c87"
454
+ },
455
+ fuchsia: {
456
+ 50: "#fdf4ff",
457
+ 100: "#fae8ff",
458
+ 200: "#f5d0fe",
459
+ 300: "#f0abfc",
460
+ 400: "#e879f9",
461
+ 500: "#d946ef",
462
+ 600: "#c026d3",
463
+ 700: "#a21caf",
464
+ 800: "#86198f",
465
+ 900: "#701a75"
466
+ },
467
+ pink: {
468
+ 50: "#fdf2f8",
469
+ 100: "#fce7f3",
470
+ 200: "#fbcfe8",
471
+ 300: "#f9a8d4",
472
+ 400: "#f472b6",
473
+ 500: "#ec4899",
474
+ 600: "#db2777",
475
+ 700: "#be185d",
476
+ 800: "#9d174d",
477
+ 900: "#831843"
478
+ },
479
+ rose: {
480
+ 50: "#fff1f2",
481
+ 100: "#ffe4e6",
482
+ 200: "#fecdd3",
483
+ 300: "#fda4af",
484
+ 400: "#fb7185",
485
+ 500: "#f43f5e",
486
+ 600: "#e11d48",
487
+ 700: "#be123c",
488
+ 800: "#9f1239",
489
+ 900: "#881337"
490
+ },
491
+ custom: "custom_value"
492
+ },
493
+ columns: {
494
+ auto: "auto",
495
+ 1: "1",
496
+ 2: "2",
497
+ 3: "3",
498
+ 4: "4",
499
+ 5: "5",
500
+ 6: "6",
501
+ 7: "7",
502
+ 8: "8",
503
+ 9: "9",
504
+ 10: "10",
505
+ 11: "11",
506
+ 12: "12",
507
+ "3xs": "16rem",
508
+ "2xs": "18rem",
509
+ xs: "20rem",
510
+ sm: "24rem",
511
+ md: "28rem",
512
+ lg: "32rem",
513
+ xl: "36rem",
514
+ "2xl": "42rem",
515
+ "3xl": "48rem",
516
+ "4xl": "56rem",
517
+ "5xl": "64rem",
518
+ "6xl": "72rem",
519
+ "7xl": "80rem",
520
+ custom: "custom_value"
521
+ },
522
+ content: {
523
+ none: "none",
524
+ custom: "custom_value"
525
+ },
526
+ contrast: {
527
+ 0: "0",
528
+ 50: ".5",
529
+ 75: ".75",
530
+ 100: "1",
531
+ 125: "1.25",
532
+ 150: "1.5",
533
+ 200: "2",
534
+ custom: "custom_value"
535
+ },
536
+ cursor: {
537
+ auto: "auto",
538
+ default: "default",
539
+ pointer: "pointer",
540
+ wait: "wait",
541
+ text: "text",
542
+ move: "move",
543
+ help: "help",
544
+ "not-allowed": "not-allowed",
545
+ none: "none",
546
+ "context-menu": "context-menu",
547
+ progress: "progress",
548
+ cell: "cell",
549
+ crosshair: "crosshair",
550
+ "vertical-text": "vertical-text",
551
+ alias: "alias",
552
+ copy: "copy",
553
+ "no-drop": "no-drop",
554
+ grab: "grab",
555
+ grabbing: "grabbing",
556
+ "all-scroll": "all-scroll",
557
+ "col-resize": "col-resize",
558
+ "row-resize": "row-resize",
559
+ "n-resize": "n-resize",
560
+ "e-resize": "e-resize",
561
+ "s-resize": "s-resize",
562
+ "w-resize": "w-resize",
563
+ "ne-resize": "ne-resize",
564
+ "nw-resize": "nw-resize",
565
+ "se-resize": "se-resize",
566
+ "sw-resize": "sw-resize",
567
+ "ew-resize": "ew-resize",
568
+ "ns-resize": "ns-resize",
569
+ "nesw-resize": "nesw-resize",
570
+ "nwse-resize": "nwse-resize",
571
+ "zoom-in": "zoom-in",
572
+ "zoom-out": "zoom-out"
573
+ },
574
+ divideColor: _ref16 => {
575
+ let {
576
+ theme
577
+ } = _ref16;
578
+ return theme("borderColor");
579
+ },
580
+ divideOpacity: _ref17 => {
581
+ let {
582
+ theme
583
+ } = _ref17;
584
+ return theme("borderOpacity");
585
+ },
586
+ divideWidth: _ref18 => {
587
+ let {
588
+ theme
589
+ } = _ref18;
590
+ return theme("borderWidth");
591
+ },
592
+ dropShadow: {
593
+ sm: "0 1px 1px rgb(0 0 0 / 0.05)",
594
+ DEFAULT: "0 1px 2px rgb(0 0 0 / 0.1) , 0 1px 1px rgb(0 0 0 / 0.06)",
595
+ md: "0 4px 3px rgb(0 0 0 / 0.07) , 0 2px 2px rgb(0 0 0 / 0.06)",
596
+ lg: "0 10px 8px rgb(0 0 0 / 0.04) , 0 4px 3px rgb(0 0 0 / 0.1)",
597
+ xl: "0 20px 13px rgb(0 0 0 / 0.03) , 0 8px 5px rgb(0 0 0 / 0.08)",
598
+ "2xl": "0 25px 25px rgb(0 0 0 / 0.15)",
599
+ none: "0 0 #0000"
600
+ },
601
+ fill: _ref19 => {
602
+ let {
603
+ theme
604
+ } = _ref19;
605
+ return {
606
+ none: "none",
607
+ ...theme("colors")
608
+ };
609
+ },
610
+ flex: {
611
+ 1: "1 1 0%",
612
+ auto: "1 1 auto",
613
+ initial: "0 1 auto",
614
+ none: "none"
615
+ },
616
+ flexBasis: _ref20 => {
617
+ let {
618
+ theme
619
+ } = _ref20;
620
+ return {
621
+ auto: "auto",
622
+ ...theme("spacing"),
623
+ "1/2": "50%",
624
+ "1/3": "33.333333%",
625
+ "2/3": "66.666667%",
626
+ "1/4": "25%",
627
+ "2/4": "50%",
628
+ "3/4": "75%",
629
+ "1/5": "20%",
630
+ "2/5": "40%",
631
+ "3/5": "60%",
632
+ "4/5": "80%",
633
+ "1/6": "16.666667%",
634
+ "2/6": "33.333333%",
635
+ "3/6": "50%",
636
+ "4/6": "66.666667%",
637
+ "5/6": "83.333333%",
638
+ "1/12": "8.333333%",
639
+ "2/12": "16.666667%",
640
+ "3/12": "25%",
641
+ "4/12": "33.333333%",
642
+ "5/12": "41.666667%",
643
+ "6/12": "50%",
644
+ "7/12": "58.333333%",
645
+ "8/12": "66.666667%",
646
+ "9/12": "75%",
647
+ "10/12": "83.333333%",
648
+ "11/12": "91.666667%",
649
+ full: "100%"
650
+ };
651
+ },
652
+ flexGrow: {
653
+ 0: "0",
654
+ DEFAULT: "1"
655
+ },
656
+ flexShrink: {
657
+ 0: "0",
658
+ DEFAULT: "1"
659
+ },
660
+ fontFamily: {
661
+ sans: ["ui-sans-serif", "system-ui", "-apple-system", "BlinkMacSystemFont", '"Segoe UI"', "Roboto", '"Helvetica Neue"', "Arial", '"Noto Sans"', "sans-serif", '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"', '"Noto Color Emoji"'].join(", "),
662
+ serif: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"].join(", "),
663
+ mono: ["ui-monospace", "SFMono-Regular", "Menlo", "Monaco", "Consolas", '"Liberation Mono"', '"Courier New"', "monospace"].join(", ")
664
+ },
665
+ fontSize: {
666
+ xs: "0.75rem",
667
+ sm: "0.875rem",
668
+ base: "1rem",
669
+ lg: "1.125rem",
670
+ xl: "1.25rem",
671
+ "2xl": "1.5rem",
672
+ "3xl": "1.875rem",
673
+ "4xl": "2.25rem",
674
+ "5xl": "3rem",
675
+ "6xl": "3.75rem",
676
+ "7xl": "4.5rem",
677
+ "8xl": "6rem",
678
+ "9xl": "8rem",
679
+ custom: "custom_value"
680
+ },
681
+ fontWeight: {
682
+ thin: "100",
683
+ extralight: "200",
684
+ light: "300",
685
+ normal: "400",
686
+ medium: "500",
687
+ semibold: "600",
688
+ bold: "700",
689
+ extrabold: "800",
690
+ black: "900",
691
+ custom: "custom_value"
692
+ },
693
+ gap: _ref21 => {
694
+ let {
695
+ theme
696
+ } = _ref21;
697
+ return theme("spacing");
698
+ },
699
+ gradientColorStops: _ref22 => {
700
+ let {
701
+ theme
702
+ } = _ref22;
703
+ return theme("colors");
704
+ },
705
+ gradientColorStopPositions: {
706
+ "0%": "0%",
707
+ "5%": "5%",
708
+ "10%": "10%",
709
+ "15%": "15%",
710
+ "20%": "20%",
711
+ "25%": "25%",
712
+ "30%": "30%",
713
+ "35%": "35%",
714
+ "40%": "40%",
715
+ "45%": "45%",
716
+ "50%": "50%",
717
+ "55%": "55%",
718
+ "60%": "60%",
719
+ "65%": "65%",
720
+ "70%": "70%",
721
+ "75%": "75%",
722
+ "80%": "80%",
723
+ "85%": "85%",
724
+ "90%": "90%",
725
+ "95%": "95%",
726
+ "100%": "100%"
727
+ },
728
+ grayscale: {
729
+ 0: "0",
730
+ DEFAULT: "100%"
731
+ },
732
+ gridAutoColumns: {
733
+ auto: "auto",
734
+ min: "min-content",
735
+ max: "max-content",
736
+ fr: "minmax(0, 1fr)"
737
+ },
738
+ gridAutoRows: {
739
+ auto: "auto",
740
+ min: "min-content",
741
+ max: "max-content",
742
+ fr: "minmax(0, 1fr)"
743
+ },
744
+ gridColumn: {
745
+ auto: "auto",
746
+ "span-1": "span 1 / span 1",
747
+ "span-2": "span 2 / span 2",
748
+ "span-3": "span 3 / span 3",
749
+ "span-4": "span 4 / span 4",
750
+ "span-5": "span 5 / span 5",
751
+ "span-6": "span 6 / span 6",
752
+ "span-7": "span 7 / span 7",
753
+ "span-8": "span 8 / span 8",
754
+ "span-9": "span 9 / span 9",
755
+ "span-10": "span 10 / span 10",
756
+ "span-11": "span 11 / span 11",
757
+ "span-12": "span 12 / span 12",
758
+ "span-full": "1 / -1"
759
+ },
760
+ gridColumnEnd: {
761
+ auto: "auto",
762
+ 1: "1",
763
+ 2: "2",
764
+ 3: "3",
765
+ 4: "4",
766
+ 5: "5",
767
+ 6: "6",
768
+ 7: "7",
769
+ 8: "8",
770
+ 9: "9",
771
+ 10: "10",
772
+ 11: "11",
773
+ 12: "12",
774
+ 13: "13"
775
+ },
776
+ gridColumnStart: {
777
+ auto: "auto",
778
+ 1: "1",
779
+ 2: "2",
780
+ 3: "3",
781
+ 4: "4",
782
+ 5: "5",
783
+ 6: "6",
784
+ 7: "7",
785
+ 8: "8",
786
+ 9: "9",
787
+ 10: "10",
788
+ 11: "11",
789
+ 12: "12",
790
+ 13: "13"
791
+ },
792
+ gridRow: {
793
+ auto: "auto",
794
+ "span-1": "span 1 / span 1",
795
+ "span-2": "span 2 / span 2",
796
+ "span-3": "span 3 / span 3",
797
+ "span-4": "span 4 / span 4",
798
+ "span-5": "span 5 / span 5",
799
+ "span-6": "span 6 / span 6",
800
+ "span-7": "span 7 / span 7",
801
+ "span-8": "span 8 / span 8",
802
+ "span-9": "span 9 / span 9",
803
+ "span-10": "span 10 / span 10",
804
+ "span-11": "span 11 / span 11",
805
+ "span-12": "span 12 / span 12",
806
+ "span-full": "1 / -1"
807
+ },
808
+ gridRowEnd: {
809
+ auto: "auto",
810
+ 1: "1",
811
+ 2: "2",
812
+ 3: "3",
813
+ 4: "4",
814
+ 5: "5",
815
+ 6: "6",
816
+ 7: "7",
817
+ 8: "8",
818
+ 9: "9",
819
+ 10: "10",
820
+ 11: "11",
821
+ 12: "12",
822
+ 13: "13"
823
+ },
824
+ gridRowStart: {
825
+ auto: "auto",
826
+ 1: "1",
827
+ 2: "2",
828
+ 3: "3",
829
+ 4: "4",
830
+ 5: "5",
831
+ 6: "6",
832
+ 7: "7",
833
+ 8: "8",
834
+ 9: "9",
835
+ 10: "10",
836
+ 11: "11",
837
+ 12: "12",
838
+ 13: "13"
839
+ },
840
+ gridTemplateColumns: {
841
+ none: "none",
842
+ subgrid: "subgrid",
843
+ 1: "repeat(1, minmax(0, 1fr))",
844
+ 2: "repeat(2, minmax(0, 1fr))",
845
+ 3: "repeat(3, minmax(0, 1fr))",
846
+ 4: "repeat(4, minmax(0, 1fr))",
847
+ 5: "repeat(5, minmax(0, 1fr))",
848
+ 6: "repeat(6, minmax(0, 1fr))",
849
+ 7: "repeat(7, minmax(0, 1fr))",
850
+ 8: "repeat(8, minmax(0, 1fr))",
851
+ 9: "repeat(9, minmax(0, 1fr))",
852
+ 10: "repeat(10, minmax(0, 1fr))",
853
+ 11: "repeat(11, minmax(0, 1fr))",
854
+ 12: "repeat(12, minmax(0, 1fr))"
855
+ },
856
+ gridTemplateRows: {
857
+ none: "none",
858
+ subgrid: "subgrid",
859
+ 1: "repeat(1, minmax(0, 1fr))",
860
+ 2: "repeat(2, minmax(0, 1fr))",
861
+ 3: "repeat(3, minmax(0, 1fr))",
862
+ 4: "repeat(4, minmax(0, 1fr))",
863
+ 5: "repeat(5, minmax(0, 1fr))",
864
+ 6: "repeat(6, minmax(0, 1fr))",
865
+ 7: "repeat(7, minmax(0, 1fr))",
866
+ 8: "repeat(8, minmax(0, 1fr))",
867
+ 9: "repeat(9, minmax(0, 1fr))",
868
+ 10: "repeat(10, minmax(0, 1fr))",
869
+ 11: "repeat(11, minmax(0, 1fr))",
870
+ 12: "repeat(12, minmax(0, 1fr))"
871
+ },
872
+ height: _ref23 => {
873
+ let {
874
+ theme
875
+ } = _ref23;
876
+ return {
877
+ auto: "auto",
878
+ ...theme("spacing"),
879
+ "1/2": "50%",
880
+ "1/3": "33.333333%",
881
+ "2/3": "66.666667%",
882
+ "1/4": "25%",
883
+ "2/4": "50%",
884
+ "3/4": "75%",
885
+ "1/5": "20%",
886
+ "2/5": "40%",
887
+ "3/5": "60%",
888
+ "4/5": "80%",
889
+ "1/6": "16.666667%",
890
+ "2/6": "33.333333%",
891
+ "3/6": "50%",
892
+ "4/6": "66.666667%",
893
+ "5/6": "83.333333%",
894
+ full: "100%",
895
+ screen: "100vh",
896
+ svh: "100svh",
897
+ lvh: "100lvh",
898
+ dvh: "100dvh",
899
+ min: "min-content",
900
+ max: "max-content",
901
+ fit: "fit-content",
902
+ custom: "custom_value"
903
+ };
904
+ },
905
+ hueRotate: {
906
+ 0: "0deg",
907
+ 15: "15deg",
908
+ 30: "30deg",
909
+ 60: "60deg",
910
+ 90: "90deg",
911
+ 180: "180deg"
912
+ },
913
+ inset: _ref24 => {
914
+ let {
915
+ theme
916
+ } = _ref24;
917
+ return {
918
+ auto: "auto",
919
+ ...theme("spacing"),
920
+ "1/2": "50%",
921
+ "1/3": "33.333333%",
922
+ "2/3": "66.666667%",
923
+ "1/4": "25%",
924
+ "2/4": "50%",
925
+ "3/4": "75%",
926
+ full: "100%"
927
+ };
928
+ },
929
+ invert: {
930
+ 0: "0",
931
+ DEFAULT: "100%"
932
+ },
933
+ letterSpacing: {
934
+ tighter: "-0.05em",
935
+ tight: "-0.025em",
936
+ normal: "0em",
937
+ wide: "0.025em",
938
+ wider: "0.05em",
939
+ widest: "0.1em",
940
+ custom: "custom_value"
941
+ },
942
+ lineClamp: {
943
+ 1: "1",
944
+ 2: "2",
945
+ 3: "3",
946
+ 4: "4",
947
+ 5: "5",
948
+ 6: "6",
949
+ custom: "custom_value"
950
+ },
951
+ lineHeight: {
952
+ none: "1",
953
+ tight: "1.25",
954
+ snug: "1.375",
955
+ normal: "1.5",
956
+ relaxed: "1.625",
957
+ loose: "2",
958
+ 3: ".75rem",
959
+ 4: "1rem",
960
+ 5: "1.25rem",
961
+ 6: "1.5rem",
962
+ 7: "1.75rem",
963
+ 8: "2rem",
964
+ 9: "2.25rem",
965
+ 10: "2.5rem",
966
+ custom: "custom_value"
967
+ },
968
+ listStyleType: {
969
+ none: "none",
970
+ disc: "disc",
971
+ decimal: "decimal"
972
+ },
973
+ margin: _ref25 => {
974
+ let {
975
+ theme
976
+ } = _ref25;
977
+ return {
978
+ auto: "auto",
979
+ ...theme("spacing")
980
+ };
981
+ },
982
+ maxHeight: _ref26 => {
983
+ let {
984
+ theme
985
+ } = _ref26;
986
+ return {
987
+ ...theme("spacing"),
988
+ none: "none",
989
+ full: "100%",
990
+ screen: "100vh",
991
+ svh: "100svh",
992
+ lvh: "100lvh",
993
+ dvh: "100dvh",
994
+ min: "min-content",
995
+ max: "max-content",
996
+ fit: "fit-content"
997
+ };
998
+ },
999
+ maxWidth: _ref27 => {
1000
+ let {
1001
+ theme
1002
+ } = _ref27;
1003
+ return {
1004
+ ...theme("spacing"),
1005
+ none: "none",
1006
+ xs: "20rem",
1007
+ sm: "24rem",
1008
+ md: "28rem",
1009
+ lg: "32rem",
1010
+ xl: "36rem",
1011
+ "2xl": "42rem",
1012
+ "3xl": "48rem",
1013
+ "4xl": "56rem",
1014
+ "5xl": "64rem",
1015
+ "6xl": "72rem",
1016
+ "7xl": "80rem",
1017
+ full: "100%",
1018
+ min: "min-content",
1019
+ max: "max-content",
1020
+ fit: "fit-content",
1021
+ prose: "65ch"
1022
+ };
1023
+ },
1024
+ minHeight: _ref28 => {
1025
+ let {
1026
+ theme
1027
+ } = _ref28;
1028
+ return {
1029
+ ...theme("spacing"),
1030
+ full: "100%",
1031
+ screen: "100vh",
1032
+ svh: "100svh",
1033
+ lvh: "100lvh",
1034
+ dvh: "100dvh",
1035
+ min: "min-content",
1036
+ max: "max-content",
1037
+ fit: "fit-content"
1038
+ };
1039
+ },
1040
+ minWidth: _ref29 => {
1041
+ let {
1042
+ theme
1043
+ } = _ref29;
1044
+ return {
1045
+ ...theme("spacing"),
1046
+ full: "100%",
1047
+ min: "min-content",
1048
+ max: "max-content",
1049
+ fit: "fit-content"
1050
+ };
1051
+ },
1052
+ objectPosition: {
1053
+ bottom: "bottom",
1054
+ center: "center",
1055
+ left: "left",
1056
+ "left-bottom": "left bottom",
1057
+ "left-top": "left top",
1058
+ right: "right",
1059
+ "right-bottom": "right bottom",
1060
+ "right-top": "right top",
1061
+ top: "top"
1062
+ },
1063
+ opacity: {
1064
+ 0: "0",
1065
+ 5: "0.05",
1066
+ 10: "0.1",
1067
+ 15: "0.15",
1068
+ 20: "0.2",
1069
+ 25: "0.25",
1070
+ 30: "0.3",
1071
+ 35: "0.35",
1072
+ 40: "0.4",
1073
+ 45: "0.45",
1074
+ 50: "0.5",
1075
+ 55: "0.55",
1076
+ 60: "0.6",
1077
+ 65: "0.65",
1078
+ 70: "0.7",
1079
+ 75: "0.75",
1080
+ 80: "0.8",
1081
+ 85: "0.85",
1082
+ 90: "0.9",
1083
+ 95: "0.95",
1084
+ 100: "1",
1085
+ custom: "custom_value"
1086
+ },
1087
+ order: {
1088
+ first: "-9999",
1089
+ last: "9999",
1090
+ none: "0",
1091
+ 1: "1",
1092
+ 2: "2",
1093
+ 3: "3",
1094
+ 4: "4",
1095
+ 5: "5",
1096
+ 6: "6",
1097
+ 7: "7",
1098
+ 8: "8",
1099
+ 9: "9",
1100
+ 10: "10",
1101
+ 11: "11",
1102
+ 12: "12",
1103
+ custom: "custom_value"
1104
+ },
1105
+ outlineColor: _ref30 => {
1106
+ let {
1107
+ theme
1108
+ } = _ref30;
1109
+ return theme("colors");
1110
+ },
1111
+ outlineOffset: {
1112
+ 0: "0px",
1113
+ 1: "1px",
1114
+ 2: "2px",
1115
+ 4: "4px",
1116
+ 8: "8px",
1117
+ custom: "custom_value"
1118
+ },
1119
+ outlineOpacity: _ref31 => {
1120
+ let {
1121
+ theme
1122
+ } = _ref31;
1123
+ return theme("opacity");
1124
+ },
1125
+ outlineWidth: {
1126
+ 0: "0px",
1127
+ 1: "1px",
1128
+ 2: "2px",
1129
+ 4: "4px",
1130
+ 8: "8px",
1131
+ custom: "custom_value"
1132
+ },
1133
+ padding: _ref32 => {
1134
+ let {
1135
+ theme
1136
+ } = _ref32;
1137
+ return theme("spacing");
1138
+ },
1139
+ ringColor: _ref33 => {
1140
+ let {
1141
+ theme
1142
+ } = _ref33;
1143
+ return {
1144
+ DEFAULT: "#3b82f6",
1145
+ ...theme("colors")
1146
+ };
1147
+ },
1148
+ ringOffsetColor: _ref34 => {
1149
+ let {
1150
+ theme
1151
+ } = _ref34;
1152
+ return theme("colors");
1153
+ },
1154
+ ringOffsetWidth: {
1155
+ 0: "0px",
1156
+ 1: "1px",
1157
+ 2: "2px",
1158
+ 4: "4px",
1159
+ 8: "8px",
1160
+ custom: "custom_value"
1161
+ },
1162
+ ringOpacity: _ref35 => {
1163
+ let {
1164
+ theme
1165
+ } = _ref35;
1166
+ return {
1167
+ DEFAULT: "0.5",
1168
+ ...theme("opacity")
1169
+ };
1170
+ },
1171
+ ringWidth: {
1172
+ DEFAULT: "3px",
1173
+ 0: "0px",
1174
+ 1: "1px",
1175
+ 2: "2px",
1176
+ 4: "4px",
1177
+ 8: "8px",
1178
+ custom: "custom_value"
1179
+ },
1180
+ rotate: {
1181
+ 0: "0deg",
1182
+ 1: "1deg",
1183
+ 2: "2deg",
1184
+ 3: "3deg",
1185
+ 6: "6deg",
1186
+ 12: "12deg",
1187
+ 45: "45deg",
1188
+ 90: "90deg",
1189
+ 180: "180deg",
1190
+ custom: "custom_value"
1191
+ },
1192
+ saturate: {
1193
+ 0: "0",
1194
+ 50: ".5",
1195
+ 100: "1",
1196
+ 150: "1.5",
1197
+ 200: "2",
1198
+ custom: "custom_value"
1199
+ },
1200
+ scale: {
1201
+ 0: "0",
1202
+ 50: ".5",
1203
+ 75: ".75",
1204
+ 90: ".9",
1205
+ 95: ".95",
1206
+ 100: "1",
1207
+ 105: "1.05",
1208
+ 110: "1.1",
1209
+ 125: "1.25",
1210
+ 150: "1.5",
1211
+ custom: "custom_value"
1212
+ },
1213
+ scrollMargin: _ref36 => {
1214
+ let {
1215
+ theme
1216
+ } = _ref36;
1217
+ return {
1218
+ ...theme("spacing")
1219
+ };
1220
+ },
1221
+ scrollPadding: _ref37 => {
1222
+ let {
1223
+ theme
1224
+ } = _ref37;
1225
+ return theme("spacing");
1226
+ },
1227
+ sepia: {
1228
+ 0: "0",
1229
+ DEFAULT: "100%"
1230
+ },
1231
+ skew: {
1232
+ 0: "0deg",
1233
+ 1: "1deg",
1234
+ 2: "2deg",
1235
+ 3: "3deg",
1236
+ 6: "6deg",
1237
+ 12: "12deg",
1238
+ custom: "custom_value"
1239
+ },
1240
+ space: _ref38 => {
1241
+ let {
1242
+ theme
1243
+ } = _ref38;
1244
+ return {
1245
+ ...theme("spacing")
1246
+ };
1247
+ },
1248
+ spacing: {
1249
+ px: "1px",
1250
+ 0: "0px",
1251
+ 0.5: "0.125rem",
1252
+ 1: "0.25rem",
1253
+ 1.5: "0.375rem",
1254
+ 2: "0.5rem",
1255
+ 2.5: "0.625rem",
1256
+ 3: "0.75rem",
1257
+ 3.5: "0.875rem",
1258
+ 4: "1rem",
1259
+ 5: "1.25rem",
1260
+ 6: "1.5rem",
1261
+ 7: "1.75rem",
1262
+ 8: "2rem",
1263
+ 9: "2.25rem",
1264
+ 10: "2.5rem",
1265
+ 11: "2.75rem",
1266
+ 12: "3rem",
1267
+ 14: "3.5rem",
1268
+ 16: "4rem",
1269
+ 20: "5rem",
1270
+ 24: "6rem",
1271
+ 28: "7rem",
1272
+ 32: "8rem",
1273
+ 36: "9rem",
1274
+ 40: "10rem",
1275
+ 44: "11rem",
1276
+ 48: "12rem",
1277
+ 52: "13rem",
1278
+ 56: "14rem",
1279
+ 60: "15rem",
1280
+ 64: "16rem",
1281
+ 72: "18rem",
1282
+ 80: "20rem",
1283
+ 96: "24rem",
1284
+ "screen-sm": "640px",
1285
+ "screen-md": "768px",
1286
+ "screen-lg": "1024px",
1287
+ "screen-xl": "1280px",
1288
+ "screen-2xl": "1536px",
1289
+ custom: "custom_value"
1290
+ },
1291
+ stroke: _ref39 => {
1292
+ let {
1293
+ theme
1294
+ } = _ref39;
1295
+ return {
1296
+ none: "none",
1297
+ ...theme("colors")
1298
+ };
1299
+ },
1300
+ strokeWidth: {
1301
+ 0: "0",
1302
+ 1: "1",
1303
+ 2: "2",
1304
+ custom: "custom_value"
1305
+ },
1306
+ textColor: _ref40 => {
1307
+ let {
1308
+ theme
1309
+ } = _ref40;
1310
+ return theme("colors");
1311
+ },
1312
+ textDecorationColor: _ref41 => {
1313
+ let {
1314
+ theme
1315
+ } = _ref41;
1316
+ return theme("colors");
1317
+ },
1318
+ textDecorationThickness: {
1319
+ auto: "auto",
1320
+ "from-font": "from-font",
1321
+ 0: "0px",
1322
+ 1: "1px",
1323
+ 2: "2px",
1324
+ 4: "4px",
1325
+ 8: "8px",
1326
+ custom: "custom_value"
1327
+ },
1328
+ textIndent: _ref42 => {
1329
+ let {
1330
+ theme
1331
+ } = _ref42;
1332
+ return {
1333
+ ...theme("spacing")
1334
+ };
1335
+ },
1336
+ textOpacity: _ref43 => {
1337
+ let {
1338
+ theme
1339
+ } = _ref43;
1340
+ return theme("opacity");
1341
+ },
1342
+ textShadowBlur: _ref44 => {
1343
+ let {
1344
+ theme
1345
+ } = _ref44;
1346
+ return theme("blur");
1347
+ },
1348
+ textShadowColor: _ref45 => {
1349
+ let {
1350
+ theme
1351
+ } = _ref45;
1352
+ return {
1353
+ ...theme("colors"),
1354
+ DEFAULT: "#e5e7eb"
1355
+ };
1356
+ },
1357
+ textShadowOpacity: _ref46 => {
1358
+ let {
1359
+ theme
1360
+ } = _ref46;
1361
+ return theme("opacity");
1362
+ },
1363
+ textShadowX: {
1364
+ 0: "0px",
1365
+ 1: "1px",
1366
+ 2: "2px",
1367
+ 3: "3px",
1368
+ 4: "4px",
1369
+ 5: "5px",
1370
+ 6: "6px",
1371
+ 7: "7px",
1372
+ 8: "8px",
1373
+ 9: "9px",
1374
+ 10: "10px",
1375
+ custom: "custom_value"
1376
+ },
1377
+ textShadowY: _ref47 => {
1378
+ let {
1379
+ theme
1380
+ } = _ref47;
1381
+ return theme("textShadowX");
1382
+ },
1383
+ textUnderlineOffset: {
1384
+ auto: "auto",
1385
+ 0: "0px",
1386
+ 1: "1px",
1387
+ 2: "2px",
1388
+ 4: "4px",
1389
+ 8: "8px",
1390
+ custom: "custom_value"
1391
+ },
1392
+ transformOrigin: {
1393
+ center: "center",
1394
+ top: "top",
1395
+ "top-right": "top right",
1396
+ right: "right",
1397
+ "bottom-right": "bottom right",
1398
+ bottom: "bottom",
1399
+ "bottom-left": "bottom left",
1400
+ left: "left",
1401
+ "top-left": "top left"
1402
+ },
1403
+ translate: _ref48 => {
1404
+ let {
1405
+ theme
1406
+ } = _ref48;
1407
+ return {
1408
+ ...theme("spacing"),
1409
+ "1/2": "50%",
1410
+ "1/3": "33.333333%",
1411
+ "2/3": "66.666667%",
1412
+ "1/4": "25%",
1413
+ "2/4": "50%",
1414
+ "3/4": "75%",
1415
+ full: "100%"
1416
+ };
1417
+ },
1418
+ size: _ref49 => {
1419
+ let {
1420
+ theme
1421
+ } = _ref49;
1422
+ return {
1423
+ auto: "auto",
1424
+ ...theme("spacing"),
1425
+ "1/2": "50%",
1426
+ "1/3": "33.333333%",
1427
+ "2/3": "66.666667%",
1428
+ "1/4": "25%",
1429
+ "2/4": "50%",
1430
+ "3/4": "75%",
1431
+ "1/5": "20%",
1432
+ "2/5": "40%",
1433
+ "3/5": "60%",
1434
+ "4/5": "80%",
1435
+ "1/6": "16.666667%",
1436
+ "2/6": "33.333333%",
1437
+ "3/6": "50%",
1438
+ "4/6": "66.666667%",
1439
+ "5/6": "83.333333%",
1440
+ "1/12": "8.333333%",
1441
+ "2/12": "16.666667%",
1442
+ "3/12": "25%",
1443
+ "4/12": "33.333333%",
1444
+ "5/12": "41.666667%",
1445
+ "6/12": "50%",
1446
+ "7/12": "58.333333%",
1447
+ "8/12": "66.666667%",
1448
+ "9/12": "75%",
1449
+ "10/12": "83.333333%",
1450
+ "11/12": "91.666667%",
1451
+ full: "100%",
1452
+ min: "min-content",
1453
+ max: "max-content",
1454
+ fit: "fit-content"
1455
+ };
1456
+ },
1457
+ width: _ref50 => {
1458
+ let {
1459
+ theme
1460
+ } = _ref50;
1461
+ return {
1462
+ auto: "auto",
1463
+ ...theme("spacing"),
1464
+ "1/2": "50%",
1465
+ "1/3": "33.333333%",
1466
+ "2/3": "66.666667%",
1467
+ "1/4": "25%",
1468
+ "2/4": "50%",
1469
+ "3/4": "75%",
1470
+ "1/5": "20%",
1471
+ "2/5": "40%",
1472
+ "3/5": "60%",
1473
+ "4/5": "80%",
1474
+ "1/6": "16.666667%",
1475
+ "2/6": "33.333333%",
1476
+ "3/6": "50%",
1477
+ "4/6": "66.666667%",
1478
+ "5/6": "83.333333%",
1479
+ "1/12": "8.333333%",
1480
+ "2/12": "16.666667%",
1481
+ "3/12": "25%",
1482
+ "4/12": "33.333333%",
1483
+ "5/12": "41.666667%",
1484
+ "6/12": "50%",
1485
+ "7/12": "58.333333%",
1486
+ "8/12": "66.666667%",
1487
+ "9/12": "75%",
1488
+ "10/12": "83.333333%",
1489
+ "11/12": "91.666667%",
1490
+ full: "100%",
1491
+ screen: "100vw",
1492
+ svw: "100svw",
1493
+ lvw: "100lvw",
1494
+ dvw: "100dvw",
1495
+ min: "min-content",
1496
+ max: "max-content",
1497
+ fit: "fit-content"
1498
+ };
1499
+ },
1500
+ willChange: {
1501
+ auto: "auto",
1502
+ scroll: "scroll-position",
1503
+ contents: "contents",
1504
+ transform: "transform"
1505
+ },
1506
+ zIndex: {
1507
+ 0: "0",
1508
+ 10: "10",
1509
+ 20: "20",
1510
+ 30: "30",
1511
+ 40: "40",
1512
+ 50: "50",
1513
+ 60: "60",
1514
+ 70: "70",
1515
+ 80: "80",
1516
+ 90: "90",
1517
+ 100: "100",
1518
+ auto: "auto",
1519
+ custom: "custom_value"
1520
+ },
1521
+ keyframes: {
1522
+ spin: {
1523
+ "0%": {
1524
+ transform: "rotate(0deg)"
1525
+ },
1526
+ "100%": {
1527
+ transform: "rotate(360deg)"
1528
+ }
1529
+ },
1530
+ ping: {
1531
+ "75%, 100%": {
1532
+ transform: "scale(2)",
1533
+ opacity: "0"
1534
+ }
1535
+ },
1536
+ pulse: {
1537
+ "50%": {
1538
+ opacity: ".5"
1539
+ }
1540
+ },
1541
+ bounce: {
1542
+ "0%, 100%": {
1543
+ transform: "translateY(-25%)",
1544
+ animationTimingFunction: "cubic-bezier(0.8,0,1,1)"
1545
+ },
1546
+ "50%": {
1547
+ transform: "none",
1548
+ animationTimingFunction: "cubic-bezier(0,0,0.2,1)"
1549
+ }
1550
+ },
1551
+ fadeIn: {
1552
+ "0%": {
1553
+ opacity: "0"
1554
+ },
1555
+ "50%": {
1556
+ opacity: "1"
1557
+ },
1558
+ "100%": {
1559
+ opacity: "0"
1560
+ }
1561
+ },
1562
+ slideUp: {
1563
+ "0%": {
1564
+ transform: "translateY(20px)",
1565
+ opacity: "0"
1566
+ },
1567
+ "50%": {
1568
+ transform: "translateY(0)",
1569
+ opacity: "1"
1570
+ },
1571
+ "100%": {
1572
+ transform: "translateY(-20px)",
1573
+ opacity: "0"
1574
+ }
1575
+ }
1576
+ },
1577
+ transitionProperty: {
1578
+ none: "none",
1579
+ all: "all",
1580
+ DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
1581
+ colors: "color, background-color, border-color, text-decoration-color, fill, stroke",
1582
+ opacity: "opacity",
1583
+ shadow: "box-shadow",
1584
+ transform: "transform"
1585
+ },
1586
+ transitionTimingFunction: {
1587
+ DEFAULT: "cubic-bezier(0.4, 0, 0.2, 1)",
1588
+ linear: "linear",
1589
+ in: "cubic-bezier(0.4, 0, 1, 1)",
1590
+ out: "cubic-bezier(0, 0, 0.2, 1)",
1591
+ "in-out": "cubic-bezier(0.4, 0, 0.2, 1)"
1592
+ },
1593
+ transitionDuration: {
1594
+ 0: "0s",
1595
+ 75: "75ms",
1596
+ 100: "100ms",
1597
+ 150: "150ms",
1598
+ 200: "200ms",
1599
+ 300: "300ms",
1600
+ 500: "500ms",
1601
+ 700: "700ms",
1602
+ 1000: "1000ms"
1603
+ },
1604
+ transitionDelay: {
1605
+ 0: "0s",
1606
+ 75: "75ms",
1607
+ 100: "100ms",
1608
+ 150: "150ms",
1609
+ 200: "200ms",
1610
+ 300: "300ms",
1611
+ 500: "500ms",
1612
+ 700: "700ms",
1613
+ 1000: "1000ms"
1614
+ }
1615
+ };
1616
+
1617
+ const vars = {
1618
+ transform: "transform: translateX(var(--transform-translate-x, 0)) translateY(var(--transform-translate-y, 0)) rotate(var(--transform-rotate, 0)) skewX(var(--transform-skew-x, 0)) skewY(var(--transform-skew-y, 0)) scaleX(var(--transform-scale-x, 1)) scaleY(var(--transform-scale-y, 1));",
1619
+ filter: "filter: blur(var(--blur, 0)) brightness(var(--brightness, 1)) contrast(var(--contrast, 1)) grayscale(var(--grayscale, 0)) hue-rotate(var(--hue-rotate, 0deg)) invert(var(--invert, 0)) saturate(var(--saturate, 1)) sepia(var(--sepia, 0)) drop-shadow(var(--drop-shadow, 0 0 #0000));",
1620
+ backdropFilter: "-webkit-backdrop-filter: blur(var(--backdrop-blur, 0)) brightness(var(--backdrop-brightness, 1)) contrast(var(--backdrop-contrast, 1)) grayscale(var(--backdrop-grayscale, 0)) hue-rotate(var(--backdrop-hue-rotate, 0deg)) invert(var(--backdrop-invert, 0)) opacity(var(--backdrop-opacity, 1)) saturate(var(--backdrop-saturate, 1)) sepia(var(--backdrop-sepia, 0)); backdrop-filter: blur(var(--backdrop-blur, 0)) brightness(var(--backdrop-brightness, 1)) contrast(var(--backdrop-contrast, 1)) grayscale(var(--backdrop-grayscale, 0)) hue-rotate(var(--backdrop-hue-rotate, 0deg)) invert(var(--backdrop-invert, 0)) opacity(var(--backdrop-opacity, 1)) saturate(var(--backdrop-saturate, 1)) sepia(var(--backdrop-sepia, 0));"
1621
+ };
1622
+
1623
+ const configOptions = {
1624
+ theme,
1625
+ vars
1626
+ };
1627
+
1628
+ /**
1629
+ * User Configuration Management
1630
+ * Handles theme extensions and custom plugin registration
1631
+ */
1632
+
1633
+
1634
+ /**
1635
+ * User configuration state
1636
+ */
1637
+ let userConfig = {
1638
+ theme: {
1639
+ extend: {}
1640
+ },
1641
+ prefix: ""};
1642
+
1643
+ // Cache for extended theme to avoid redundant lookups
1644
+ const extendedThemeCache = new Map();
1645
+
1646
+ /**
1647
+ * Get extended theme value
1648
+ * @param {string} key - Theme key (e.g., 'colors', 'spacing')
1649
+ * @returns {Object} Extended theme values
1650
+ */
1651
+ function getExtendedTheme(key) {
1652
+ // Check cache first
1653
+ if (extendedThemeCache.has(key)) {
1654
+ return extendedThemeCache.get(key);
1655
+ }
1656
+ const result = userConfig.theme.extend[key] || {};
1657
+
1658
+ // Cache the result
1659
+ extendedThemeCache.set(key, result);
1660
+ return result;
1661
+ }
1662
+
1663
+ /**
1664
+ * Get configured prefix
1665
+ * @returns {string} Prefix string
1666
+ */
1667
+ function getPrefix() {
1668
+ return userConfig.prefix;
1669
+ }
1670
+
1671
+ function isFunction(functionToCheck) {
1672
+ return functionToCheck && {}.toString.call(functionToCheck) === "[object Function]";
1673
+ }
1674
+ function getConfigOptions() {
1675
+ let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1676
+ const {
1677
+ theme = {}
1678
+ } = options;
1679
+ const {
1680
+ extend: themeExtend = {}
1681
+ } = theme;
1682
+ const newTheme = {};
1683
+ const themeKeys = Object.keys(configOptions.theme);
1684
+ themeKeys.forEach(key => {
1685
+ newTheme[key] = theme[key] || configOptions.theme[key];
1686
+ if (isFunction(newTheme[key])) {
1687
+ newTheme[key] = newTheme[key]({
1688
+ theme: keyRef => {
1689
+ return configOptions.theme[keyRef];
1690
+ }
1691
+ });
1692
+ }
1693
+ });
1694
+ themeKeys.forEach(key => {
1695
+ if (isFunction(newTheme[key])) {
1696
+ newTheme[key] = newTheme[key]({
1697
+ theme: keyRef => {
1698
+ return newTheme[keyRef];
1699
+ }
1700
+ });
1701
+ }
1702
+ if (themeExtend[key]) {
1703
+ newTheme[key] = Object.assign({}, newTheme[key], themeExtend[key]);
1704
+ }
1705
+ });
1706
+ themeKeys.forEach(key => {
1707
+ const extended = getExtendedTheme(key);
1708
+ if (extended && Object.keys(extended).length > 0) {
1709
+ newTheme[key] = Object.assign({}, newTheme[key], extended);
1710
+ }
1711
+ });
1712
+
1713
+ // Re-resolve theme functions after all extensions are applied
1714
+ // This ensures that theme functions like backgroundColor: ({ theme }) => theme("colors")
1715
+ // get the updated colors including custom theme extensions
1716
+ themeKeys.forEach(key => {
1717
+ if (isFunction(configOptions.theme[key])) {
1718
+ newTheme[key] = configOptions.theme[key]({
1719
+ theme: keyRef => {
1720
+ return newTheme[keyRef];
1721
+ }
1722
+ });
1723
+ }
1724
+ });
1725
+
1726
+ // Get user prefix
1727
+ const userPrefix = getPrefix();
1728
+ const finalPrefix = userPrefix || options.prefix || "";
1729
+ return {
1730
+ prefix: finalPrefix,
1731
+ ...configOptions,
1732
+ ...options,
1733
+ theme: newTheme
1734
+ };
1735
+ }
1736
+ function generateCssString() {
1737
+ let getCssString = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : () => {};
1738
+ const orientationPrefix = "";
1739
+ const hexToRgb = hex => {
1740
+ const rgba = hex.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i, function () {
1741
+ return "#" + (arguments.length <= 1 ? undefined : arguments[1]) + (arguments.length <= 1 ? undefined : arguments[1]) + (arguments.length <= 2 ? undefined : arguments[2]) + (arguments.length <= 2 ? undefined : arguments[2]) + (arguments.length <= 3 ? undefined : arguments[3]) + (arguments.length <= 3 ? undefined : arguments[3]);
1742
+ }).substring(1).match(/.{2}/g).map(x => parseInt(x, 16)).join(",");
1743
+ if (rgba.indexOf("NaN") >= 0) return "";
1744
+ return rgba;
1745
+ };
1746
+ const getCssByOptions = function () {
1747
+ let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1748
+ let getStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : () => {};
1749
+ let nOptions = Object.assign({}, options);
1750
+ if (Array.isArray(options)) {
1751
+ nOptions = options.reduce((currentObj, value) => Object.assign({}, currentObj, {
1752
+ [value]: value
1753
+ }), {});
1754
+ }
1755
+ let str = "";
1756
+ Object.entries(nOptions).forEach(_ref => {
1757
+ let [key, value] = _ref;
1758
+ str += getStr(key.replace("/", "\\/").replace(".", "\\."), value);
1759
+ });
1760
+ return str;
1761
+ };
1762
+ const getCssByColors = function (colors) {
1763
+ let getStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : () => {};
1764
+ let str = "";
1765
+ Object.entries(colors).forEach(_ref2 => {
1766
+ let [key1, value1] = _ref2;
1767
+ if (typeof value1 === "string") {
1768
+ str += `${getStr(key1, value1, hexToRgb(value1))} `;
1769
+ } else if (typeof value1 === "object") {
1770
+ Object.entries(value1).forEach(_ref3 => {
1771
+ let [key2, value2] = _ref3;
1772
+ str += `${getStr(`${key1}-${key2}`, value2, hexToRgb(value2))} `;
1773
+ });
1774
+ }
1775
+ });
1776
+ return str;
1777
+ };
1778
+ const isValidCssColor = value => {
1779
+ if (typeof value !== "string") return false;
1780
+ const hexColor = /^#(?:[0-9a-fA-F]{3}){1,2}$/;
1781
+ const rgbColor = /^rgb\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*\)$/;
1782
+ const rgbaColor = /^rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*(0|1|0?\.\d+)\s*\)$/;
1783
+ const hslColor = /^hsl\(\s*\d+\s*,\s*\d+%\s*,\s*\d+%\s*\)$/;
1784
+ const hslaColor = /^hsla\(\s*\d+\s*,\s*\d+%\s*,\s*\d+%\s*,\s*(0|1|0?\.\d+)\s*\)$/;
1785
+ return [hexColor.test(value), rgbColor.test(value), rgbaColor.test(value), hslColor.test(value), hslaColor.test(value)].includes(true);
1786
+ };
1787
+ const cssString = getCssString({
1788
+ orientationPrefix,
1789
+ getCssByOptions,
1790
+ getCssByColors,
1791
+ isValidCssColor
1792
+ });
1793
+ return cssString;
1794
+ }
1795
+
1796
+ exports.generateCssString = generateCssString;
1797
+ exports.getConfigOptions = getConfigOptions;