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