@lizzy-liang-bigstack/theme 0.0.1

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.
package/dist/index.mjs ADDED
@@ -0,0 +1,1811 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __commonJS = (cb, mod) => function __require() {
8
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
19
+ // If the importer is in node compatibility mode or this is not an ESM
20
+ // file that has been converted to a CommonJS file using a Babel-
21
+ // compatible transform (i.e. "__esModule" has not been set), then set
22
+ // "default" to the CommonJS "module.exports" for node compatibility.
23
+ __defProp(target, "default", { value: mod, enumerable: true }) ,
24
+ mod
25
+ ));
26
+
27
+ // ../../node_modules/.pnpm/tailwindcss@3.4.19_yaml@2.9.0/node_modules/tailwindcss/lib/util/cloneDeep.js
28
+ var require_cloneDeep = __commonJS({
29
+ "../../node_modules/.pnpm/tailwindcss@3.4.19_yaml@2.9.0/node_modules/tailwindcss/lib/util/cloneDeep.js"(exports) {
30
+ Object.defineProperty(exports, "__esModule", {
31
+ value: true
32
+ });
33
+ Object.defineProperty(exports, "cloneDeep", {
34
+ enumerable: true,
35
+ get: function() {
36
+ return cloneDeep;
37
+ }
38
+ });
39
+ function cloneDeep(value) {
40
+ if (Array.isArray(value)) {
41
+ return value.map((child) => cloneDeep(child));
42
+ }
43
+ if (typeof value === "object" && value !== null) {
44
+ return Object.fromEntries(Object.entries(value).map(([k, v]) => [
45
+ k,
46
+ cloneDeep(v)
47
+ ]));
48
+ }
49
+ return value;
50
+ }
51
+ }
52
+ });
53
+
54
+ // ../../node_modules/.pnpm/tailwindcss@3.4.19_yaml@2.9.0/node_modules/tailwindcss/stubs/config.full.js
55
+ var require_config_full = __commonJS({
56
+ "../../node_modules/.pnpm/tailwindcss@3.4.19_yaml@2.9.0/node_modules/tailwindcss/stubs/config.full.js"(exports, module) {
57
+ module.exports = {
58
+ content: [],
59
+ presets: [],
60
+ darkMode: "media",
61
+ // or 'class'
62
+ theme: {
63
+ accentColor: ({ theme }) => ({
64
+ ...theme("colors"),
65
+ auto: "auto"
66
+ }),
67
+ animation: {
68
+ none: "none",
69
+ spin: "spin 1s linear infinite",
70
+ ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",
71
+ pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
72
+ bounce: "bounce 1s infinite"
73
+ },
74
+ aria: {
75
+ busy: 'busy="true"',
76
+ checked: 'checked="true"',
77
+ disabled: 'disabled="true"',
78
+ expanded: 'expanded="true"',
79
+ hidden: 'hidden="true"',
80
+ pressed: 'pressed="true"',
81
+ readonly: 'readonly="true"',
82
+ required: 'required="true"',
83
+ selected: 'selected="true"'
84
+ },
85
+ aspectRatio: {
86
+ auto: "auto",
87
+ square: "1 / 1",
88
+ video: "16 / 9"
89
+ },
90
+ backdropBlur: ({ theme }) => theme("blur"),
91
+ backdropBrightness: ({ theme }) => theme("brightness"),
92
+ backdropContrast: ({ theme }) => theme("contrast"),
93
+ backdropGrayscale: ({ theme }) => theme("grayscale"),
94
+ backdropHueRotate: ({ theme }) => theme("hueRotate"),
95
+ backdropInvert: ({ theme }) => theme("invert"),
96
+ backdropOpacity: ({ theme }) => theme("opacity"),
97
+ backdropSaturate: ({ theme }) => theme("saturate"),
98
+ backdropSepia: ({ theme }) => theme("sepia"),
99
+ backgroundColor: ({ theme }) => theme("colors"),
100
+ backgroundImage: {
101
+ none: "none",
102
+ "gradient-to-t": "linear-gradient(to top, var(--tw-gradient-stops))",
103
+ "gradient-to-tr": "linear-gradient(to top right, var(--tw-gradient-stops))",
104
+ "gradient-to-r": "linear-gradient(to right, var(--tw-gradient-stops))",
105
+ "gradient-to-br": "linear-gradient(to bottom right, var(--tw-gradient-stops))",
106
+ "gradient-to-b": "linear-gradient(to bottom, var(--tw-gradient-stops))",
107
+ "gradient-to-bl": "linear-gradient(to bottom left, var(--tw-gradient-stops))",
108
+ "gradient-to-l": "linear-gradient(to left, var(--tw-gradient-stops))",
109
+ "gradient-to-tl": "linear-gradient(to top left, var(--tw-gradient-stops))"
110
+ },
111
+ backgroundOpacity: ({ theme }) => theme("opacity"),
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: "",
131
+ sm: "4px",
132
+ DEFAULT: "8px",
133
+ md: "12px",
134
+ lg: "16px",
135
+ xl: "24px",
136
+ "2xl": "40px",
137
+ "3xl": "64px"
138
+ },
139
+ borderColor: ({ theme }) => ({
140
+ ...theme("colors"),
141
+ DEFAULT: theme("colors.gray.200", "currentColor")
142
+ }),
143
+ borderOpacity: ({ theme }) => theme("opacity"),
144
+ borderRadius: {
145
+ none: "0px",
146
+ sm: "0.125rem",
147
+ DEFAULT: "0.25rem",
148
+ md: "0.375rem",
149
+ lg: "0.5rem",
150
+ xl: "0.75rem",
151
+ "2xl": "1rem",
152
+ "3xl": "1.5rem",
153
+ full: "9999px"
154
+ },
155
+ borderSpacing: ({ theme }) => ({
156
+ ...theme("spacing")
157
+ }),
158
+ borderWidth: {
159
+ DEFAULT: "1px",
160
+ 0: "0px",
161
+ 2: "2px",
162
+ 4: "4px",
163
+ 8: "8px"
164
+ },
165
+ boxShadow: {
166
+ sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
167
+ DEFAULT: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
168
+ md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
169
+ lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
170
+ xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
171
+ "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
172
+ inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
173
+ none: "none"
174
+ },
175
+ boxShadowColor: ({ theme }) => theme("colors"),
176
+ brightness: {
177
+ 0: "0",
178
+ 50: ".5",
179
+ 75: ".75",
180
+ 90: ".9",
181
+ 95: ".95",
182
+ 100: "1",
183
+ 105: "1.05",
184
+ 110: "1.1",
185
+ 125: "1.25",
186
+ 150: "1.5",
187
+ 200: "2"
188
+ },
189
+ caretColor: ({ theme }) => theme("colors"),
190
+ colors: ({ colors }) => ({
191
+ inherit: colors.inherit,
192
+ current: colors.current,
193
+ transparent: colors.transparent,
194
+ black: colors.black,
195
+ white: colors.white,
196
+ slate: colors.slate,
197
+ gray: colors.gray,
198
+ zinc: colors.zinc,
199
+ neutral: colors.neutral,
200
+ stone: colors.stone,
201
+ red: colors.red,
202
+ orange: colors.orange,
203
+ amber: colors.amber,
204
+ yellow: colors.yellow,
205
+ lime: colors.lime,
206
+ green: colors.green,
207
+ emerald: colors.emerald,
208
+ teal: colors.teal,
209
+ cyan: colors.cyan,
210
+ sky: colors.sky,
211
+ blue: colors.blue,
212
+ indigo: colors.indigo,
213
+ violet: colors.violet,
214
+ purple: colors.purple,
215
+ fuchsia: colors.fuchsia,
216
+ pink: colors.pink,
217
+ rose: colors.rose
218
+ }),
219
+ columns: {
220
+ auto: "auto",
221
+ 1: "1",
222
+ 2: "2",
223
+ 3: "3",
224
+ 4: "4",
225
+ 5: "5",
226
+ 6: "6",
227
+ 7: "7",
228
+ 8: "8",
229
+ 9: "9",
230
+ 10: "10",
231
+ 11: "11",
232
+ 12: "12",
233
+ "3xs": "16rem",
234
+ "2xs": "18rem",
235
+ xs: "20rem",
236
+ sm: "24rem",
237
+ md: "28rem",
238
+ lg: "32rem",
239
+ xl: "36rem",
240
+ "2xl": "42rem",
241
+ "3xl": "48rem",
242
+ "4xl": "56rem",
243
+ "5xl": "64rem",
244
+ "6xl": "72rem",
245
+ "7xl": "80rem"
246
+ },
247
+ container: {},
248
+ content: {
249
+ none: "none"
250
+ },
251
+ contrast: {
252
+ 0: "0",
253
+ 50: ".5",
254
+ 75: ".75",
255
+ 100: "1",
256
+ 125: "1.25",
257
+ 150: "1.5",
258
+ 200: "2"
259
+ },
260
+ cursor: {
261
+ auto: "auto",
262
+ default: "default",
263
+ pointer: "pointer",
264
+ wait: "wait",
265
+ text: "text",
266
+ move: "move",
267
+ help: "help",
268
+ "not-allowed": "not-allowed",
269
+ none: "none",
270
+ "context-menu": "context-menu",
271
+ progress: "progress",
272
+ cell: "cell",
273
+ crosshair: "crosshair",
274
+ "vertical-text": "vertical-text",
275
+ alias: "alias",
276
+ copy: "copy",
277
+ "no-drop": "no-drop",
278
+ grab: "grab",
279
+ grabbing: "grabbing",
280
+ "all-scroll": "all-scroll",
281
+ "col-resize": "col-resize",
282
+ "row-resize": "row-resize",
283
+ "n-resize": "n-resize",
284
+ "e-resize": "e-resize",
285
+ "s-resize": "s-resize",
286
+ "w-resize": "w-resize",
287
+ "ne-resize": "ne-resize",
288
+ "nw-resize": "nw-resize",
289
+ "se-resize": "se-resize",
290
+ "sw-resize": "sw-resize",
291
+ "ew-resize": "ew-resize",
292
+ "ns-resize": "ns-resize",
293
+ "nesw-resize": "nesw-resize",
294
+ "nwse-resize": "nwse-resize",
295
+ "zoom-in": "zoom-in",
296
+ "zoom-out": "zoom-out"
297
+ },
298
+ divideColor: ({ theme }) => theme("borderColor"),
299
+ divideOpacity: ({ theme }) => theme("borderOpacity"),
300
+ divideWidth: ({ theme }) => theme("borderWidth"),
301
+ dropShadow: {
302
+ sm: "0 1px 1px rgb(0 0 0 / 0.05)",
303
+ DEFAULT: ["0 1px 2px rgb(0 0 0 / 0.1)", "0 1px 1px rgb(0 0 0 / 0.06)"],
304
+ md: ["0 4px 3px rgb(0 0 0 / 0.07)", "0 2px 2px rgb(0 0 0 / 0.06)"],
305
+ lg: ["0 10px 8px rgb(0 0 0 / 0.04)", "0 4px 3px rgb(0 0 0 / 0.1)"],
306
+ xl: ["0 20px 13px rgb(0 0 0 / 0.03)", "0 8px 5px rgb(0 0 0 / 0.08)"],
307
+ "2xl": "0 25px 25px rgb(0 0 0 / 0.15)",
308
+ none: "0 0 #0000"
309
+ },
310
+ fill: ({ theme }) => ({
311
+ none: "none",
312
+ ...theme("colors")
313
+ }),
314
+ flex: {
315
+ 1: "1 1 0%",
316
+ auto: "1 1 auto",
317
+ initial: "0 1 auto",
318
+ none: "none"
319
+ },
320
+ flexBasis: ({ theme }) => ({
321
+ auto: "auto",
322
+ ...theme("spacing"),
323
+ "1/2": "50%",
324
+ "1/3": "33.333333%",
325
+ "2/3": "66.666667%",
326
+ "1/4": "25%",
327
+ "2/4": "50%",
328
+ "3/4": "75%",
329
+ "1/5": "20%",
330
+ "2/5": "40%",
331
+ "3/5": "60%",
332
+ "4/5": "80%",
333
+ "1/6": "16.666667%",
334
+ "2/6": "33.333333%",
335
+ "3/6": "50%",
336
+ "4/6": "66.666667%",
337
+ "5/6": "83.333333%",
338
+ "1/12": "8.333333%",
339
+ "2/12": "16.666667%",
340
+ "3/12": "25%",
341
+ "4/12": "33.333333%",
342
+ "5/12": "41.666667%",
343
+ "6/12": "50%",
344
+ "7/12": "58.333333%",
345
+ "8/12": "66.666667%",
346
+ "9/12": "75%",
347
+ "10/12": "83.333333%",
348
+ "11/12": "91.666667%",
349
+ full: "100%"
350
+ }),
351
+ flexGrow: {
352
+ 0: "0",
353
+ DEFAULT: "1"
354
+ },
355
+ flexShrink: {
356
+ 0: "0",
357
+ DEFAULT: "1"
358
+ },
359
+ fontFamily: {
360
+ sans: [
361
+ "ui-sans-serif",
362
+ "system-ui",
363
+ "sans-serif",
364
+ '"Apple Color Emoji"',
365
+ '"Segoe UI Emoji"',
366
+ '"Segoe UI Symbol"',
367
+ '"Noto Color Emoji"'
368
+ ],
369
+ serif: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"],
370
+ mono: [
371
+ "ui-monospace",
372
+ "SFMono-Regular",
373
+ "Menlo",
374
+ "Monaco",
375
+ "Consolas",
376
+ '"Liberation Mono"',
377
+ '"Courier New"',
378
+ "monospace"
379
+ ]
380
+ },
381
+ fontSize: {
382
+ xs: ["0.75rem", { lineHeight: "1rem" }],
383
+ sm: ["0.875rem", { lineHeight: "1.25rem" }],
384
+ base: ["1rem", { lineHeight: "1.5rem" }],
385
+ lg: ["1.125rem", { lineHeight: "1.75rem" }],
386
+ xl: ["1.25rem", { lineHeight: "1.75rem" }],
387
+ "2xl": ["1.5rem", { lineHeight: "2rem" }],
388
+ "3xl": ["1.875rem", { lineHeight: "2.25rem" }],
389
+ "4xl": ["2.25rem", { lineHeight: "2.5rem" }],
390
+ "5xl": ["3rem", { lineHeight: "1" }],
391
+ "6xl": ["3.75rem", { lineHeight: "1" }],
392
+ "7xl": ["4.5rem", { lineHeight: "1" }],
393
+ "8xl": ["6rem", { lineHeight: "1" }],
394
+ "9xl": ["8rem", { lineHeight: "1" }]
395
+ },
396
+ fontWeight: {
397
+ thin: "100",
398
+ extralight: "200",
399
+ light: "300",
400
+ normal: "400",
401
+ medium: "500",
402
+ semibold: "600",
403
+ bold: "700",
404
+ extrabold: "800",
405
+ black: "900"
406
+ },
407
+ gap: ({ theme }) => theme("spacing"),
408
+ gradientColorStops: ({ theme }) => theme("colors"),
409
+ gradientColorStopPositions: {
410
+ "0%": "0%",
411
+ "5%": "5%",
412
+ "10%": "10%",
413
+ "15%": "15%",
414
+ "20%": "20%",
415
+ "25%": "25%",
416
+ "30%": "30%",
417
+ "35%": "35%",
418
+ "40%": "40%",
419
+ "45%": "45%",
420
+ "50%": "50%",
421
+ "55%": "55%",
422
+ "60%": "60%",
423
+ "65%": "65%",
424
+ "70%": "70%",
425
+ "75%": "75%",
426
+ "80%": "80%",
427
+ "85%": "85%",
428
+ "90%": "90%",
429
+ "95%": "95%",
430
+ "100%": "100%"
431
+ },
432
+ grayscale: {
433
+ 0: "0",
434
+ DEFAULT: "100%"
435
+ },
436
+ gridAutoColumns: {
437
+ auto: "auto",
438
+ min: "min-content",
439
+ max: "max-content",
440
+ fr: "minmax(0, 1fr)"
441
+ },
442
+ gridAutoRows: {
443
+ auto: "auto",
444
+ min: "min-content",
445
+ max: "max-content",
446
+ fr: "minmax(0, 1fr)"
447
+ },
448
+ gridColumn: {
449
+ auto: "auto",
450
+ "span-1": "span 1 / span 1",
451
+ "span-2": "span 2 / span 2",
452
+ "span-3": "span 3 / span 3",
453
+ "span-4": "span 4 / span 4",
454
+ "span-5": "span 5 / span 5",
455
+ "span-6": "span 6 / span 6",
456
+ "span-7": "span 7 / span 7",
457
+ "span-8": "span 8 / span 8",
458
+ "span-9": "span 9 / span 9",
459
+ "span-10": "span 10 / span 10",
460
+ "span-11": "span 11 / span 11",
461
+ "span-12": "span 12 / span 12",
462
+ "span-full": "1 / -1"
463
+ },
464
+ gridColumnEnd: {
465
+ auto: "auto",
466
+ 1: "1",
467
+ 2: "2",
468
+ 3: "3",
469
+ 4: "4",
470
+ 5: "5",
471
+ 6: "6",
472
+ 7: "7",
473
+ 8: "8",
474
+ 9: "9",
475
+ 10: "10",
476
+ 11: "11",
477
+ 12: "12",
478
+ 13: "13"
479
+ },
480
+ gridColumnStart: {
481
+ auto: "auto",
482
+ 1: "1",
483
+ 2: "2",
484
+ 3: "3",
485
+ 4: "4",
486
+ 5: "5",
487
+ 6: "6",
488
+ 7: "7",
489
+ 8: "8",
490
+ 9: "9",
491
+ 10: "10",
492
+ 11: "11",
493
+ 12: "12",
494
+ 13: "13"
495
+ },
496
+ gridRow: {
497
+ auto: "auto",
498
+ "span-1": "span 1 / span 1",
499
+ "span-2": "span 2 / span 2",
500
+ "span-3": "span 3 / span 3",
501
+ "span-4": "span 4 / span 4",
502
+ "span-5": "span 5 / span 5",
503
+ "span-6": "span 6 / span 6",
504
+ "span-7": "span 7 / span 7",
505
+ "span-8": "span 8 / span 8",
506
+ "span-9": "span 9 / span 9",
507
+ "span-10": "span 10 / span 10",
508
+ "span-11": "span 11 / span 11",
509
+ "span-12": "span 12 / span 12",
510
+ "span-full": "1 / -1"
511
+ },
512
+ gridRowEnd: {
513
+ auto: "auto",
514
+ 1: "1",
515
+ 2: "2",
516
+ 3: "3",
517
+ 4: "4",
518
+ 5: "5",
519
+ 6: "6",
520
+ 7: "7",
521
+ 8: "8",
522
+ 9: "9",
523
+ 10: "10",
524
+ 11: "11",
525
+ 12: "12",
526
+ 13: "13"
527
+ },
528
+ gridRowStart: {
529
+ auto: "auto",
530
+ 1: "1",
531
+ 2: "2",
532
+ 3: "3",
533
+ 4: "4",
534
+ 5: "5",
535
+ 6: "6",
536
+ 7: "7",
537
+ 8: "8",
538
+ 9: "9",
539
+ 10: "10",
540
+ 11: "11",
541
+ 12: "12",
542
+ 13: "13"
543
+ },
544
+ gridTemplateColumns: {
545
+ none: "none",
546
+ subgrid: "subgrid",
547
+ 1: "repeat(1, minmax(0, 1fr))",
548
+ 2: "repeat(2, minmax(0, 1fr))",
549
+ 3: "repeat(3, minmax(0, 1fr))",
550
+ 4: "repeat(4, minmax(0, 1fr))",
551
+ 5: "repeat(5, minmax(0, 1fr))",
552
+ 6: "repeat(6, minmax(0, 1fr))",
553
+ 7: "repeat(7, minmax(0, 1fr))",
554
+ 8: "repeat(8, minmax(0, 1fr))",
555
+ 9: "repeat(9, minmax(0, 1fr))",
556
+ 10: "repeat(10, minmax(0, 1fr))",
557
+ 11: "repeat(11, minmax(0, 1fr))",
558
+ 12: "repeat(12, minmax(0, 1fr))"
559
+ },
560
+ gridTemplateRows: {
561
+ none: "none",
562
+ subgrid: "subgrid",
563
+ 1: "repeat(1, minmax(0, 1fr))",
564
+ 2: "repeat(2, minmax(0, 1fr))",
565
+ 3: "repeat(3, minmax(0, 1fr))",
566
+ 4: "repeat(4, minmax(0, 1fr))",
567
+ 5: "repeat(5, minmax(0, 1fr))",
568
+ 6: "repeat(6, minmax(0, 1fr))",
569
+ 7: "repeat(7, minmax(0, 1fr))",
570
+ 8: "repeat(8, minmax(0, 1fr))",
571
+ 9: "repeat(9, minmax(0, 1fr))",
572
+ 10: "repeat(10, minmax(0, 1fr))",
573
+ 11: "repeat(11, minmax(0, 1fr))",
574
+ 12: "repeat(12, minmax(0, 1fr))"
575
+ },
576
+ height: ({ theme }) => ({
577
+ auto: "auto",
578
+ ...theme("spacing"),
579
+ "1/2": "50%",
580
+ "1/3": "33.333333%",
581
+ "2/3": "66.666667%",
582
+ "1/4": "25%",
583
+ "2/4": "50%",
584
+ "3/4": "75%",
585
+ "1/5": "20%",
586
+ "2/5": "40%",
587
+ "3/5": "60%",
588
+ "4/5": "80%",
589
+ "1/6": "16.666667%",
590
+ "2/6": "33.333333%",
591
+ "3/6": "50%",
592
+ "4/6": "66.666667%",
593
+ "5/6": "83.333333%",
594
+ full: "100%",
595
+ screen: "100vh",
596
+ svh: "100svh",
597
+ lvh: "100lvh",
598
+ dvh: "100dvh",
599
+ min: "min-content",
600
+ max: "max-content",
601
+ fit: "fit-content"
602
+ }),
603
+ hueRotate: {
604
+ 0: "0deg",
605
+ 15: "15deg",
606
+ 30: "30deg",
607
+ 60: "60deg",
608
+ 90: "90deg",
609
+ 180: "180deg"
610
+ },
611
+ inset: ({ theme }) => ({
612
+ auto: "auto",
613
+ ...theme("spacing"),
614
+ "1/2": "50%",
615
+ "1/3": "33.333333%",
616
+ "2/3": "66.666667%",
617
+ "1/4": "25%",
618
+ "2/4": "50%",
619
+ "3/4": "75%",
620
+ full: "100%"
621
+ }),
622
+ invert: {
623
+ 0: "0",
624
+ DEFAULT: "100%"
625
+ },
626
+ keyframes: {
627
+ spin: {
628
+ to: {
629
+ transform: "rotate(360deg)"
630
+ }
631
+ },
632
+ ping: {
633
+ "75%, 100%": {
634
+ transform: "scale(2)",
635
+ opacity: "0"
636
+ }
637
+ },
638
+ pulse: {
639
+ "50%": {
640
+ opacity: ".5"
641
+ }
642
+ },
643
+ bounce: {
644
+ "0%, 100%": {
645
+ transform: "translateY(-25%)",
646
+ animationTimingFunction: "cubic-bezier(0.8,0,1,1)"
647
+ },
648
+ "50%": {
649
+ transform: "none",
650
+ animationTimingFunction: "cubic-bezier(0,0,0.2,1)"
651
+ }
652
+ }
653
+ },
654
+ letterSpacing: {
655
+ tighter: "-0.05em",
656
+ tight: "-0.025em",
657
+ normal: "0em",
658
+ wide: "0.025em",
659
+ wider: "0.05em",
660
+ widest: "0.1em"
661
+ },
662
+ lineHeight: {
663
+ none: "1",
664
+ tight: "1.25",
665
+ snug: "1.375",
666
+ normal: "1.5",
667
+ relaxed: "1.625",
668
+ loose: "2",
669
+ 3: ".75rem",
670
+ 4: "1rem",
671
+ 5: "1.25rem",
672
+ 6: "1.5rem",
673
+ 7: "1.75rem",
674
+ 8: "2rem",
675
+ 9: "2.25rem",
676
+ 10: "2.5rem"
677
+ },
678
+ listStyleType: {
679
+ none: "none",
680
+ disc: "disc",
681
+ decimal: "decimal"
682
+ },
683
+ listStyleImage: {
684
+ none: "none"
685
+ },
686
+ margin: ({ theme }) => ({
687
+ auto: "auto",
688
+ ...theme("spacing")
689
+ }),
690
+ lineClamp: {
691
+ 1: "1",
692
+ 2: "2",
693
+ 3: "3",
694
+ 4: "4",
695
+ 5: "5",
696
+ 6: "6"
697
+ },
698
+ maxHeight: ({ theme }) => ({
699
+ ...theme("spacing"),
700
+ none: "none",
701
+ full: "100%",
702
+ screen: "100vh",
703
+ svh: "100svh",
704
+ lvh: "100lvh",
705
+ dvh: "100dvh",
706
+ min: "min-content",
707
+ max: "max-content",
708
+ fit: "fit-content"
709
+ }),
710
+ maxWidth: ({ theme, breakpoints }) => ({
711
+ ...theme("spacing"),
712
+ none: "none",
713
+ xs: "20rem",
714
+ sm: "24rem",
715
+ md: "28rem",
716
+ lg: "32rem",
717
+ xl: "36rem",
718
+ "2xl": "42rem",
719
+ "3xl": "48rem",
720
+ "4xl": "56rem",
721
+ "5xl": "64rem",
722
+ "6xl": "72rem",
723
+ "7xl": "80rem",
724
+ full: "100%",
725
+ min: "min-content",
726
+ max: "max-content",
727
+ fit: "fit-content",
728
+ prose: "65ch",
729
+ ...breakpoints(theme("screens"))
730
+ }),
731
+ minHeight: ({ theme }) => ({
732
+ ...theme("spacing"),
733
+ full: "100%",
734
+ screen: "100vh",
735
+ svh: "100svh",
736
+ lvh: "100lvh",
737
+ dvh: "100dvh",
738
+ min: "min-content",
739
+ max: "max-content",
740
+ fit: "fit-content"
741
+ }),
742
+ minWidth: ({ theme }) => ({
743
+ ...theme("spacing"),
744
+ full: "100%",
745
+ min: "min-content",
746
+ max: "max-content",
747
+ fit: "fit-content"
748
+ }),
749
+ objectPosition: {
750
+ bottom: "bottom",
751
+ center: "center",
752
+ left: "left",
753
+ "left-bottom": "left bottom",
754
+ "left-top": "left top",
755
+ right: "right",
756
+ "right-bottom": "right bottom",
757
+ "right-top": "right top",
758
+ top: "top"
759
+ },
760
+ opacity: {
761
+ 0: "0",
762
+ 5: "0.05",
763
+ 10: "0.1",
764
+ 15: "0.15",
765
+ 20: "0.2",
766
+ 25: "0.25",
767
+ 30: "0.3",
768
+ 35: "0.35",
769
+ 40: "0.4",
770
+ 45: "0.45",
771
+ 50: "0.5",
772
+ 55: "0.55",
773
+ 60: "0.6",
774
+ 65: "0.65",
775
+ 70: "0.7",
776
+ 75: "0.75",
777
+ 80: "0.8",
778
+ 85: "0.85",
779
+ 90: "0.9",
780
+ 95: "0.95",
781
+ 100: "1"
782
+ },
783
+ order: {
784
+ first: "-9999",
785
+ last: "9999",
786
+ none: "0",
787
+ 1: "1",
788
+ 2: "2",
789
+ 3: "3",
790
+ 4: "4",
791
+ 5: "5",
792
+ 6: "6",
793
+ 7: "7",
794
+ 8: "8",
795
+ 9: "9",
796
+ 10: "10",
797
+ 11: "11",
798
+ 12: "12"
799
+ },
800
+ outlineColor: ({ theme }) => theme("colors"),
801
+ outlineOffset: {
802
+ 0: "0px",
803
+ 1: "1px",
804
+ 2: "2px",
805
+ 4: "4px",
806
+ 8: "8px"
807
+ },
808
+ outlineWidth: {
809
+ 0: "0px",
810
+ 1: "1px",
811
+ 2: "2px",
812
+ 4: "4px",
813
+ 8: "8px"
814
+ },
815
+ padding: ({ theme }) => theme("spacing"),
816
+ placeholderColor: ({ theme }) => theme("colors"),
817
+ placeholderOpacity: ({ theme }) => theme("opacity"),
818
+ ringColor: ({ theme }) => ({
819
+ DEFAULT: theme("colors.blue.500", "#3b82f6"),
820
+ ...theme("colors")
821
+ }),
822
+ ringOffsetColor: ({ theme }) => theme("colors"),
823
+ ringOffsetWidth: {
824
+ 0: "0px",
825
+ 1: "1px",
826
+ 2: "2px",
827
+ 4: "4px",
828
+ 8: "8px"
829
+ },
830
+ ringOpacity: ({ theme }) => ({
831
+ DEFAULT: "0.5",
832
+ ...theme("opacity")
833
+ }),
834
+ ringWidth: {
835
+ DEFAULT: "3px",
836
+ 0: "0px",
837
+ 1: "1px",
838
+ 2: "2px",
839
+ 4: "4px",
840
+ 8: "8px"
841
+ },
842
+ rotate: {
843
+ 0: "0deg",
844
+ 1: "1deg",
845
+ 2: "2deg",
846
+ 3: "3deg",
847
+ 6: "6deg",
848
+ 12: "12deg",
849
+ 45: "45deg",
850
+ 90: "90deg",
851
+ 180: "180deg"
852
+ },
853
+ saturate: {
854
+ 0: "0",
855
+ 50: ".5",
856
+ 100: "1",
857
+ 150: "1.5",
858
+ 200: "2"
859
+ },
860
+ scale: {
861
+ 0: "0",
862
+ 50: ".5",
863
+ 75: ".75",
864
+ 90: ".9",
865
+ 95: ".95",
866
+ 100: "1",
867
+ 105: "1.05",
868
+ 110: "1.1",
869
+ 125: "1.25",
870
+ 150: "1.5"
871
+ },
872
+ screens: {
873
+ sm: "640px",
874
+ md: "768px",
875
+ lg: "1024px",
876
+ xl: "1280px",
877
+ "2xl": "1536px"
878
+ },
879
+ scrollMargin: ({ theme }) => ({
880
+ ...theme("spacing")
881
+ }),
882
+ scrollPadding: ({ theme }) => theme("spacing"),
883
+ sepia: {
884
+ 0: "0",
885
+ DEFAULT: "100%"
886
+ },
887
+ skew: {
888
+ 0: "0deg",
889
+ 1: "1deg",
890
+ 2: "2deg",
891
+ 3: "3deg",
892
+ 6: "6deg",
893
+ 12: "12deg"
894
+ },
895
+ space: ({ theme }) => ({
896
+ ...theme("spacing")
897
+ }),
898
+ spacing: {
899
+ px: "1px",
900
+ 0: "0px",
901
+ 0.5: "0.125rem",
902
+ 1: "0.25rem",
903
+ 1.5: "0.375rem",
904
+ 2: "0.5rem",
905
+ 2.5: "0.625rem",
906
+ 3: "0.75rem",
907
+ 3.5: "0.875rem",
908
+ 4: "1rem",
909
+ 5: "1.25rem",
910
+ 6: "1.5rem",
911
+ 7: "1.75rem",
912
+ 8: "2rem",
913
+ 9: "2.25rem",
914
+ 10: "2.5rem",
915
+ 11: "2.75rem",
916
+ 12: "3rem",
917
+ 14: "3.5rem",
918
+ 16: "4rem",
919
+ 20: "5rem",
920
+ 24: "6rem",
921
+ 28: "7rem",
922
+ 32: "8rem",
923
+ 36: "9rem",
924
+ 40: "10rem",
925
+ 44: "11rem",
926
+ 48: "12rem",
927
+ 52: "13rem",
928
+ 56: "14rem",
929
+ 60: "15rem",
930
+ 64: "16rem",
931
+ 72: "18rem",
932
+ 80: "20rem",
933
+ 96: "24rem"
934
+ },
935
+ stroke: ({ theme }) => ({
936
+ none: "none",
937
+ ...theme("colors")
938
+ }),
939
+ strokeWidth: {
940
+ 0: "0",
941
+ 1: "1",
942
+ 2: "2"
943
+ },
944
+ supports: {},
945
+ data: {},
946
+ textColor: ({ theme }) => theme("colors"),
947
+ textDecorationColor: ({ theme }) => theme("colors"),
948
+ textDecorationThickness: {
949
+ auto: "auto",
950
+ "from-font": "from-font",
951
+ 0: "0px",
952
+ 1: "1px",
953
+ 2: "2px",
954
+ 4: "4px",
955
+ 8: "8px"
956
+ },
957
+ textIndent: ({ theme }) => ({
958
+ ...theme("spacing")
959
+ }),
960
+ textOpacity: ({ theme }) => theme("opacity"),
961
+ textUnderlineOffset: {
962
+ auto: "auto",
963
+ 0: "0px",
964
+ 1: "1px",
965
+ 2: "2px",
966
+ 4: "4px",
967
+ 8: "8px"
968
+ },
969
+ transformOrigin: {
970
+ center: "center",
971
+ top: "top",
972
+ "top-right": "top right",
973
+ right: "right",
974
+ "bottom-right": "bottom right",
975
+ bottom: "bottom",
976
+ "bottom-left": "bottom left",
977
+ left: "left",
978
+ "top-left": "top left"
979
+ },
980
+ transitionDelay: {
981
+ 0: "0s",
982
+ 75: "75ms",
983
+ 100: "100ms",
984
+ 150: "150ms",
985
+ 200: "200ms",
986
+ 300: "300ms",
987
+ 500: "500ms",
988
+ 700: "700ms",
989
+ 1e3: "1000ms"
990
+ },
991
+ transitionDuration: {
992
+ DEFAULT: "150ms",
993
+ 0: "0s",
994
+ 75: "75ms",
995
+ 100: "100ms",
996
+ 150: "150ms",
997
+ 200: "200ms",
998
+ 300: "300ms",
999
+ 500: "500ms",
1000
+ 700: "700ms",
1001
+ 1e3: "1000ms"
1002
+ },
1003
+ transitionProperty: {
1004
+ none: "none",
1005
+ all: "all",
1006
+ DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
1007
+ colors: "color, background-color, border-color, text-decoration-color, fill, stroke",
1008
+ opacity: "opacity",
1009
+ shadow: "box-shadow",
1010
+ transform: "transform"
1011
+ },
1012
+ transitionTimingFunction: {
1013
+ DEFAULT: "cubic-bezier(0.4, 0, 0.2, 1)",
1014
+ linear: "linear",
1015
+ in: "cubic-bezier(0.4, 0, 1, 1)",
1016
+ out: "cubic-bezier(0, 0, 0.2, 1)",
1017
+ "in-out": "cubic-bezier(0.4, 0, 0.2, 1)"
1018
+ },
1019
+ translate: ({ theme }) => ({
1020
+ ...theme("spacing"),
1021
+ "1/2": "50%",
1022
+ "1/3": "33.333333%",
1023
+ "2/3": "66.666667%",
1024
+ "1/4": "25%",
1025
+ "2/4": "50%",
1026
+ "3/4": "75%",
1027
+ full: "100%"
1028
+ }),
1029
+ size: ({ theme }) => ({
1030
+ auto: "auto",
1031
+ ...theme("spacing"),
1032
+ "1/2": "50%",
1033
+ "1/3": "33.333333%",
1034
+ "2/3": "66.666667%",
1035
+ "1/4": "25%",
1036
+ "2/4": "50%",
1037
+ "3/4": "75%",
1038
+ "1/5": "20%",
1039
+ "2/5": "40%",
1040
+ "3/5": "60%",
1041
+ "4/5": "80%",
1042
+ "1/6": "16.666667%",
1043
+ "2/6": "33.333333%",
1044
+ "3/6": "50%",
1045
+ "4/6": "66.666667%",
1046
+ "5/6": "83.333333%",
1047
+ "1/12": "8.333333%",
1048
+ "2/12": "16.666667%",
1049
+ "3/12": "25%",
1050
+ "4/12": "33.333333%",
1051
+ "5/12": "41.666667%",
1052
+ "6/12": "50%",
1053
+ "7/12": "58.333333%",
1054
+ "8/12": "66.666667%",
1055
+ "9/12": "75%",
1056
+ "10/12": "83.333333%",
1057
+ "11/12": "91.666667%",
1058
+ full: "100%",
1059
+ min: "min-content",
1060
+ max: "max-content",
1061
+ fit: "fit-content"
1062
+ }),
1063
+ width: ({ theme }) => ({
1064
+ auto: "auto",
1065
+ ...theme("spacing"),
1066
+ "1/2": "50%",
1067
+ "1/3": "33.333333%",
1068
+ "2/3": "66.666667%",
1069
+ "1/4": "25%",
1070
+ "2/4": "50%",
1071
+ "3/4": "75%",
1072
+ "1/5": "20%",
1073
+ "2/5": "40%",
1074
+ "3/5": "60%",
1075
+ "4/5": "80%",
1076
+ "1/6": "16.666667%",
1077
+ "2/6": "33.333333%",
1078
+ "3/6": "50%",
1079
+ "4/6": "66.666667%",
1080
+ "5/6": "83.333333%",
1081
+ "1/12": "8.333333%",
1082
+ "2/12": "16.666667%",
1083
+ "3/12": "25%",
1084
+ "4/12": "33.333333%",
1085
+ "5/12": "41.666667%",
1086
+ "6/12": "50%",
1087
+ "7/12": "58.333333%",
1088
+ "8/12": "66.666667%",
1089
+ "9/12": "75%",
1090
+ "10/12": "83.333333%",
1091
+ "11/12": "91.666667%",
1092
+ full: "100%",
1093
+ screen: "100vw",
1094
+ svw: "100svw",
1095
+ lvw: "100lvw",
1096
+ dvw: "100dvw",
1097
+ min: "min-content",
1098
+ max: "max-content",
1099
+ fit: "fit-content"
1100
+ }),
1101
+ willChange: {
1102
+ auto: "auto",
1103
+ scroll: "scroll-position",
1104
+ contents: "contents",
1105
+ transform: "transform"
1106
+ },
1107
+ zIndex: {
1108
+ auto: "auto",
1109
+ 0: "0",
1110
+ 10: "10",
1111
+ 20: "20",
1112
+ 30: "30",
1113
+ 40: "40",
1114
+ 50: "50"
1115
+ }
1116
+ },
1117
+ plugins: []
1118
+ };
1119
+ }
1120
+ });
1121
+
1122
+ // ../../node_modules/.pnpm/tailwindcss@3.4.19_yaml@2.9.0/node_modules/tailwindcss/lib/public/default-theme.js
1123
+ var require_default_theme = __commonJS({
1124
+ "../../node_modules/.pnpm/tailwindcss@3.4.19_yaml@2.9.0/node_modules/tailwindcss/lib/public/default-theme.js"(exports) {
1125
+ Object.defineProperty(exports, "__esModule", {
1126
+ value: true
1127
+ });
1128
+ Object.defineProperty(exports, "default", {
1129
+ enumerable: true,
1130
+ get: function() {
1131
+ return _default;
1132
+ }
1133
+ });
1134
+ var _cloneDeep = require_cloneDeep();
1135
+ var _configfull = /* @__PURE__ */ _interop_require_default(require_config_full());
1136
+ function _interop_require_default(obj) {
1137
+ return obj && obj.__esModule ? obj : {
1138
+ default: obj
1139
+ };
1140
+ }
1141
+ var _default = (0, _cloneDeep.cloneDeep)(_configfull.default.theme);
1142
+ }
1143
+ });
1144
+
1145
+ // ../../node_modules/.pnpm/tailwindcss@3.4.19_yaml@2.9.0/node_modules/tailwindcss/defaultTheme.js
1146
+ var require_defaultTheme = __commonJS({
1147
+ "../../node_modules/.pnpm/tailwindcss@3.4.19_yaml@2.9.0/node_modules/tailwindcss/defaultTheme.js"(exports, module) {
1148
+ var defaultTheme2 = require_default_theme();
1149
+ module.exports = (defaultTheme2.__esModule ? defaultTheme2 : { default: defaultTheme2 }).default;
1150
+ }
1151
+ });
1152
+
1153
+ // src/cubeTheme.ts
1154
+ var import_defaultTheme = __toESM(require_defaultTheme());
1155
+
1156
+ // src/utils/animationKeyframes.ts
1157
+ var skeletonKeyframes = {
1158
+ "cos-skeleton": {
1159
+ "100%": {
1160
+ backgroundPositionX: "-20%"
1161
+ }
1162
+ }
1163
+ };
1164
+ var dotSpinner45Keyframes = {
1165
+ "cos-dot-spinner-45-vector-0": {
1166
+ "0%, 100%": { opacity: "1" },
1167
+ "12.5%, 87.5%": { opacity: "0" }
1168
+ },
1169
+ "cos-dot-spinner-45-vector-1": {
1170
+ "0%, 25%, 100%": { opacity: "0" },
1171
+ "12.5%": { opacity: "1" }
1172
+ },
1173
+ "cos-dot-spinner-45-vector-2": {
1174
+ "0%, 12.5%, 37.5%, 100%": { opacity: "0" },
1175
+ "25%": { opacity: "1" }
1176
+ },
1177
+ "cos-dot-spinner-45-vector-3": {
1178
+ "0%, 25%, 50%, 100%": { opacity: "0" },
1179
+ "37.5%": { opacity: "1" }
1180
+ },
1181
+ "cos-dot-spinner-45-vector-4": {
1182
+ "0%, 37.5%, 62.5%, 100%": { opacity: "0" },
1183
+ "50%": { opacity: "1" }
1184
+ },
1185
+ "cos-dot-spinner-45-vector-5": {
1186
+ "0%, 50%, 75%, 100%": { opacity: "0" },
1187
+ "62.5%": { opacity: "1" }
1188
+ },
1189
+ "cos-dot-spinner-45-vector-6": {
1190
+ "0%, 62.5%, 87.5%, 100%": { opacity: "0" },
1191
+ "75%": { opacity: "1" }
1192
+ },
1193
+ "cos-dot-spinner-45-vector-7": {
1194
+ "0%, 75%, 100%": { opacity: "0" },
1195
+ "87.5%": { opacity: "1" }
1196
+ }
1197
+ };
1198
+ var dotSpinner120Keyframes = {
1199
+ "cos-dot-spinner-120-vector-0": {
1200
+ "0%, 100%": { opacity: "1" },
1201
+ "33.3%, 66.6%": { opacity: "0" }
1202
+ },
1203
+ "cos-dot-spinner-120-vector-1": {
1204
+ "0%, 66.6%, 100%": { opacity: "0" },
1205
+ "33.3%": { opacity: "1" }
1206
+ },
1207
+ "cos-dot-spinner-120-vector-2": {
1208
+ "0%, 33.3%, 100%": { opacity: "0" },
1209
+ "66.6%": { opacity: "1" }
1210
+ }
1211
+ };
1212
+ var cubeSpinnerKeyframes = {
1213
+ "cos-cube-spinner-vector-0": {
1214
+ "0%, 100%": { opacity: "1" },
1215
+ "33.3%, 66.6%": { opacity: "0" }
1216
+ },
1217
+ "cos-cube-spinner-vector-1": {
1218
+ "0%, 66.6%, 100%": { opacity: "0" },
1219
+ "33.3%": { opacity: "1" }
1220
+ },
1221
+ "cos-cube-spinner-vector-2": {
1222
+ "0%, 33.3%, 100%": { opacity: "0" },
1223
+ "66.6%": { opacity: "1" }
1224
+ }
1225
+ };
1226
+ var cosAnimationKeyframes = {
1227
+ ...skeletonKeyframes,
1228
+ ...dotSpinner45Keyframes,
1229
+ ...dotSpinner120Keyframes,
1230
+ ...cubeSpinnerKeyframes
1231
+ };
1232
+
1233
+ // src/utils/animations.ts
1234
+ var skeletonAnimations = {
1235
+ "cos-skeleton": "cos-skeleton 1.5s ease-in-out infinite"
1236
+ };
1237
+ var dotSpinner45VectorShorthand = (vectorIndex) => `cos-dot-spinner-45-vector-${vectorIndex} 1s linear infinite`;
1238
+ var dotSpinner45Animations = {
1239
+ "cos-dot-spinner-45-vector-0": dotSpinner45VectorShorthand(0),
1240
+ "cos-dot-spinner-45-vector-1": dotSpinner45VectorShorthand(1),
1241
+ "cos-dot-spinner-45-vector-2": dotSpinner45VectorShorthand(2),
1242
+ "cos-dot-spinner-45-vector-3": dotSpinner45VectorShorthand(3),
1243
+ "cos-dot-spinner-45-vector-4": dotSpinner45VectorShorthand(4),
1244
+ "cos-dot-spinner-45-vector-5": dotSpinner45VectorShorthand(5),
1245
+ "cos-dot-spinner-45-vector-6": dotSpinner45VectorShorthand(6),
1246
+ "cos-dot-spinner-45-vector-7": dotSpinner45VectorShorthand(7)
1247
+ };
1248
+ var dotSpinner120VectorShorthand = (vectorIndex) => `cos-dot-spinner-120-vector-${vectorIndex} 1s linear infinite`;
1249
+ var dotSpinner120Animations = {
1250
+ "cos-dot-spinner-120-vector-0": dotSpinner120VectorShorthand(0),
1251
+ "cos-dot-spinner-120-vector-1": dotSpinner120VectorShorthand(1),
1252
+ "cos-dot-spinner-120-vector-2": dotSpinner120VectorShorthand(2)
1253
+ };
1254
+ var cubeSpinnerVectorShorthand = (vectorIndex) => `cos-cube-spinner-vector-${vectorIndex} 1.25s linear infinite`;
1255
+ var cubeSpinnerAnimations = {
1256
+ "cos-cube-spinner-vector-0": cubeSpinnerVectorShorthand(0),
1257
+ "cos-cube-spinner-vector-1": cubeSpinnerVectorShorthand(1),
1258
+ "cos-cube-spinner-vector-2": cubeSpinnerVectorShorthand(2)
1259
+ };
1260
+ var cosAnimations = {
1261
+ ...skeletonAnimations,
1262
+ ...dotSpinner45Animations,
1263
+ ...dotSpinner120Animations,
1264
+ ...cubeSpinnerAnimations
1265
+ };
1266
+
1267
+ // src/cubeTheme.ts
1268
+ var cubeTheme = {
1269
+ screens: {
1270
+ "height-sm": {
1271
+ raw: "(min-height: 768px)"
1272
+ },
1273
+ "height-md": {
1274
+ raw: "(min-height: 864px)"
1275
+ },
1276
+ "height-lg": {
1277
+ raw: "(min-height: 960px)"
1278
+ },
1279
+ "height-xl": {
1280
+ raw: "(min-height: 1080px)"
1281
+ }
1282
+ },
1283
+ colors: {
1284
+ primary: {
1285
+ DEFAULT: "#4C68F9",
1286
+ 0: "#F9FAFF",
1287
+ 50: "#E8EBFE",
1288
+ 100: "#D6DDFE",
1289
+ 150: "#C5CEFD",
1290
+ 200: "#B4C0FD",
1291
+ 300: "#91A2FB",
1292
+ 400: "#6F85FA",
1293
+ 500: "#4C68F9",
1294
+ 600: "#3E59E4",
1295
+ 700: "#3049CE",
1296
+ 800: "#213AB9",
1297
+ 850: "#1A32AE"
1298
+ },
1299
+ secondary: {
1300
+ DEFAULT: "#57E2E2",
1301
+ 0: "#EFFCFC",
1302
+ 50: "#E0F9F9",
1303
+ 100: "#D1F7F7",
1304
+ 150: "#C1F4F4",
1305
+ 200: "#B2F2F2",
1306
+ 300: "#94ECEC",
1307
+ 400: "#75E7E7",
1308
+ 500: "#57E2E2",
1309
+ 600: "#4ACCCC",
1310
+ 700: "#3CB6B6",
1311
+ 800: "#2F9F9F",
1312
+ 850: "#289494"
1313
+ },
1314
+ dark: {
1315
+ 0: "#FBFBFC",
1316
+ 50: "#E8E9EB",
1317
+ 100: "#D5D6DA",
1318
+ 150: "#C3C4C9",
1319
+ 200: "#B0B2B8",
1320
+ 300: "#8A8D97",
1321
+ 400: "#656975",
1322
+ 500: "#3F4453",
1323
+ 600: "#323642",
1324
+ 700: "#262932",
1325
+ 800: "#191B21",
1326
+ 850: "#131419"
1327
+ },
1328
+ grey: {
1329
+ 0: "#FFFFFF",
1330
+ 50: "#FBFBFD",
1331
+ 100: "#F7F7FA",
1332
+ 150: "#F3F4F8",
1333
+ 200: "#EFF0F5",
1334
+ 300: "#E7E8F1",
1335
+ 400: "#DFE1EC",
1336
+ 500: "#D7D9E7",
1337
+ 600: "#C2C5DA",
1338
+ 700: "#ADB1CE",
1339
+ 800: "#989DC1",
1340
+ 850: "#8E93BB"
1341
+ },
1342
+ blue: {
1343
+ 0: "#F3FCFF",
1344
+ 50: "#E0F6FF",
1345
+ 100: "#CCF1FF",
1346
+ 150: "#B9EBFF",
1347
+ 200: "#A5E6FF",
1348
+ 300: "#7FDAFF",
1349
+ 400: "#58CFFF",
1350
+ 500: "#31C4FF",
1351
+ 600: "#27ADE2",
1352
+ 700: "#1D95C5",
1353
+ 800: "#147EA8",
1354
+ 850: "#0F729A"
1355
+ },
1356
+ green: {
1357
+ 0: "#EFFFFB",
1358
+ 50: "#D7FBF2",
1359
+ 100: "#BFF7E9",
1360
+ 150: "#A7F2E0",
1361
+ 200: "#8FEED7",
1362
+ 300: "#60E6C6",
1363
+ 400: "#30DDB4",
1364
+ 500: "#00D5A2",
1365
+ 600: "#00AA82",
1366
+ 700: "#008061",
1367
+ 800: "#005541",
1368
+ 850: "#004031"
1369
+ },
1370
+ yellow: {
1371
+ 0: "#FFFBEF",
1372
+ 50: "#FEF5D7",
1373
+ 100: "#FEF0BF",
1374
+ 150: "#FDEAA7",
1375
+ 200: "#FDE58F",
1376
+ 300: "#FBD960",
1377
+ 400: "#FACE30",
1378
+ 500: "#F9C300",
1379
+ 600: "#C89D00",
1380
+ 700: "#977600",
1381
+ 800: "#665000",
1382
+ 850: "#4E3D00"
1383
+ },
1384
+ red: {
1385
+ 0: "#FFF6F6",
1386
+ 50: "#FFE7E7",
1387
+ 100: "#FFD7D7",
1388
+ 150: "#FFC8C8",
1389
+ 200: "#FFB9B9",
1390
+ 300: "#FF9A9A",
1391
+ 400: "#FF7C7C",
1392
+ 500: "#FF5D5D",
1393
+ 600: "#F34A4A",
1394
+ 700: "#E73838",
1395
+ 800: "#DB2525",
1396
+ 850: "#D51C1C"
1397
+ },
1398
+ cosmos: {
1399
+ primary: "#4C68F9",
1400
+ secondary: "#57E2E2"
1401
+ },
1402
+ scene: {
1403
+ gradient: "linear-gradient(90deg, #2700C3 0%, #4C68F9 30%, #31C4FF 65%, #57E2E2 100%)",
1404
+ background: "#F7F7FA"
1405
+ },
1406
+ functional: {
1407
+ title: "#282D39",
1408
+ text: "#3F4453",
1409
+ "text-light": "#858A9A",
1410
+ "hover-primary": "#607AFF",
1411
+ "hover-secondary": "#E8EBFE",
1412
+ "hover-grey": "#FBFBFD",
1413
+ "hover-grey-darker": "#EFF0F5",
1414
+ "border-divider": "#DFE1EC",
1415
+ "border-darker": "#A9AFBC",
1416
+ disable: "#E4E9F3",
1417
+ "disable-text": "#D7D9E7",
1418
+ "disable-light": "#F0F4FF",
1419
+ skeleton: "#EEF0F6"
1420
+ },
1421
+ status: {
1422
+ positive: "#00D5A2",
1423
+ "positive-text": "#00BE90",
1424
+ negative: "#FF5D5D",
1425
+ warning: "#F9C300",
1426
+ paused: "#FF9920",
1427
+ neutral: "#4C68F9",
1428
+ "over-limit": "#9B426E"
1429
+ },
1430
+ chart: {
1431
+ 1: "#57E2E2",
1432
+ 2: "#647DFF",
1433
+ 3: "#58CFFF",
1434
+ 4: "#FACE30",
1435
+ 5: "#147EA8",
1436
+ 6: "#FF9A9A",
1437
+ 7: "#989DC1",
1438
+ 8: "#00D5A2",
1439
+ 9: "#3049CE",
1440
+ 10: "#3CB6B6",
1441
+ 11: "#FFB56A",
1442
+ 12: "#827CFF",
1443
+ 13: "#C29868",
1444
+ 14: "#1D95C5",
1445
+ 15: "#B4C0FD",
1446
+ 16: "#DA7BBA",
1447
+ 17: "#84D3D3",
1448
+ 18: "#6A7EE3",
1449
+ 19: "#81DBFF",
1450
+ 20: "#EAEA24",
1451
+ 21: "#57A5EE",
1452
+ 22: "#F4788B",
1453
+ 23: "#6D79BA",
1454
+ 24: "#62CFB5",
1455
+ 25: "#2055A4",
1456
+ 26: "#75E7E7",
1457
+ 27: "#FFCB7C",
1458
+ 28: "#CE91EC",
1459
+ 29: "#5EB5D8",
1460
+ 30: "#A25889",
1461
+ 31: "#869AFF",
1462
+ 32: "#988072"
1463
+ }
1464
+ },
1465
+ fontFamily: {
1466
+ // Fallback to Noto Sans TC for Traditional Chinese.
1467
+ urbanist: ["Urbanist", "Noto Sans TC", ...import_defaultTheme.default.fontFamily.sans],
1468
+ inter: ["Inter", "Noto Sans TC", ...import_defaultTheme.default.fontFamily.sans],
1469
+ ["noto-sans-tc"]: ["Noto Sans TC", ...import_defaultTheme.default.fontFamily.sans],
1470
+ sans: ["Inter", "Noto Sans TC", ...import_defaultTheme.default.fontFamily.sans]
1471
+ },
1472
+ fontWeight: {
1473
+ regular: "400",
1474
+ medium: "500",
1475
+ semibold: "600"
1476
+ },
1477
+ keyframes: {
1478
+ ...cosAnimationKeyframes
1479
+ },
1480
+ animation: {
1481
+ ...cosAnimations
1482
+ }
1483
+ };
1484
+
1485
+ // src/plugins/backgroundGradientPlugin.ts
1486
+ var backgroundGradientPlugin = ({
1487
+ addUtilities,
1488
+ theme
1489
+ }) => {
1490
+ addUtilities({
1491
+ ".background-scene-gradient": {
1492
+ background: theme("colors.scene.gradient")
1493
+ },
1494
+ ".bg-image-scene-gradient": {
1495
+ backgroundImage: theme("colors.scene.gradient")
1496
+ }
1497
+ });
1498
+ };
1499
+
1500
+ // src/plugins/iconPlugin.ts
1501
+ var iconPlugin = ({ addComponents }) => {
1502
+ addComponents({
1503
+ ".icon-xs": {
1504
+ width: "10px",
1505
+ height: "10px"
1506
+ },
1507
+ ".icon-frame-xs": {
1508
+ width: "16px",
1509
+ height: "16px"
1510
+ },
1511
+ ".icon-sm": {
1512
+ width: "12px",
1513
+ height: "12px"
1514
+ },
1515
+ ".icon-frame-sm": {
1516
+ width: "24px",
1517
+ height: "24px"
1518
+ },
1519
+ ".icon-md-sm": {
1520
+ width: "14px",
1521
+ height: "14px"
1522
+ },
1523
+ ".icon-frame-md-sm": {
1524
+ width: "28px",
1525
+ height: "28px"
1526
+ },
1527
+ ".icon-md": {
1528
+ width: "16px",
1529
+ height: "16px"
1530
+ },
1531
+ ".icon-frame-md": {
1532
+ width: "32px",
1533
+ height: "32px"
1534
+ },
1535
+ ".icon-lg": {
1536
+ width: "18px",
1537
+ height: "18px"
1538
+ },
1539
+ ".icon-frame-lg": {
1540
+ width: "40px",
1541
+ height: "40px"
1542
+ },
1543
+ ".icon-xl": {
1544
+ width: "24px",
1545
+ height: "24px"
1546
+ },
1547
+ ".icon-frame-xl": {
1548
+ width: "48px",
1549
+ height: "48px"
1550
+ }
1551
+ });
1552
+ };
1553
+
1554
+ // src/plugins/skeletonPlugin.ts
1555
+ var skeletonPlugin = ({ addComponents, theme }) => {
1556
+ const skeletonColor = theme("colors.functional.skeleton");
1557
+ addComponents({
1558
+ ".cos-skeleton": {
1559
+ background: `linear-gradient(90deg, transparent 60%, rgba(255, 255, 255, .5) 70%, transparent 80%) ${skeletonColor}`,
1560
+ backgroundSize: "200% 100%",
1561
+ backgroundPositionX: "180%"
1562
+ }
1563
+ });
1564
+ };
1565
+
1566
+ // src/utils/typography/primaryBodies.ts
1567
+ var FONT_FAMILY = "inter";
1568
+ var LETTER_SPACING = "normal";
1569
+ var FONT_WEIGHT = 400;
1570
+ var primaryBody1 = {
1571
+ fontFamily: FONT_FAMILY,
1572
+ fontSize: "15px",
1573
+ lineHeight: "22px",
1574
+ letterSpacing: LETTER_SPACING,
1575
+ fontWeight: FONT_WEIGHT
1576
+ };
1577
+ var primaryBody2 = {
1578
+ fontFamily: FONT_FAMILY,
1579
+ fontSize: "14px",
1580
+ lineHeight: "20px",
1581
+ letterSpacing: LETTER_SPACING,
1582
+ fontWeight: FONT_WEIGHT
1583
+ };
1584
+ var primaryBody3 = {
1585
+ fontFamily: FONT_FAMILY,
1586
+ fontSize: "13px",
1587
+ lineHeight: "18px",
1588
+ letterSpacing: LETTER_SPACING,
1589
+ fontWeight: FONT_WEIGHT
1590
+ };
1591
+ var primaryBody4 = {
1592
+ fontFamily: FONT_FAMILY,
1593
+ fontSize: "12px",
1594
+ lineHeight: "16px",
1595
+ letterSpacing: LETTER_SPACING,
1596
+ fontWeight: FONT_WEIGHT
1597
+ };
1598
+ var primaryBody5 = {
1599
+ fontFamily: FONT_FAMILY,
1600
+ fontSize: "11px",
1601
+ lineHeight: "15px",
1602
+ letterSpacing: LETTER_SPACING,
1603
+ fontWeight: FONT_WEIGHT
1604
+ };
1605
+ var primaryBody6 = {
1606
+ fontFamily: FONT_FAMILY,
1607
+ fontSize: "10px",
1608
+ lineHeight: "13px",
1609
+ letterSpacing: LETTER_SPACING,
1610
+ fontWeight: FONT_WEIGHT
1611
+ };
1612
+
1613
+ // src/utils/typography/primaryHeadings.ts
1614
+ var FONT_FAMILY2 = "urbanist";
1615
+ var LETTER_SPACING2 = "0.02em";
1616
+ var FONT_WEIGHT2 = 600;
1617
+ var primaryH1 = {
1618
+ fontFamily: FONT_FAMILY2,
1619
+ fontSize: "30px",
1620
+ lineHeight: "38px",
1621
+ letterSpacing: LETTER_SPACING2,
1622
+ fontWeight: FONT_WEIGHT2
1623
+ };
1624
+ var primaryH2 = {
1625
+ fontFamily: FONT_FAMILY2,
1626
+ fontSize: "24px",
1627
+ lineHeight: "30px",
1628
+ letterSpacing: LETTER_SPACING2,
1629
+ fontWeight: FONT_WEIGHT2
1630
+ };
1631
+ var primaryH3 = {
1632
+ fontFamily: FONT_FAMILY2,
1633
+ fontSize: "20px",
1634
+ lineHeight: "24px",
1635
+ letterSpacing: LETTER_SPACING2,
1636
+ fontWeight: FONT_WEIGHT2
1637
+ };
1638
+ var primaryH4 = {
1639
+ fontFamily: FONT_FAMILY2,
1640
+ fontSize: "18px",
1641
+ lineHeight: "22px",
1642
+ letterSpacing: LETTER_SPACING2,
1643
+ fontWeight: FONT_WEIGHT2
1644
+ };
1645
+ var primaryH5 = {
1646
+ fontFamily: FONT_FAMILY2,
1647
+ fontSize: "16px",
1648
+ lineHeight: "20px",
1649
+ letterSpacing: LETTER_SPACING2,
1650
+ fontWeight: FONT_WEIGHT2
1651
+ };
1652
+
1653
+ // src/utils/typography/secondaryBodies.ts
1654
+ var FONT_FAMILY3 = "urbanist";
1655
+ var LETTER_SPACING3 = "0.02em";
1656
+ var FONT_WEIGHT3 = 400;
1657
+ var secondaryBody1 = {
1658
+ fontFamily: FONT_FAMILY3,
1659
+ fontSize: "15px",
1660
+ lineHeight: "22px",
1661
+ letterSpacing: LETTER_SPACING3,
1662
+ fontWeight: FONT_WEIGHT3
1663
+ };
1664
+ var secondaryBody2 = {
1665
+ fontFamily: FONT_FAMILY3,
1666
+ fontSize: "14px",
1667
+ lineHeight: "18px",
1668
+ letterSpacing: LETTER_SPACING3,
1669
+ fontWeight: FONT_WEIGHT3
1670
+ };
1671
+ var secondaryBody3 = {
1672
+ fontFamily: FONT_FAMILY3,
1673
+ fontSize: "13px",
1674
+ lineHeight: "16px",
1675
+ letterSpacing: LETTER_SPACING3,
1676
+ fontWeight: FONT_WEIGHT3
1677
+ };
1678
+ var secondaryBody4 = {
1679
+ fontFamily: FONT_FAMILY3,
1680
+ fontSize: "12px",
1681
+ lineHeight: "16px",
1682
+ letterSpacing: LETTER_SPACING3,
1683
+ fontWeight: FONT_WEIGHT3
1684
+ };
1685
+ var secondaryBody5 = {
1686
+ fontFamily: FONT_FAMILY3,
1687
+ fontSize: "11px",
1688
+ lineHeight: "15px",
1689
+ letterSpacing: LETTER_SPACING3,
1690
+ fontWeight: FONT_WEIGHT3
1691
+ };
1692
+ var secondaryBody6 = {
1693
+ fontFamily: FONT_FAMILY3,
1694
+ fontSize: "10px",
1695
+ lineHeight: "14px",
1696
+ letterSpacing: LETTER_SPACING3,
1697
+ fontWeight: FONT_WEIGHT3
1698
+ };
1699
+ var secondaryBody7 = {
1700
+ fontFamily: FONT_FAMILY3,
1701
+ fontSize: "9px",
1702
+ lineHeight: "12px",
1703
+ letterSpacing: LETTER_SPACING3,
1704
+ fontWeight: FONT_WEIGHT3
1705
+ };
1706
+
1707
+ // src/utils/typography/secondaryHeadings.ts
1708
+ var FONT_FAMILY4 = "inter";
1709
+ var LETTER_SPACING4 = "0.02em";
1710
+ var FONT_WEIGHT4 = 600;
1711
+ var secondaryH1 = {
1712
+ fontFamily: FONT_FAMILY4,
1713
+ fontSize: "30px",
1714
+ lineHeight: "38px",
1715
+ letterSpacing: LETTER_SPACING4,
1716
+ fontWeight: FONT_WEIGHT4
1717
+ };
1718
+ var secondaryH2 = {
1719
+ fontFamily: FONT_FAMILY4,
1720
+ fontSize: "24px",
1721
+ lineHeight: "30px",
1722
+ letterSpacing: LETTER_SPACING4,
1723
+ fontWeight: FONT_WEIGHT4
1724
+ };
1725
+ var secondaryH3 = {
1726
+ fontFamily: FONT_FAMILY4,
1727
+ fontSize: "20px",
1728
+ lineHeight: "24px",
1729
+ letterSpacing: LETTER_SPACING4,
1730
+ fontWeight: FONT_WEIGHT4
1731
+ };
1732
+ var secondaryH4 = {
1733
+ fontFamily: FONT_FAMILY4,
1734
+ fontSize: "18px",
1735
+ lineHeight: "22px",
1736
+ letterSpacing: LETTER_SPACING4,
1737
+ fontWeight: FONT_WEIGHT4
1738
+ };
1739
+ var secondaryH5 = {
1740
+ fontFamily: FONT_FAMILY4,
1741
+ fontSize: "16px",
1742
+ lineHeight: "20px",
1743
+ letterSpacing: LETTER_SPACING4,
1744
+ fontWeight: FONT_WEIGHT4
1745
+ };
1746
+
1747
+ // src/utils/typography/typography.ts
1748
+ var typographyMap = {
1749
+ "primary-h1": primaryH1,
1750
+ "primary-h2": primaryH2,
1751
+ "primary-h3": primaryH3,
1752
+ "primary-h4": primaryH4,
1753
+ "primary-h5": primaryH5,
1754
+ "secondary-h1": secondaryH1,
1755
+ "secondary-h2": secondaryH2,
1756
+ "secondary-h3": secondaryH3,
1757
+ "secondary-h4": secondaryH4,
1758
+ "secondary-h5": secondaryH5,
1759
+ "primary-body1": primaryBody1,
1760
+ "primary-body2": primaryBody2,
1761
+ "primary-body3": primaryBody3,
1762
+ "primary-body4": primaryBody4,
1763
+ "primary-body5": primaryBody5,
1764
+ "primary-body6": primaryBody6,
1765
+ "secondary-body1": secondaryBody1,
1766
+ "secondary-body2": secondaryBody2,
1767
+ "secondary-body3": secondaryBody3,
1768
+ "secondary-body4": secondaryBody4,
1769
+ "secondary-body5": secondaryBody5,
1770
+ "secondary-body6": secondaryBody6,
1771
+ "secondary-body7": secondaryBody7
1772
+ };
1773
+ var getTypography = (className) => {
1774
+ return typographyMap[className];
1775
+ };
1776
+
1777
+ // src/plugins/typographyPlugin.ts
1778
+ var typographyPlugin = ({ addComponents }) => {
1779
+ const components = Object.fromEntries(
1780
+ Object.entries(typographyMap).map(([className, typography]) => {
1781
+ const selector = `.${className}`;
1782
+ const fontFamily = cubeTheme.fontFamily[typography.fontFamily].join(", ");
1783
+ const definition = {
1784
+ fontFamily,
1785
+ fontSize: typography.fontSize,
1786
+ lineHeight: typography.lineHeight,
1787
+ letterSpacing: typography.letterSpacing ?? null,
1788
+ fontWeight: typography.fontWeight.toString()
1789
+ };
1790
+ return [selector, definition];
1791
+ })
1792
+ );
1793
+ addComponents(components);
1794
+ };
1795
+
1796
+ // src/cubePreset.ts
1797
+ var cubePreset = {
1798
+ theme: {
1799
+ extend: cubeTheme
1800
+ },
1801
+ plugins: [
1802
+ backgroundGradientPlugin,
1803
+ iconPlugin,
1804
+ skeletonPlugin,
1805
+ typographyPlugin
1806
+ ]
1807
+ };
1808
+
1809
+ export { cubePreset, cubeTheme, getTypography };
1810
+ //# sourceMappingURL=index.mjs.map
1811
+ //# sourceMappingURL=index.mjs.map