@marigold/theme-docs 2.2.6 → 2.2.8

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/preset.js DELETED
@@ -1,1377 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __commonJS = (cb, mod) => function __require() {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
- };
11
- var __export = (target, all) => {
12
- for (var name in all)
13
- __defProp(target, name, { get: all[name], enumerable: true });
14
- };
15
- var __copyProps = (to, from, except, desc) => {
16
- if (from && typeof from === "object" || typeof from === "function") {
17
- for (let key of __getOwnPropNames(from))
18
- if (!__hasOwnProp.call(to, key) && key !== except)
19
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
20
- }
21
- return to;
22
- };
23
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
24
- // If the importer is in node compatibility mode or this is not an ESM
25
- // file that has been converted to a CommonJS file using a Babel-
26
- // compatible transform (i.e. "__esModule" has not been set), then set
27
- // "default" to the CommonJS "module.exports" for node compatibility.
28
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
29
- mod
30
- ));
31
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
32
-
33
- // ../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/util/cloneDeep.js
34
- var require_cloneDeep = __commonJS({
35
- "../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/util/cloneDeep.js"(exports2) {
36
- "use strict";
37
- Object.defineProperty(exports2, "__esModule", {
38
- value: true
39
- });
40
- Object.defineProperty(exports2, "cloneDeep", {
41
- enumerable: true,
42
- get: function() {
43
- return cloneDeep;
44
- }
45
- });
46
- function cloneDeep(value) {
47
- if (Array.isArray(value)) {
48
- return value.map((child) => cloneDeep(child));
49
- }
50
- if (typeof value === "object" && value !== null) {
51
- return Object.fromEntries(Object.entries(value).map(([k, v]) => [
52
- k,
53
- cloneDeep(v)
54
- ]));
55
- }
56
- return value;
57
- }
58
- }
59
- });
60
-
61
- // ../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/stubs/config.full.js
62
- var require_config_full = __commonJS({
63
- "../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/stubs/config.full.js"(exports2, module2) {
64
- "use strict";
65
- module2.exports = {
66
- content: [],
67
- presets: [],
68
- darkMode: "media",
69
- // or 'class'
70
- theme: {
71
- accentColor: ({ theme }) => ({
72
- ...theme("colors"),
73
- auto: "auto"
74
- }),
75
- animation: {
76
- none: "none",
77
- spin: "spin 1s linear infinite",
78
- ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",
79
- pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
80
- bounce: "bounce 1s infinite"
81
- },
82
- aria: {
83
- busy: 'busy="true"',
84
- checked: 'checked="true"',
85
- disabled: 'disabled="true"',
86
- expanded: 'expanded="true"',
87
- hidden: 'hidden="true"',
88
- pressed: 'pressed="true"',
89
- readonly: 'readonly="true"',
90
- required: 'required="true"',
91
- selected: 'selected="true"'
92
- },
93
- aspectRatio: {
94
- auto: "auto",
95
- square: "1 / 1",
96
- video: "16 / 9"
97
- },
98
- backdropBlur: ({ theme }) => theme("blur"),
99
- backdropBrightness: ({ theme }) => theme("brightness"),
100
- backdropContrast: ({ theme }) => theme("contrast"),
101
- backdropGrayscale: ({ theme }) => theme("grayscale"),
102
- backdropHueRotate: ({ theme }) => theme("hueRotate"),
103
- backdropInvert: ({ theme }) => theme("invert"),
104
- backdropOpacity: ({ theme }) => theme("opacity"),
105
- backdropSaturate: ({ theme }) => theme("saturate"),
106
- backdropSepia: ({ theme }) => theme("sepia"),
107
- backgroundColor: ({ theme }) => theme("colors"),
108
- backgroundImage: {
109
- none: "none",
110
- "gradient-to-t": "linear-gradient(to top, var(--tw-gradient-stops))",
111
- "gradient-to-tr": "linear-gradient(to top right, var(--tw-gradient-stops))",
112
- "gradient-to-r": "linear-gradient(to right, var(--tw-gradient-stops))",
113
- "gradient-to-br": "linear-gradient(to bottom right, var(--tw-gradient-stops))",
114
- "gradient-to-b": "linear-gradient(to bottom, var(--tw-gradient-stops))",
115
- "gradient-to-bl": "linear-gradient(to bottom left, var(--tw-gradient-stops))",
116
- "gradient-to-l": "linear-gradient(to left, var(--tw-gradient-stops))",
117
- "gradient-to-tl": "linear-gradient(to top left, var(--tw-gradient-stops))"
118
- },
119
- backgroundOpacity: ({ theme }) => theme("opacity"),
120
- backgroundPosition: {
121
- bottom: "bottom",
122
- center: "center",
123
- left: "left",
124
- "left-bottom": "left bottom",
125
- "left-top": "left top",
126
- right: "right",
127
- "right-bottom": "right bottom",
128
- "right-top": "right top",
129
- top: "top"
130
- },
131
- backgroundSize: {
132
- auto: "auto",
133
- cover: "cover",
134
- contain: "contain"
135
- },
136
- blur: {
137
- 0: "0",
138
- none: "",
139
- sm: "4px",
140
- DEFAULT: "8px",
141
- md: "12px",
142
- lg: "16px",
143
- xl: "24px",
144
- "2xl": "40px",
145
- "3xl": "64px"
146
- },
147
- borderColor: ({ theme }) => ({
148
- ...theme("colors"),
149
- DEFAULT: theme("colors.gray.200", "currentColor")
150
- }),
151
- borderOpacity: ({ theme }) => theme("opacity"),
152
- borderRadius: {
153
- none: "0px",
154
- sm: "0.125rem",
155
- DEFAULT: "0.25rem",
156
- md: "0.375rem",
157
- lg: "0.5rem",
158
- xl: "0.75rem",
159
- "2xl": "1rem",
160
- "3xl": "1.5rem",
161
- full: "9999px"
162
- },
163
- borderSpacing: ({ theme }) => ({
164
- ...theme("spacing")
165
- }),
166
- borderWidth: {
167
- DEFAULT: "1px",
168
- 0: "0px",
169
- 2: "2px",
170
- 4: "4px",
171
- 8: "8px"
172
- },
173
- boxShadow: {
174
- sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
175
- DEFAULT: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
176
- md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
177
- lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
178
- xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
179
- "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
180
- inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
181
- none: "none"
182
- },
183
- boxShadowColor: ({ theme }) => theme("colors"),
184
- brightness: {
185
- 0: "0",
186
- 50: ".5",
187
- 75: ".75",
188
- 90: ".9",
189
- 95: ".95",
190
- 100: "1",
191
- 105: "1.05",
192
- 110: "1.1",
193
- 125: "1.25",
194
- 150: "1.5",
195
- 200: "2"
196
- },
197
- caretColor: ({ theme }) => theme("colors"),
198
- colors: ({ colors: colors2 }) => ({
199
- inherit: colors2.inherit,
200
- current: colors2.current,
201
- transparent: colors2.transparent,
202
- black: colors2.black,
203
- white: colors2.white,
204
- slate: colors2.slate,
205
- gray: colors2.gray,
206
- zinc: colors2.zinc,
207
- neutral: colors2.neutral,
208
- stone: colors2.stone,
209
- red: colors2.red,
210
- orange: colors2.orange,
211
- amber: colors2.amber,
212
- yellow: colors2.yellow,
213
- lime: colors2.lime,
214
- green: colors2.green,
215
- emerald: colors2.emerald,
216
- teal: colors2.teal,
217
- cyan: colors2.cyan,
218
- sky: colors2.sky,
219
- blue: colors2.blue,
220
- indigo: colors2.indigo,
221
- violet: colors2.violet,
222
- purple: colors2.purple,
223
- fuchsia: colors2.fuchsia,
224
- pink: colors2.pink,
225
- rose: colors2.rose
226
- }),
227
- columns: {
228
- auto: "auto",
229
- 1: "1",
230
- 2: "2",
231
- 3: "3",
232
- 4: "4",
233
- 5: "5",
234
- 6: "6",
235
- 7: "7",
236
- 8: "8",
237
- 9: "9",
238
- 10: "10",
239
- 11: "11",
240
- 12: "12",
241
- "3xs": "16rem",
242
- "2xs": "18rem",
243
- xs: "20rem",
244
- sm: "24rem",
245
- md: "28rem",
246
- lg: "32rem",
247
- xl: "36rem",
248
- "2xl": "42rem",
249
- "3xl": "48rem",
250
- "4xl": "56rem",
251
- "5xl": "64rem",
252
- "6xl": "72rem",
253
- "7xl": "80rem"
254
- },
255
- container: {},
256
- content: {
257
- none: "none"
258
- },
259
- contrast: {
260
- 0: "0",
261
- 50: ".5",
262
- 75: ".75",
263
- 100: "1",
264
- 125: "1.25",
265
- 150: "1.5",
266
- 200: "2"
267
- },
268
- cursor: {
269
- auto: "auto",
270
- default: "default",
271
- pointer: "pointer",
272
- wait: "wait",
273
- text: "text",
274
- move: "move",
275
- help: "help",
276
- "not-allowed": "not-allowed",
277
- none: "none",
278
- "context-menu": "context-menu",
279
- progress: "progress",
280
- cell: "cell",
281
- crosshair: "crosshair",
282
- "vertical-text": "vertical-text",
283
- alias: "alias",
284
- copy: "copy",
285
- "no-drop": "no-drop",
286
- grab: "grab",
287
- grabbing: "grabbing",
288
- "all-scroll": "all-scroll",
289
- "col-resize": "col-resize",
290
- "row-resize": "row-resize",
291
- "n-resize": "n-resize",
292
- "e-resize": "e-resize",
293
- "s-resize": "s-resize",
294
- "w-resize": "w-resize",
295
- "ne-resize": "ne-resize",
296
- "nw-resize": "nw-resize",
297
- "se-resize": "se-resize",
298
- "sw-resize": "sw-resize",
299
- "ew-resize": "ew-resize",
300
- "ns-resize": "ns-resize",
301
- "nesw-resize": "nesw-resize",
302
- "nwse-resize": "nwse-resize",
303
- "zoom-in": "zoom-in",
304
- "zoom-out": "zoom-out"
305
- },
306
- divideColor: ({ theme }) => theme("borderColor"),
307
- divideOpacity: ({ theme }) => theme("borderOpacity"),
308
- divideWidth: ({ theme }) => theme("borderWidth"),
309
- dropShadow: {
310
- sm: "0 1px 1px rgb(0 0 0 / 0.05)",
311
- DEFAULT: ["0 1px 2px rgb(0 0 0 / 0.1)", "0 1px 1px rgb(0 0 0 / 0.06)"],
312
- md: ["0 4px 3px rgb(0 0 0 / 0.07)", "0 2px 2px rgb(0 0 0 / 0.06)"],
313
- lg: ["0 10px 8px rgb(0 0 0 / 0.04)", "0 4px 3px rgb(0 0 0 / 0.1)"],
314
- xl: ["0 20px 13px rgb(0 0 0 / 0.03)", "0 8px 5px rgb(0 0 0 / 0.08)"],
315
- "2xl": "0 25px 25px rgb(0 0 0 / 0.15)",
316
- none: "0 0 #0000"
317
- },
318
- fill: ({ theme }) => ({
319
- none: "none",
320
- ...theme("colors")
321
- }),
322
- flex: {
323
- 1: "1 1 0%",
324
- auto: "1 1 auto",
325
- initial: "0 1 auto",
326
- none: "none"
327
- },
328
- flexBasis: ({ theme }) => ({
329
- auto: "auto",
330
- ...theme("spacing"),
331
- "1/2": "50%",
332
- "1/3": "33.333333%",
333
- "2/3": "66.666667%",
334
- "1/4": "25%",
335
- "2/4": "50%",
336
- "3/4": "75%",
337
- "1/5": "20%",
338
- "2/5": "40%",
339
- "3/5": "60%",
340
- "4/5": "80%",
341
- "1/6": "16.666667%",
342
- "2/6": "33.333333%",
343
- "3/6": "50%",
344
- "4/6": "66.666667%",
345
- "5/6": "83.333333%",
346
- "1/12": "8.333333%",
347
- "2/12": "16.666667%",
348
- "3/12": "25%",
349
- "4/12": "33.333333%",
350
- "5/12": "41.666667%",
351
- "6/12": "50%",
352
- "7/12": "58.333333%",
353
- "8/12": "66.666667%",
354
- "9/12": "75%",
355
- "10/12": "83.333333%",
356
- "11/12": "91.666667%",
357
- full: "100%"
358
- }),
359
- flexGrow: {
360
- 0: "0",
361
- DEFAULT: "1"
362
- },
363
- flexShrink: {
364
- 0: "0",
365
- DEFAULT: "1"
366
- },
367
- fontFamily: {
368
- sans: [
369
- "ui-sans-serif",
370
- "system-ui",
371
- "sans-serif",
372
- '"Apple Color Emoji"',
373
- '"Segoe UI Emoji"',
374
- '"Segoe UI Symbol"',
375
- '"Noto Color Emoji"'
376
- ],
377
- serif: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"],
378
- mono: [
379
- "ui-monospace",
380
- "SFMono-Regular",
381
- "Menlo",
382
- "Monaco",
383
- "Consolas",
384
- '"Liberation Mono"',
385
- '"Courier New"',
386
- "monospace"
387
- ]
388
- },
389
- fontSize: {
390
- xs: ["0.75rem", { lineHeight: "1rem" }],
391
- sm: ["0.875rem", { lineHeight: "1.25rem" }],
392
- base: ["1rem", { lineHeight: "1.5rem" }],
393
- lg: ["1.125rem", { lineHeight: "1.75rem" }],
394
- xl: ["1.25rem", { lineHeight: "1.75rem" }],
395
- "2xl": ["1.5rem", { lineHeight: "2rem" }],
396
- "3xl": ["1.875rem", { lineHeight: "2.25rem" }],
397
- "4xl": ["2.25rem", { lineHeight: "2.5rem" }],
398
- "5xl": ["3rem", { lineHeight: "1" }],
399
- "6xl": ["3.75rem", { lineHeight: "1" }],
400
- "7xl": ["4.5rem", { lineHeight: "1" }],
401
- "8xl": ["6rem", { lineHeight: "1" }],
402
- "9xl": ["8rem", { lineHeight: "1" }]
403
- },
404
- fontWeight: {
405
- thin: "100",
406
- extralight: "200",
407
- light: "300",
408
- normal: "400",
409
- medium: "500",
410
- semibold: "600",
411
- bold: "700",
412
- extrabold: "800",
413
- black: "900"
414
- },
415
- gap: ({ theme }) => theme("spacing"),
416
- gradientColorStops: ({ theme }) => theme("colors"),
417
- gradientColorStopPositions: {
418
- "0%": "0%",
419
- "5%": "5%",
420
- "10%": "10%",
421
- "15%": "15%",
422
- "20%": "20%",
423
- "25%": "25%",
424
- "30%": "30%",
425
- "35%": "35%",
426
- "40%": "40%",
427
- "45%": "45%",
428
- "50%": "50%",
429
- "55%": "55%",
430
- "60%": "60%",
431
- "65%": "65%",
432
- "70%": "70%",
433
- "75%": "75%",
434
- "80%": "80%",
435
- "85%": "85%",
436
- "90%": "90%",
437
- "95%": "95%",
438
- "100%": "100%"
439
- },
440
- grayscale: {
441
- 0: "0",
442
- DEFAULT: "100%"
443
- },
444
- gridAutoColumns: {
445
- auto: "auto",
446
- min: "min-content",
447
- max: "max-content",
448
- fr: "minmax(0, 1fr)"
449
- },
450
- gridAutoRows: {
451
- auto: "auto",
452
- min: "min-content",
453
- max: "max-content",
454
- fr: "minmax(0, 1fr)"
455
- },
456
- gridColumn: {
457
- auto: "auto",
458
- "span-1": "span 1 / span 1",
459
- "span-2": "span 2 / span 2",
460
- "span-3": "span 3 / span 3",
461
- "span-4": "span 4 / span 4",
462
- "span-5": "span 5 / span 5",
463
- "span-6": "span 6 / span 6",
464
- "span-7": "span 7 / span 7",
465
- "span-8": "span 8 / span 8",
466
- "span-9": "span 9 / span 9",
467
- "span-10": "span 10 / span 10",
468
- "span-11": "span 11 / span 11",
469
- "span-12": "span 12 / span 12",
470
- "span-full": "1 / -1"
471
- },
472
- gridColumnEnd: {
473
- auto: "auto",
474
- 1: "1",
475
- 2: "2",
476
- 3: "3",
477
- 4: "4",
478
- 5: "5",
479
- 6: "6",
480
- 7: "7",
481
- 8: "8",
482
- 9: "9",
483
- 10: "10",
484
- 11: "11",
485
- 12: "12",
486
- 13: "13"
487
- },
488
- gridColumnStart: {
489
- auto: "auto",
490
- 1: "1",
491
- 2: "2",
492
- 3: "3",
493
- 4: "4",
494
- 5: "5",
495
- 6: "6",
496
- 7: "7",
497
- 8: "8",
498
- 9: "9",
499
- 10: "10",
500
- 11: "11",
501
- 12: "12",
502
- 13: "13"
503
- },
504
- gridRow: {
505
- auto: "auto",
506
- "span-1": "span 1 / span 1",
507
- "span-2": "span 2 / span 2",
508
- "span-3": "span 3 / span 3",
509
- "span-4": "span 4 / span 4",
510
- "span-5": "span 5 / span 5",
511
- "span-6": "span 6 / span 6",
512
- "span-7": "span 7 / span 7",
513
- "span-8": "span 8 / span 8",
514
- "span-9": "span 9 / span 9",
515
- "span-10": "span 10 / span 10",
516
- "span-11": "span 11 / span 11",
517
- "span-12": "span 12 / span 12",
518
- "span-full": "1 / -1"
519
- },
520
- gridRowEnd: {
521
- auto: "auto",
522
- 1: "1",
523
- 2: "2",
524
- 3: "3",
525
- 4: "4",
526
- 5: "5",
527
- 6: "6",
528
- 7: "7",
529
- 8: "8",
530
- 9: "9",
531
- 10: "10",
532
- 11: "11",
533
- 12: "12",
534
- 13: "13"
535
- },
536
- gridRowStart: {
537
- auto: "auto",
538
- 1: "1",
539
- 2: "2",
540
- 3: "3",
541
- 4: "4",
542
- 5: "5",
543
- 6: "6",
544
- 7: "7",
545
- 8: "8",
546
- 9: "9",
547
- 10: "10",
548
- 11: "11",
549
- 12: "12",
550
- 13: "13"
551
- },
552
- gridTemplateColumns: {
553
- none: "none",
554
- subgrid: "subgrid",
555
- 1: "repeat(1, minmax(0, 1fr))",
556
- 2: "repeat(2, minmax(0, 1fr))",
557
- 3: "repeat(3, minmax(0, 1fr))",
558
- 4: "repeat(4, minmax(0, 1fr))",
559
- 5: "repeat(5, minmax(0, 1fr))",
560
- 6: "repeat(6, minmax(0, 1fr))",
561
- 7: "repeat(7, minmax(0, 1fr))",
562
- 8: "repeat(8, minmax(0, 1fr))",
563
- 9: "repeat(9, minmax(0, 1fr))",
564
- 10: "repeat(10, minmax(0, 1fr))",
565
- 11: "repeat(11, minmax(0, 1fr))",
566
- 12: "repeat(12, minmax(0, 1fr))"
567
- },
568
- gridTemplateRows: {
569
- none: "none",
570
- subgrid: "subgrid",
571
- 1: "repeat(1, minmax(0, 1fr))",
572
- 2: "repeat(2, minmax(0, 1fr))",
573
- 3: "repeat(3, minmax(0, 1fr))",
574
- 4: "repeat(4, minmax(0, 1fr))",
575
- 5: "repeat(5, minmax(0, 1fr))",
576
- 6: "repeat(6, minmax(0, 1fr))",
577
- 7: "repeat(7, minmax(0, 1fr))",
578
- 8: "repeat(8, minmax(0, 1fr))",
579
- 9: "repeat(9, minmax(0, 1fr))",
580
- 10: "repeat(10, minmax(0, 1fr))",
581
- 11: "repeat(11, minmax(0, 1fr))",
582
- 12: "repeat(12, minmax(0, 1fr))"
583
- },
584
- height: ({ theme }) => ({
585
- auto: "auto",
586
- ...theme("spacing"),
587
- "1/2": "50%",
588
- "1/3": "33.333333%",
589
- "2/3": "66.666667%",
590
- "1/4": "25%",
591
- "2/4": "50%",
592
- "3/4": "75%",
593
- "1/5": "20%",
594
- "2/5": "40%",
595
- "3/5": "60%",
596
- "4/5": "80%",
597
- "1/6": "16.666667%",
598
- "2/6": "33.333333%",
599
- "3/6": "50%",
600
- "4/6": "66.666667%",
601
- "5/6": "83.333333%",
602
- full: "100%",
603
- screen: "100vh",
604
- svh: "100svh",
605
- lvh: "100lvh",
606
- dvh: "100dvh",
607
- min: "min-content",
608
- max: "max-content",
609
- fit: "fit-content"
610
- }),
611
- hueRotate: {
612
- 0: "0deg",
613
- 15: "15deg",
614
- 30: "30deg",
615
- 60: "60deg",
616
- 90: "90deg",
617
- 180: "180deg"
618
- },
619
- inset: ({ theme }) => ({
620
- auto: "auto",
621
- ...theme("spacing"),
622
- "1/2": "50%",
623
- "1/3": "33.333333%",
624
- "2/3": "66.666667%",
625
- "1/4": "25%",
626
- "2/4": "50%",
627
- "3/4": "75%",
628
- full: "100%"
629
- }),
630
- invert: {
631
- 0: "0",
632
- DEFAULT: "100%"
633
- },
634
- keyframes: {
635
- spin: {
636
- to: {
637
- transform: "rotate(360deg)"
638
- }
639
- },
640
- ping: {
641
- "75%, 100%": {
642
- transform: "scale(2)",
643
- opacity: "0"
644
- }
645
- },
646
- pulse: {
647
- "50%": {
648
- opacity: ".5"
649
- }
650
- },
651
- bounce: {
652
- "0%, 100%": {
653
- transform: "translateY(-25%)",
654
- animationTimingFunction: "cubic-bezier(0.8,0,1,1)"
655
- },
656
- "50%": {
657
- transform: "none",
658
- animationTimingFunction: "cubic-bezier(0,0,0.2,1)"
659
- }
660
- }
661
- },
662
- letterSpacing: {
663
- tighter: "-0.05em",
664
- tight: "-0.025em",
665
- normal: "0em",
666
- wide: "0.025em",
667
- wider: "0.05em",
668
- widest: "0.1em"
669
- },
670
- lineHeight: {
671
- none: "1",
672
- tight: "1.25",
673
- snug: "1.375",
674
- normal: "1.5",
675
- relaxed: "1.625",
676
- loose: "2",
677
- 3: ".75rem",
678
- 4: "1rem",
679
- 5: "1.25rem",
680
- 6: "1.5rem",
681
- 7: "1.75rem",
682
- 8: "2rem",
683
- 9: "2.25rem",
684
- 10: "2.5rem"
685
- },
686
- listStyleType: {
687
- none: "none",
688
- disc: "disc",
689
- decimal: "decimal"
690
- },
691
- listStyleImage: {
692
- none: "none"
693
- },
694
- margin: ({ theme }) => ({
695
- auto: "auto",
696
- ...theme("spacing")
697
- }),
698
- lineClamp: {
699
- 1: "1",
700
- 2: "2",
701
- 3: "3",
702
- 4: "4",
703
- 5: "5",
704
- 6: "6"
705
- },
706
- maxHeight: ({ theme }) => ({
707
- ...theme("spacing"),
708
- none: "none",
709
- full: "100%",
710
- screen: "100vh",
711
- svh: "100svh",
712
- lvh: "100lvh",
713
- dvh: "100dvh",
714
- min: "min-content",
715
- max: "max-content",
716
- fit: "fit-content"
717
- }),
718
- maxWidth: ({ theme, breakpoints }) => ({
719
- ...theme("spacing"),
720
- none: "none",
721
- xs: "20rem",
722
- sm: "24rem",
723
- md: "28rem",
724
- lg: "32rem",
725
- xl: "36rem",
726
- "2xl": "42rem",
727
- "3xl": "48rem",
728
- "4xl": "56rem",
729
- "5xl": "64rem",
730
- "6xl": "72rem",
731
- "7xl": "80rem",
732
- full: "100%",
733
- min: "min-content",
734
- max: "max-content",
735
- fit: "fit-content",
736
- prose: "65ch",
737
- ...breakpoints(theme("screens"))
738
- }),
739
- minHeight: ({ theme }) => ({
740
- ...theme("spacing"),
741
- full: "100%",
742
- screen: "100vh",
743
- svh: "100svh",
744
- lvh: "100lvh",
745
- dvh: "100dvh",
746
- min: "min-content",
747
- max: "max-content",
748
- fit: "fit-content"
749
- }),
750
- minWidth: ({ theme }) => ({
751
- ...theme("spacing"),
752
- full: "100%",
753
- min: "min-content",
754
- max: "max-content",
755
- fit: "fit-content"
756
- }),
757
- objectPosition: {
758
- bottom: "bottom",
759
- center: "center",
760
- left: "left",
761
- "left-bottom": "left bottom",
762
- "left-top": "left top",
763
- right: "right",
764
- "right-bottom": "right bottom",
765
- "right-top": "right top",
766
- top: "top"
767
- },
768
- opacity: {
769
- 0: "0",
770
- 5: "0.05",
771
- 10: "0.1",
772
- 15: "0.15",
773
- 20: "0.2",
774
- 25: "0.25",
775
- 30: "0.3",
776
- 35: "0.35",
777
- 40: "0.4",
778
- 45: "0.45",
779
- 50: "0.5",
780
- 55: "0.55",
781
- 60: "0.6",
782
- 65: "0.65",
783
- 70: "0.7",
784
- 75: "0.75",
785
- 80: "0.8",
786
- 85: "0.85",
787
- 90: "0.9",
788
- 95: "0.95",
789
- 100: "1"
790
- },
791
- order: {
792
- first: "-9999",
793
- last: "9999",
794
- none: "0",
795
- 1: "1",
796
- 2: "2",
797
- 3: "3",
798
- 4: "4",
799
- 5: "5",
800
- 6: "6",
801
- 7: "7",
802
- 8: "8",
803
- 9: "9",
804
- 10: "10",
805
- 11: "11",
806
- 12: "12"
807
- },
808
- outlineColor: ({ theme }) => theme("colors"),
809
- outlineOffset: {
810
- 0: "0px",
811
- 1: "1px",
812
- 2: "2px",
813
- 4: "4px",
814
- 8: "8px"
815
- },
816
- outlineWidth: {
817
- 0: "0px",
818
- 1: "1px",
819
- 2: "2px",
820
- 4: "4px",
821
- 8: "8px"
822
- },
823
- padding: ({ theme }) => theme("spacing"),
824
- placeholderColor: ({ theme }) => theme("colors"),
825
- placeholderOpacity: ({ theme }) => theme("opacity"),
826
- ringColor: ({ theme }) => ({
827
- DEFAULT: theme("colors.blue.500", "#3b82f6"),
828
- ...theme("colors")
829
- }),
830
- ringOffsetColor: ({ theme }) => theme("colors"),
831
- ringOffsetWidth: {
832
- 0: "0px",
833
- 1: "1px",
834
- 2: "2px",
835
- 4: "4px",
836
- 8: "8px"
837
- },
838
- ringOpacity: ({ theme }) => ({
839
- DEFAULT: "0.5",
840
- ...theme("opacity")
841
- }),
842
- ringWidth: {
843
- DEFAULT: "3px",
844
- 0: "0px",
845
- 1: "1px",
846
- 2: "2px",
847
- 4: "4px",
848
- 8: "8px"
849
- },
850
- rotate: {
851
- 0: "0deg",
852
- 1: "1deg",
853
- 2: "2deg",
854
- 3: "3deg",
855
- 6: "6deg",
856
- 12: "12deg",
857
- 45: "45deg",
858
- 90: "90deg",
859
- 180: "180deg"
860
- },
861
- saturate: {
862
- 0: "0",
863
- 50: ".5",
864
- 100: "1",
865
- 150: "1.5",
866
- 200: "2"
867
- },
868
- scale: {
869
- 0: "0",
870
- 50: ".5",
871
- 75: ".75",
872
- 90: ".9",
873
- 95: ".95",
874
- 100: "1",
875
- 105: "1.05",
876
- 110: "1.1",
877
- 125: "1.25",
878
- 150: "1.5"
879
- },
880
- screens: {
881
- sm: "640px",
882
- md: "768px",
883
- lg: "1024px",
884
- xl: "1280px",
885
- "2xl": "1536px"
886
- },
887
- scrollMargin: ({ theme }) => ({
888
- ...theme("spacing")
889
- }),
890
- scrollPadding: ({ theme }) => theme("spacing"),
891
- sepia: {
892
- 0: "0",
893
- DEFAULT: "100%"
894
- },
895
- skew: {
896
- 0: "0deg",
897
- 1: "1deg",
898
- 2: "2deg",
899
- 3: "3deg",
900
- 6: "6deg",
901
- 12: "12deg"
902
- },
903
- space: ({ theme }) => ({
904
- ...theme("spacing")
905
- }),
906
- spacing: {
907
- px: "1px",
908
- 0: "0px",
909
- 0.5: "0.125rem",
910
- 1: "0.25rem",
911
- 1.5: "0.375rem",
912
- 2: "0.5rem",
913
- 2.5: "0.625rem",
914
- 3: "0.75rem",
915
- 3.5: "0.875rem",
916
- 4: "1rem",
917
- 5: "1.25rem",
918
- 6: "1.5rem",
919
- 7: "1.75rem",
920
- 8: "2rem",
921
- 9: "2.25rem",
922
- 10: "2.5rem",
923
- 11: "2.75rem",
924
- 12: "3rem",
925
- 14: "3.5rem",
926
- 16: "4rem",
927
- 20: "5rem",
928
- 24: "6rem",
929
- 28: "7rem",
930
- 32: "8rem",
931
- 36: "9rem",
932
- 40: "10rem",
933
- 44: "11rem",
934
- 48: "12rem",
935
- 52: "13rem",
936
- 56: "14rem",
937
- 60: "15rem",
938
- 64: "16rem",
939
- 72: "18rem",
940
- 80: "20rem",
941
- 96: "24rem"
942
- },
943
- stroke: ({ theme }) => ({
944
- none: "none",
945
- ...theme("colors")
946
- }),
947
- strokeWidth: {
948
- 0: "0",
949
- 1: "1",
950
- 2: "2"
951
- },
952
- supports: {},
953
- data: {},
954
- textColor: ({ theme }) => theme("colors"),
955
- textDecorationColor: ({ theme }) => theme("colors"),
956
- textDecorationThickness: {
957
- auto: "auto",
958
- "from-font": "from-font",
959
- 0: "0px",
960
- 1: "1px",
961
- 2: "2px",
962
- 4: "4px",
963
- 8: "8px"
964
- },
965
- textIndent: ({ theme }) => ({
966
- ...theme("spacing")
967
- }),
968
- textOpacity: ({ theme }) => theme("opacity"),
969
- textUnderlineOffset: {
970
- auto: "auto",
971
- 0: "0px",
972
- 1: "1px",
973
- 2: "2px",
974
- 4: "4px",
975
- 8: "8px"
976
- },
977
- transformOrigin: {
978
- center: "center",
979
- top: "top",
980
- "top-right": "top right",
981
- right: "right",
982
- "bottom-right": "bottom right",
983
- bottom: "bottom",
984
- "bottom-left": "bottom left",
985
- left: "left",
986
- "top-left": "top left"
987
- },
988
- transitionDelay: {
989
- 0: "0s",
990
- 75: "75ms",
991
- 100: "100ms",
992
- 150: "150ms",
993
- 200: "200ms",
994
- 300: "300ms",
995
- 500: "500ms",
996
- 700: "700ms",
997
- 1e3: "1000ms"
998
- },
999
- transitionDuration: {
1000
- DEFAULT: "150ms",
1001
- 0: "0s",
1002
- 75: "75ms",
1003
- 100: "100ms",
1004
- 150: "150ms",
1005
- 200: "200ms",
1006
- 300: "300ms",
1007
- 500: "500ms",
1008
- 700: "700ms",
1009
- 1e3: "1000ms"
1010
- },
1011
- transitionProperty: {
1012
- none: "none",
1013
- all: "all",
1014
- DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
1015
- colors: "color, background-color, border-color, text-decoration-color, fill, stroke",
1016
- opacity: "opacity",
1017
- shadow: "box-shadow",
1018
- transform: "transform"
1019
- },
1020
- transitionTimingFunction: {
1021
- DEFAULT: "cubic-bezier(0.4, 0, 0.2, 1)",
1022
- linear: "linear",
1023
- in: "cubic-bezier(0.4, 0, 1, 1)",
1024
- out: "cubic-bezier(0, 0, 0.2, 1)",
1025
- "in-out": "cubic-bezier(0.4, 0, 0.2, 1)"
1026
- },
1027
- translate: ({ theme }) => ({
1028
- ...theme("spacing"),
1029
- "1/2": "50%",
1030
- "1/3": "33.333333%",
1031
- "2/3": "66.666667%",
1032
- "1/4": "25%",
1033
- "2/4": "50%",
1034
- "3/4": "75%",
1035
- full: "100%"
1036
- }),
1037
- size: ({ theme }) => ({
1038
- auto: "auto",
1039
- ...theme("spacing"),
1040
- "1/2": "50%",
1041
- "1/3": "33.333333%",
1042
- "2/3": "66.666667%",
1043
- "1/4": "25%",
1044
- "2/4": "50%",
1045
- "3/4": "75%",
1046
- "1/5": "20%",
1047
- "2/5": "40%",
1048
- "3/5": "60%",
1049
- "4/5": "80%",
1050
- "1/6": "16.666667%",
1051
- "2/6": "33.333333%",
1052
- "3/6": "50%",
1053
- "4/6": "66.666667%",
1054
- "5/6": "83.333333%",
1055
- "1/12": "8.333333%",
1056
- "2/12": "16.666667%",
1057
- "3/12": "25%",
1058
- "4/12": "33.333333%",
1059
- "5/12": "41.666667%",
1060
- "6/12": "50%",
1061
- "7/12": "58.333333%",
1062
- "8/12": "66.666667%",
1063
- "9/12": "75%",
1064
- "10/12": "83.333333%",
1065
- "11/12": "91.666667%",
1066
- full: "100%",
1067
- min: "min-content",
1068
- max: "max-content",
1069
- fit: "fit-content"
1070
- }),
1071
- width: ({ theme }) => ({
1072
- auto: "auto",
1073
- ...theme("spacing"),
1074
- "1/2": "50%",
1075
- "1/3": "33.333333%",
1076
- "2/3": "66.666667%",
1077
- "1/4": "25%",
1078
- "2/4": "50%",
1079
- "3/4": "75%",
1080
- "1/5": "20%",
1081
- "2/5": "40%",
1082
- "3/5": "60%",
1083
- "4/5": "80%",
1084
- "1/6": "16.666667%",
1085
- "2/6": "33.333333%",
1086
- "3/6": "50%",
1087
- "4/6": "66.666667%",
1088
- "5/6": "83.333333%",
1089
- "1/12": "8.333333%",
1090
- "2/12": "16.666667%",
1091
- "3/12": "25%",
1092
- "4/12": "33.333333%",
1093
- "5/12": "41.666667%",
1094
- "6/12": "50%",
1095
- "7/12": "58.333333%",
1096
- "8/12": "66.666667%",
1097
- "9/12": "75%",
1098
- "10/12": "83.333333%",
1099
- "11/12": "91.666667%",
1100
- full: "100%",
1101
- screen: "100vw",
1102
- svw: "100svw",
1103
- lvw: "100lvw",
1104
- dvw: "100dvw",
1105
- min: "min-content",
1106
- max: "max-content",
1107
- fit: "fit-content"
1108
- }),
1109
- willChange: {
1110
- auto: "auto",
1111
- scroll: "scroll-position",
1112
- contents: "contents",
1113
- transform: "transform"
1114
- },
1115
- zIndex: {
1116
- auto: "auto",
1117
- 0: "0",
1118
- 10: "10",
1119
- 20: "20",
1120
- 30: "30",
1121
- 40: "40",
1122
- 50: "50"
1123
- }
1124
- },
1125
- plugins: []
1126
- };
1127
- }
1128
- });
1129
-
1130
- // ../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/public/default-theme.js
1131
- var require_default_theme = __commonJS({
1132
- "../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/public/default-theme.js"(exports2) {
1133
- "use strict";
1134
- Object.defineProperty(exports2, "__esModule", {
1135
- value: true
1136
- });
1137
- Object.defineProperty(exports2, "default", {
1138
- enumerable: true,
1139
- get: function() {
1140
- return _default;
1141
- }
1142
- });
1143
- var _cloneDeep = require_cloneDeep();
1144
- var _configfull = /* @__PURE__ */ _interop_require_default(require_config_full());
1145
- function _interop_require_default(obj) {
1146
- return obj && obj.__esModule ? obj : {
1147
- default: obj
1148
- };
1149
- }
1150
- var _default = (0, _cloneDeep.cloneDeep)(_configfull.default.theme);
1151
- }
1152
- });
1153
-
1154
- // ../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/defaultTheme.js
1155
- var require_defaultTheme = __commonJS({
1156
- "../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/defaultTheme.js"(exports2, module2) {
1157
- "use strict";
1158
- var defaultTheme = require_default_theme();
1159
- module2.exports = (defaultTheme.__esModule ? defaultTheme : { default: defaultTheme }).default;
1160
- }
1161
- });
1162
-
1163
- // src/preset.ts
1164
- var preset_exports = {};
1165
- __export(preset_exports, {
1166
- preset: () => preset
1167
- });
1168
- module.exports = __toCommonJS(preset_exports);
1169
- var import_defaultTheme = __toESM(require_defaultTheme());
1170
- var import_theme_preset = require("@marigold/theme-preset");
1171
-
1172
- // src/screens.ts
1173
- var screens = {
1174
- sm: "640px",
1175
- md: "768px",
1176
- lg: "1024px",
1177
- xl: "1280px",
1178
- "2xl": "1400px"
1179
- };
1180
-
1181
- // src/tokens.ts
1182
- var white = "#fff";
1183
- var amber = {
1184
- 50: "#fffbeb",
1185
- 100: "#fef3c7",
1186
- 200: "#fde68a",
1187
- 300: "#fcd34d",
1188
- 400: "#fbbf24",
1189
- 500: "#f59e0b",
1190
- 600: "#d97706",
1191
- 700: "#b45309",
1192
- 800: "#92400e",
1193
- 900: "#78350f",
1194
- 950: "#451a03"
1195
- };
1196
- var blue = {
1197
- 50: "#eff6ff",
1198
- 100: "#dbeafe",
1199
- 200: "#bfdbfe",
1200
- 300: "#93c5fd",
1201
- 400: "#60a5fa",
1202
- 500: "#3b82f6",
1203
- 600: "#2563eb",
1204
- 700: "#1d4ed8",
1205
- 800: "#1e40af",
1206
- 900: "#1e3a8a",
1207
- 950: "#172554"
1208
- };
1209
- var lime = {
1210
- 50: "#f7fee7",
1211
- 100: "#ecfccb",
1212
- 200: "#d9f99d",
1213
- 300: "#bef264",
1214
- 400: "#a3e635",
1215
- 500: "#84cc16",
1216
- 600: "#65a30d",
1217
- 700: "#4d7c0f",
1218
- 800: "#3f6212",
1219
- 900: "#365314",
1220
- 950: "#1a2e05"
1221
- };
1222
- var neutral = {
1223
- 50: "#fafafa",
1224
- 100: "#f5f5f5",
1225
- 200: "#e5e5e5",
1226
- 300: "#d4d4d4",
1227
- 400: "#a3a3a3",
1228
- 500: "#737373",
1229
- 600: "#525252",
1230
- 700: "#404040",
1231
- 800: "#262626",
1232
- 900: "#171717",
1233
- 950: "#0a0a0a"
1234
- };
1235
- var red = {
1236
- 50: "#fef2f2",
1237
- 100: "#fee2e2",
1238
- 200: "#fecaca",
1239
- 300: "#fca5a5",
1240
- 400: "#f87171",
1241
- 500: "#ef4444",
1242
- 600: "#dc2626",
1243
- 700: "#b91c1c",
1244
- 800: "#991b1b",
1245
- 900: "#7f1d1d",
1246
- 950: "#450a0a"
1247
- };
1248
- var slate = {
1249
- 50: "#f8fafc",
1250
- 100: "#f1f5f9",
1251
- 200: "#e2e8f0",
1252
- 300: "#cbd5e1",
1253
- 400: "#94a3b8",
1254
- 500: "#64748b",
1255
- 600: "#475569",
1256
- 700: "#334155",
1257
- 800: "#1e293b",
1258
- 900: "#0f172a",
1259
- 950: "#020617"
1260
- };
1261
- var brand = {
1262
- primary: {
1263
- 50: "#fff2e6",
1264
- 100: "#fee6cd",
1265
- 200: "#fdcc9b",
1266
- 300: "#fcb369",
1267
- 400: "#fb9937",
1268
- 500: "#fa8005",
1269
- 600: "#c86604",
1270
- 700: "#964d03",
1271
- 800: "#643302",
1272
- 900: "#321a01",
1273
- 950: "#190d00"
1274
- }
1275
- };
1276
- var code = {
1277
- "50": "#f6f7f9",
1278
- "100": "#ebecf3",
1279
- "200": "#d3d6e4",
1280
- "300": "#acb3cd",
1281
- "400": "#808cb0",
1282
- "500": "#606e97",
1283
- "600": "#4b557e",
1284
- "700": "#3e4666",
1285
- "800": "#363d56",
1286
- "900": "#292d3e",
1287
- "950": "#202231"
1288
- };
1289
- var colors = {
1290
- // Brand
1291
- // ---------------
1292
- ...brand,
1293
- secondary: slate,
1294
- code,
1295
- // Text
1296
- // ---------------
1297
- text: {
1298
- primary: {
1299
- DEFAULT: slate[950],
1300
- muted: slate[500]
1301
- },
1302
- disabled: slate[300],
1303
- // State
1304
- info: blue[800],
1305
- warning: amber[800]
1306
- },
1307
- // Background
1308
- // ---------------
1309
- bg: {
1310
- body: slate[50],
1311
- inverted: slate[700],
1312
- hover: neutral[100],
1313
- muted: slate[100],
1314
- disabled: slate[100],
1315
- underlay: slate[500],
1316
- surface: {
1317
- DEFAULT: slate[50],
1318
- raised: slate[50],
1319
- lowered: slate[100],
1320
- overlay: white
1321
- },
1322
- // Status
1323
- success: lime[50],
1324
- error: red[50],
1325
- info: blue[50],
1326
- warning: amber[50]
1327
- },
1328
- // Border
1329
- // ---------------
1330
- border: {
1331
- DEFAULT: slate[300],
1332
- primary: slate[950],
1333
- // status
1334
- success: lime[500],
1335
- error: red[400]
1336
- }
1337
- };
1338
-
1339
- // src/preset.ts
1340
- var preset = (0, import_theme_preset.createPreset)({
1341
- content: [
1342
- "./node_modules/@marigold/components/dist/*.js",
1343
- "./node_modules/@marigold/system/dist/*.js",
1344
- "./node_modules/@marigold/theme-docs/dist/index.js"
1345
- ],
1346
- theme: {
1347
- container: {
1348
- center: true,
1349
- padding: "2rem",
1350
- screens
1351
- },
1352
- extend: {
1353
- fontFamily: {
1354
- body: ["var(--font-sans)", ...import_defaultTheme.fontFamily.sans]
1355
- },
1356
- animation: {
1357
- "shiny-text": "shiny-text 8s infinite"
1358
- },
1359
- keyframes: {
1360
- "shiny-text": {
1361
- "0%, 90%, 100%": {
1362
- "background-position": "calc(-100% - var(--shiny-width)) 0"
1363
- },
1364
- "30%, 60%": {
1365
- "background-position": "calc(100% + var(--shiny-width)) 0"
1366
- }
1367
- }
1368
- },
1369
- colors
1370
- }
1371
- }
1372
- });
1373
- // Annotate the CommonJS export names for ESM import in node:
1374
- 0 && (module.exports = {
1375
- preset
1376
- });
1377
- //# sourceMappingURL=preset.js.map