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