@thesage/ui 0.0.9

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.
Files changed (43) hide show
  1. package/dist/fontThemes-Bwf7_lFg.d.mts +842 -0
  2. package/dist/fontThemes-Bwf7_lFg.d.ts +842 -0
  3. package/dist/hooks-C8PrmIXy.d.mts +225 -0
  4. package/dist/hooks-Ct9RBhg-.d.ts +225 -0
  5. package/dist/hooks.d.mts +3 -0
  6. package/dist/hooks.d.ts +3 -0
  7. package/dist/hooks.js +1342 -0
  8. package/dist/hooks.js.map +1 -0
  9. package/dist/hooks.mjs +1314 -0
  10. package/dist/hooks.mjs.map +1 -0
  11. package/dist/index-CsnncHSm.d.mts +23 -0
  12. package/dist/index-CsnncHSm.d.ts +23 -0
  13. package/dist/index.d.mts +2830 -0
  14. package/dist/index.d.ts +2830 -0
  15. package/dist/index.js +12637 -0
  16. package/dist/index.js.map +1 -0
  17. package/dist/index.mjs +12319 -0
  18. package/dist/index.mjs.map +1 -0
  19. package/dist/providers-Dv3LFGtJ.d.mts +17 -0
  20. package/dist/providers-Dv3LFGtJ.d.ts +17 -0
  21. package/dist/providers.d.mts +2 -0
  22. package/dist/providers.d.ts +2 -0
  23. package/dist/providers.js +1944 -0
  24. package/dist/providers.js.map +1 -0
  25. package/dist/providers.mjs +1918 -0
  26. package/dist/providers.mjs.map +1 -0
  27. package/dist/tokens.d.mts +831 -0
  28. package/dist/tokens.d.ts +831 -0
  29. package/dist/tokens.js +2399 -0
  30. package/dist/tokens.js.map +1 -0
  31. package/dist/tokens.mjs +2319 -0
  32. package/dist/tokens.mjs.map +1 -0
  33. package/dist/utils-DlJKRVzQ.d.mts +986 -0
  34. package/dist/utils-xrpHqxXR.d.ts +986 -0
  35. package/dist/utils.d.mts +4 -0
  36. package/dist/utils.d.ts +4 -0
  37. package/dist/utils.js +873 -0
  38. package/dist/utils.js.map +1 -0
  39. package/dist/utils.mjs +805 -0
  40. package/dist/utils.mjs.map +1 -0
  41. package/dist/validation-Bj1ye-v_.d.mts +114 -0
  42. package/dist/validation-Bj1ye-v_.d.ts +114 -0
  43. package/package.json +117 -0
@@ -0,0 +1,2319 @@
1
+ "use client";
2
+
3
+ // ../tokens/src/base.ts
4
+ var baseTokens = {
5
+ /**
6
+ * Spacing scale (based on 4px grid)
7
+ */
8
+ spacing: {
9
+ "0": "0",
10
+ "0.5": "0.125rem",
11
+ // 2px
12
+ "1": "0.25rem",
13
+ // 4px
14
+ "2": "0.5rem",
15
+ // 8px
16
+ "3": "0.75rem",
17
+ // 12px
18
+ "4": "1rem",
19
+ // 16px
20
+ "5": "1.25rem",
21
+ // 20px
22
+ "6": "1.5rem",
23
+ // 24px
24
+ "8": "2rem",
25
+ // 32px
26
+ "10": "2.5rem",
27
+ // 40px
28
+ "12": "3rem",
29
+ // 48px
30
+ "16": "4rem",
31
+ // 64px
32
+ "20": "5rem",
33
+ // 80px
34
+ "24": "6rem",
35
+ // 96px
36
+ "32": "8rem"
37
+ // 128px
38
+ },
39
+ /**
40
+ * Typography scales
41
+ */
42
+ fontSize: {
43
+ "xs": "0.75rem",
44
+ // 12px
45
+ "sm": "0.875rem",
46
+ // 14px
47
+ "base": "1rem",
48
+ // 16px
49
+ "lg": "1.125rem",
50
+ // 18px
51
+ "xl": "1.25rem",
52
+ // 20px
53
+ "2xl": "1.5rem",
54
+ // 24px
55
+ "3xl": "1.875rem",
56
+ // 30px
57
+ "4xl": "2.25rem",
58
+ // 36px
59
+ "5xl": "3rem",
60
+ // 48px
61
+ "6xl": "3.75rem",
62
+ // 60px
63
+ "7xl": "4.5rem",
64
+ // 72px
65
+ "8xl": "6rem"
66
+ // 96px
67
+ },
68
+ fontWeight: {
69
+ light: "300",
70
+ normal: "400",
71
+ medium: "500",
72
+ semibold: "600",
73
+ bold: "700",
74
+ extrabold: "800",
75
+ black: "900"
76
+ },
77
+ lineHeight: {
78
+ none: "1",
79
+ tight: "1.25",
80
+ snug: "1.375",
81
+ normal: "1.5",
82
+ relaxed: "1.625",
83
+ loose: "2"
84
+ },
85
+ /**
86
+ * Border radius
87
+ */
88
+ borderRadius: {
89
+ none: "0",
90
+ sm: "0.125rem",
91
+ // 2px
92
+ DEFAULT: "0.25rem",
93
+ // 4px
94
+ md: "0.375rem",
95
+ // 6px
96
+ lg: "0.5rem",
97
+ // 8px
98
+ xl: "0.75rem",
99
+ // 12px
100
+ "2xl": "1rem",
101
+ // 16px
102
+ "3xl": "1.5rem",
103
+ // 24px
104
+ full: "9999px"
105
+ },
106
+ /**
107
+ * Motion durations (base values - themes can override)
108
+ */
109
+ duration: {
110
+ instant: "0ms",
111
+ fast: "150ms",
112
+ normal: "300ms",
113
+ slow: "500ms",
114
+ slower: "800ms"
115
+ },
116
+ /**
117
+ * Easing curves (base values - themes can override)
118
+ */
119
+ ease: {
120
+ linear: "linear",
121
+ in: "cubic-bezier(0.4, 0, 1, 1)",
122
+ out: "cubic-bezier(0, 0, 0.2, 1)",
123
+ inOut: "cubic-bezier(0.4, 0, 0.2, 1)"
124
+ },
125
+ /**
126
+ * Z-index scale
127
+ */
128
+ zIndex: {
129
+ "auto": "auto",
130
+ "0": "0",
131
+ "10": "10",
132
+ "20": "20",
133
+ "30": "30",
134
+ "40": "40",
135
+ "50": "50",
136
+ dropdown: "1000",
137
+ sticky: "1020",
138
+ fixed: "1030",
139
+ modalBackdrop: "1040",
140
+ modal: "1050",
141
+ popover: "1060",
142
+ tooltip: "1070"
143
+ },
144
+ /**
145
+ * Focus ring configuration
146
+ */
147
+ focus: {
148
+ width: "2px",
149
+ offset: "2px",
150
+ style: "solid"
151
+ }
152
+ };
153
+ var spacing = {
154
+ xs: baseTokens.spacing["1"],
155
+ // 4px — Tight internal padding
156
+ sm: baseTokens.spacing["2"],
157
+ // 8px — Default gap
158
+ md: baseTokens.spacing["4"],
159
+ // 16px — Section padding
160
+ lg: baseTokens.spacing["6"],
161
+ // 24px — Card padding
162
+ xl: baseTokens.spacing["8"],
163
+ // 32px — Section margins
164
+ "2xl": baseTokens.spacing["12"],
165
+ // 48px — Page sections
166
+ "3xl": baseTokens.spacing["16"]
167
+ // 64px — Major divisions
168
+ };
169
+ var typography = {
170
+ fonts: {
171
+ sans: "var(--font-body)",
172
+ serif: "var(--font-heading)",
173
+ mono: "var(--font-mono)"
174
+ },
175
+ sizes: {
176
+ xs: baseTokens.fontSize.xs,
177
+ // 12px — Fine print
178
+ sm: baseTokens.fontSize.sm,
179
+ // 14px — Secondary text
180
+ base: baseTokens.fontSize.base,
181
+ // 16px — Body text
182
+ lg: baseTokens.fontSize.lg,
183
+ // 18px — Lead paragraphs
184
+ xl: baseTokens.fontSize.xl,
185
+ // 20px — Section headers
186
+ "2xl": baseTokens.fontSize["2xl"],
187
+ // 24px — Page headers
188
+ "3xl": baseTokens.fontSize["3xl"]
189
+ // 30px — Hero text
190
+ },
191
+ weights: {
192
+ normal: baseTokens.fontWeight.normal,
193
+ // 400
194
+ medium: baseTokens.fontWeight.medium,
195
+ // 500
196
+ semibold: baseTokens.fontWeight.semibold,
197
+ // 600
198
+ bold: baseTokens.fontWeight.bold
199
+ // 700
200
+ },
201
+ leading: {
202
+ tight: baseTokens.lineHeight.tight,
203
+ // 1.25 — Headings
204
+ normal: baseTokens.lineHeight.normal,
205
+ // 1.5 — Body
206
+ relaxed: baseTokens.lineHeight.relaxed
207
+ // 1.625 — Spacious reading
208
+ }
209
+ };
210
+ var motion = {
211
+ duration: baseTokens.duration,
212
+ easing: {
213
+ default: baseTokens.ease.out,
214
+ // Most transitions
215
+ spring: "cubic-bezier(0.16, 1, 0.3, 1)",
216
+ // Playful interactions
217
+ linear: baseTokens.ease.linear
218
+ // Progress indicators
219
+ }
220
+ };
221
+
222
+ // ../tokens/src/studio.ts
223
+ var studioTokens = {
224
+ light: {
225
+ colors: {
226
+ // Backgrounds
227
+ background: "#ffffff",
228
+ backgroundSecondary: "#fafafa",
229
+ backgroundTertiary: "#f5f5f5",
230
+ // Foregrounds
231
+ foreground: "#0a0a0a",
232
+ foregroundSecondary: "#525252",
233
+ foregroundTertiary: "#a3a3a3",
234
+ // Brand
235
+ primary: "#0a0a0a",
236
+ primaryForeground: "#ffffff",
237
+ secondary: "#f5f5f5",
238
+ secondaryForeground: "#0a0a0a",
239
+ accent: "#0070f3",
240
+ accentForeground: "#ffffff",
241
+ // Borders
242
+ border: "#d4d4d4",
243
+ borderSubtle: "#f5f5f5",
244
+ // States
245
+ hover: "#fafafa",
246
+ active: "#f0f0f0",
247
+ // Link hover states
248
+ linkHover: "#0a0a0a",
249
+ linkHoverForeground: "#ffffff",
250
+ // Semantic
251
+ success: "#00a86b",
252
+ successForeground: "#ffffff",
253
+ warning: "#f59e0b",
254
+ warningForeground: "#ffffff",
255
+ error: "#ef4444",
256
+ errorForeground: "#ffffff",
257
+ info: "#0070f3",
258
+ infoForeground: "#ffffff",
259
+ // Component-specific colors
260
+ card: "#ffffff",
261
+ cardForeground: "#0a0a0a",
262
+ popover: "#ffffff",
263
+ popoverForeground: "#0a0a0a",
264
+ muted: "#f5f5f5",
265
+ mutedForeground: "#737373",
266
+ destructive: "#ef4444",
267
+ destructiveForeground: "#ffffff",
268
+ input: "#d4d4d4",
269
+ ring: "#0a0a0a",
270
+ // Surface is used by various components
271
+ surface: "#fafafa",
272
+ // Glass effects
273
+ glass: "rgba(255, 255, 255, 0.7)",
274
+ glassBorder: "rgba(0, 0, 0, 0.1)"
275
+ },
276
+ effects: {
277
+ blur: {
278
+ sm: "blur(4px)",
279
+ md: "blur(8px)",
280
+ lg: "blur(16px)",
281
+ xl: "blur(24px)"
282
+ },
283
+ shadow: {
284
+ sm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
285
+ md: "0 4px 6px -1px rgba(0, 0, 0, 0.1)",
286
+ lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1)",
287
+ xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1)",
288
+ "2xl": "0 25px 50px -12px rgba(0, 0, 0, 0.25)"
289
+ }
290
+ }
291
+ },
292
+ dark: {
293
+ colors: {
294
+ // Backgrounds
295
+ background: "#000000",
296
+ backgroundSecondary: "#171717",
297
+ backgroundTertiary: "#262626",
298
+ // Foregrounds
299
+ foreground: "#fafafa",
300
+ foregroundSecondary: "#a3a3a3",
301
+ foregroundTertiary: "#858585",
302
+ // Brand
303
+ primary: "#ffffff",
304
+ primaryForeground: "#0a0a0a",
305
+ secondary: "#262626",
306
+ secondaryForeground: "#fafafa",
307
+ accent: "#0090ff",
308
+ accentForeground: "#ffffff",
309
+ // Borders
310
+ border: "#404040",
311
+ borderSubtle: "#1a1a1a",
312
+ // States
313
+ hover: "#1a1a1a",
314
+ active: "#262626",
315
+ // Link hover states
316
+ linkHover: "#ffffff",
317
+ linkHoverForeground: "#0a0a0a",
318
+ // Semantic
319
+ success: "#10b981",
320
+ successForeground: "#ffffff",
321
+ warning: "#f59e0b",
322
+ warningForeground: "#ffffff",
323
+ error: "#ef4444",
324
+ errorForeground: "#ffffff",
325
+ info: "#0090ff",
326
+ infoForeground: "#ffffff",
327
+ // Component-specific colors
328
+ card: "#0a0a0a",
329
+ cardForeground: "#fafafa",
330
+ popover: "#0a0a0a",
331
+ popoverForeground: "#fafafa",
332
+ muted: "#262626",
333
+ mutedForeground: "#a3a3a3",
334
+ destructive: "#ef4444",
335
+ destructiveForeground: "#ffffff",
336
+ input: "#404040",
337
+ ring: "#d4d4d4",
338
+ // Surface is used by various components
339
+ surface: "#171717",
340
+ // Glass effects
341
+ glass: "rgba(0, 0, 0, 0.7)",
342
+ glassBorder: "rgba(255, 255, 255, 0.1)"
343
+ },
344
+ effects: {
345
+ blur: {
346
+ sm: "blur(4px)",
347
+ md: "blur(8px)",
348
+ lg: "blur(16px)",
349
+ xl: "blur(24px)"
350
+ },
351
+ shadow: {
352
+ sm: "0 1px 2px 0 rgba(0, 0, 0, 0.3)",
353
+ md: "0 4px 6px -1px rgba(0, 0, 0, 0.5)",
354
+ lg: "0 10px 15px -3px rgba(0, 0, 0, 0.6)",
355
+ xl: "0 20px 25px -5px rgba(0, 0, 0, 0.7)",
356
+ "2xl": "0 25px 50px -12px rgba(0, 0, 0, 0.8)"
357
+ }
358
+ }
359
+ },
360
+ /**
361
+ * Motion personality for Studio theme
362
+ */
363
+ motion: {
364
+ // Duration scales based on motion slider (0-10)
365
+ getDuration: (intensity) => {
366
+ if (intensity === 0) return "0ms";
367
+ const ms = 150 + (intensity - 1) * 40;
368
+ return `${ms}ms`;
369
+ },
370
+ // Easing curves - smooth and professional
371
+ ease: {
372
+ default: "cubic-bezier(0.4, 0, 0.2, 1)",
373
+ // ease-in-out
374
+ in: "cubic-bezier(0.4, 0, 1, 1)",
375
+ out: "cubic-bezier(0, 0, 0.2, 1)",
376
+ spring: "cubic-bezier(0.16, 1, 0.3, 1)"
377
+ // Smooth spring
378
+ }
379
+ },
380
+ /**
381
+ * Typography for Studio theme
382
+ */
383
+ typography: {
384
+ heading: {
385
+ fontFamily: "var(--font-geist-sans)",
386
+ fontWeight: "600",
387
+ letterSpacing: "-0.02em"
388
+ },
389
+ body: {
390
+ fontFamily: "var(--font-geist-sans)",
391
+ fontWeight: "400",
392
+ letterSpacing: "0"
393
+ },
394
+ mono: {
395
+ fontFamily: "var(--font-geist-mono)",
396
+ fontWeight: "400",
397
+ letterSpacing: "0"
398
+ }
399
+ }
400
+ };
401
+
402
+ // ../tokens/src/sage.ts
403
+ var sageTokens = {
404
+ light: {
405
+ colors: {
406
+ // Warm, earthy backgrounds
407
+ background: "#faf8f5",
408
+ backgroundSecondary: "#f5f1eb",
409
+ backgroundTertiary: "#ede8e0",
410
+ // Warm neutrals for text
411
+ foreground: "#2d2823",
412
+ foregroundSecondary: "#5a524a",
413
+ foregroundTertiary: "#8a7f72",
414
+ // Muted sage green as primary
415
+ primary: "#7a9b7f",
416
+ primaryForeground: "#faf8f5",
417
+ primaryHover: "#6a8b6f",
418
+ // Secondary - warm stone
419
+ secondary: "#ede8e0",
420
+ secondaryForeground: "#2d2823",
421
+ // Warm terracotta accent
422
+ accent: "#c17a5f",
423
+ accentForeground: "#faf8f5",
424
+ accentHover: "#b16a4f",
425
+ // Semantic colors with muted, organic tones
426
+ success: "#6b8e6f",
427
+ successForeground: "#faf8f5",
428
+ warning: "#d4a574",
429
+ warningForeground: "#2d2823",
430
+ error: "#c17a5f",
431
+ errorForeground: "#faf8f5",
432
+ info: "#8b9dc3",
433
+ infoForeground: "#faf8f5",
434
+ // Borders - warm subtle
435
+ border: "#e0d8cf",
436
+ borderSubtle: "#ede8e0",
437
+ // States
438
+ hover: "#f5f1eb",
439
+ active: "#ede8e0",
440
+ // Link hover states - Muted sage green
441
+ linkHover: "#7a9b7f",
442
+ linkHoverForeground: "#faf8f5",
443
+ // Soft glass effects
444
+ glass: "rgba(250, 248, 245, 0.85)",
445
+ glassBorder: "rgba(122, 155, 127, 0.15)"
446
+ },
447
+ effects: {
448
+ blur: {
449
+ sm: "blur(6px)",
450
+ md: "blur(12px)",
451
+ lg: "blur(20px)",
452
+ xl: "blur(32px)"
453
+ },
454
+ shadow: {
455
+ sm: "0 2px 4px 0 rgba(45, 40, 35, 0.06)",
456
+ md: "0 4px 8px -2px rgba(45, 40, 35, 0.08)",
457
+ lg: "0 8px 16px -4px rgba(45, 40, 35, 0.12)",
458
+ xl: "0 16px 32px -8px rgba(45, 40, 35, 0.16)",
459
+ "2xl": "0 24px 48px -12px rgba(45, 40, 35, 0.20)"
460
+ }
461
+ }
462
+ },
463
+ dark: {
464
+ colors: {
465
+ // Deep forest backgrounds
466
+ background: "#1a1614",
467
+ backgroundSecondary: "#252220",
468
+ backgroundTertiary: "#2f2b28",
469
+ // Warm light text
470
+ foreground: "#f5f1eb",
471
+ foregroundSecondary: "#c7bfb5",
472
+ foregroundTertiary: "#8a7f72",
473
+ // Brighter sage for dark mode
474
+ primary: "#a8c5ad",
475
+ primaryForeground: "#1a1614",
476
+ primaryHover: "#b8d5bd",
477
+ // Secondary - lighter warm stone
478
+ secondary: "#2f2b28",
479
+ secondaryForeground: "#f5f1eb",
480
+ // Warm peachy accent for dark
481
+ accent: "#e5a78a",
482
+ accentForeground: "#1a1614",
483
+ accentHover: "#f5b79a",
484
+ // Semantic colors adjusted for dark
485
+ success: "#95b89a",
486
+ successForeground: "#1a1614",
487
+ warning: "#e5c59a",
488
+ warningForeground: "#1a1614",
489
+ error: "#e5a78a",
490
+ errorForeground: "#1a1614",
491
+ info: "#a8b5d5",
492
+ infoForeground: "#1a1614",
493
+ // Borders
494
+ border: "#3a3530",
495
+ borderSubtle: "#2f2b28",
496
+ // States
497
+ hover: "#252220",
498
+ active: "#2f2b28",
499
+ // Link hover states - Brighter sage for dark mode
500
+ linkHover: "#a8c5ad",
501
+ linkHoverForeground: "#1a1614",
502
+ // Dark glass effects
503
+ glass: "rgba(26, 22, 20, 0.85)",
504
+ glassBorder: "rgba(168, 197, 173, 0.2)"
505
+ },
506
+ effects: {
507
+ blur: {
508
+ sm: "blur(6px)",
509
+ md: "blur(12px)",
510
+ lg: "blur(20px)",
511
+ xl: "blur(32px)"
512
+ },
513
+ shadow: {
514
+ sm: "0 2px 4px 0 rgba(0, 0, 0, 0.3)",
515
+ md: "0 4px 8px -2px rgba(0, 0, 0, 0.4)",
516
+ lg: "0 8px 16px -4px rgba(0, 0, 0, 0.5)",
517
+ xl: "0 16px 32px -8px rgba(0, 0, 0, 0.6)",
518
+ "2xl": "0 24px 48px -12px rgba(0, 0, 0, 0.7)"
519
+ }
520
+ }
521
+ },
522
+ motion: {
523
+ getDuration: (intensity) => {
524
+ if (intensity === 0) return "0ms";
525
+ const ms = 300 + (intensity - 1) * 60;
526
+ return `${ms}ms`;
527
+ },
528
+ ease: {
529
+ default: "cubic-bezier(0.33, 1, 0.68, 1)",
530
+ // Organic, flowing
531
+ in: "cubic-bezier(0.4, 0, 1, 1)",
532
+ out: "cubic-bezier(0, 0, 0.2, 1)",
533
+ spring: "cubic-bezier(0.16, 1, 0.3, 1)"
534
+ }
535
+ },
536
+ interactions: {
537
+ hover: {
538
+ overlayColor: "var(--color-interaction-overlay)",
539
+ opacity: "var(--opacity-interaction-hover)"
540
+ },
541
+ active: {
542
+ scale: "var(--scale-interaction-active)"
543
+ },
544
+ focus: {
545
+ ringColor: "var(--color-interaction-focus-ring)",
546
+ ringWidth: "var(--width-interaction-focus-ring)",
547
+ ringOffset: "var(--width-interaction-focus-offset)"
548
+ },
549
+ disabled: {
550
+ opacity: "var(--opacity-interaction-disabled)"
551
+ }
552
+ },
553
+ typography: {
554
+ heading: {
555
+ fontFamily: "var(--font-sage-serif)",
556
+ // Lora serif
557
+ fontWeight: "600",
558
+ letterSpacing: "-0.01em"
559
+ },
560
+ body: {
561
+ fontFamily: "var(--font-sage-sans)",
562
+ // Instrument Sans
563
+ fontWeight: "400",
564
+ letterSpacing: "0"
565
+ },
566
+ mono: {
567
+ fontFamily: "var(--font-sage-mono)",
568
+ fontWeight: "400",
569
+ letterSpacing: "0"
570
+ }
571
+ }
572
+ };
573
+
574
+ // ../tokens/src/volt.ts
575
+ var voltTokens = {
576
+ light: {
577
+ colors: {
578
+ // Bright, punchy backgrounds
579
+ background: "#ffffff",
580
+ backgroundSecondary: "#f8f9fb",
581
+ backgroundTertiary: "#f0f2f5",
582
+ // Sharp contrast text
583
+ foreground: "#0a0a0a",
584
+ foregroundSecondary: "#4a4a4a",
585
+ foregroundTertiary: "#8a8a8a",
586
+ // Electric blue primary (WCAG AA compliant)
587
+ primary: "#0066ff",
588
+ primaryForeground: "#ffffff",
589
+ primaryHover: "#0052cc",
590
+ // Secondary - cool gray
591
+ secondary: "#f0f2f5",
592
+ secondaryForeground: "#0a0a0a",
593
+ // Vibrant cyan accent
594
+ accent: "#00d9ff",
595
+ accentForeground: "#0a0a0a",
596
+ accentHover: "#00c3e6",
597
+ // Bold semantic colors
598
+ success: "#00cc66",
599
+ successForeground: "#ffffff",
600
+ warning: "#ffaa00",
601
+ warningForeground: "#0a0a0a",
602
+ error: "#ff3366",
603
+ errorForeground: "#ffffff",
604
+ info: "#3399ff",
605
+ infoForeground: "#ffffff",
606
+ // Borders
607
+ border: "#e0e4ea",
608
+ borderSubtle: "#f0f2f5",
609
+ // States
610
+ hover: "#f8f9fb",
611
+ active: "#f0f2f5",
612
+ // Link hover states - Electric blue with high contrast
613
+ linkHover: "#0066ff",
614
+ linkHoverForeground: "#ffffff",
615
+ // Crisp glass effects
616
+ glass: "rgba(255, 255, 255, 0.8)",
617
+ glassBorder: "rgba(0, 102, 255, 0.2)"
618
+ },
619
+ effects: {
620
+ blur: {
621
+ sm: "blur(8px)",
622
+ md: "blur(16px)",
623
+ lg: "blur(32px)",
624
+ xl: "blur(48px)"
625
+ },
626
+ shadow: {
627
+ sm: "0 0 8px rgba(0, 102, 255, 0.15)",
628
+ md: "0 0 16px rgba(0, 102, 255, 0.2)",
629
+ lg: "0 0 24px rgba(0, 102, 255, 0.25)",
630
+ xl: "0 0 32px rgba(0, 102, 255, 0.3)",
631
+ "2xl": "0 0 48px rgba(0, 102, 255, 0.4)"
632
+ }
633
+ }
634
+ },
635
+ dark: {
636
+ colors: {
637
+ // Pure black cyberpunk background
638
+ background: "#000000",
639
+ backgroundSecondary: "#0a0a0a",
640
+ backgroundTertiary: "#141414",
641
+ // Bright white text
642
+ foreground: "#ffffff",
643
+ foregroundSecondary: "#b3b3b3",
644
+ foregroundTertiary: "#666666",
645
+ // Neon blue primary
646
+ primary: "#0099ff",
647
+ primaryForeground: "#000000",
648
+ primaryHover: "#00aaff",
649
+ // Secondary - dark gray
650
+ secondary: "#141414",
651
+ secondaryForeground: "#ffffff",
652
+ // Neon cyan accent
653
+ accent: "#00ffff",
654
+ accentForeground: "#000000",
655
+ accentHover: "#33ffff",
656
+ // Neon semantic colors
657
+ success: "#00ff99",
658
+ successForeground: "#000000",
659
+ warning: "#ffcc00",
660
+ warningForeground: "#000000",
661
+ error: "#ff0066",
662
+ errorForeground: "#ffffff",
663
+ info: "#66ccff",
664
+ infoForeground: "#000000",
665
+ // Borders
666
+ border: "#1a1a1a",
667
+ borderSubtle: "#141414",
668
+ // States
669
+ hover: "#0a0a0a",
670
+ active: "#141414",
671
+ // Link hover states - Neon cyan (high luma)
672
+ linkHover: "#00ffff",
673
+ linkHoverForeground: "#000000",
674
+ // Dark glass with glow
675
+ glass: "rgba(0, 0, 0, 0.8)",
676
+ glassBorder: "rgba(0, 153, 255, 0.3)"
677
+ },
678
+ effects: {
679
+ blur: {
680
+ sm: "blur(8px)",
681
+ md: "blur(16px)",
682
+ lg: "blur(32px)",
683
+ xl: "blur(48px)"
684
+ },
685
+ shadow: {
686
+ sm: "0 0 12px rgba(0, 153, 255, 0.4)",
687
+ md: "0 0 20px rgba(0, 153, 255, 0.5)",
688
+ lg: "0 0 32px rgba(0, 153, 255, 0.6)",
689
+ xl: "0 0 48px rgba(0, 153, 255, 0.7)",
690
+ "2xl": "0 0 64px rgba(0, 153, 255, 0.8)"
691
+ }
692
+ }
693
+ },
694
+ motion: {
695
+ getDuration: (intensity) => {
696
+ if (intensity === 0) return "0ms";
697
+ const ms = 100 + (intensity - 1) * 25;
698
+ return `${ms}ms`;
699
+ },
700
+ ease: {
701
+ default: "cubic-bezier(0.16, 1, 0.3, 1)",
702
+ // Snappy spring
703
+ in: "cubic-bezier(0.4, 0, 1, 1)",
704
+ out: "cubic-bezier(0, 0, 0.2, 1)",
705
+ spring: "cubic-bezier(0.68, -0.55, 0.27, 1.55)"
706
+ // Bouncy
707
+ }
708
+ },
709
+ typography: {
710
+ heading: {
711
+ fontFamily: "var(--font-volt-sans)",
712
+ // Space Grotesk
713
+ fontWeight: "700",
714
+ // Bold
715
+ letterSpacing: "-0.03em"
716
+ },
717
+ body: {
718
+ fontFamily: "var(--font-volt-sans)",
719
+ fontWeight: "400",
720
+ letterSpacing: "0"
721
+ },
722
+ mono: {
723
+ fontFamily: "var(--font-volt-mono)",
724
+ // Fira Code
725
+ fontWeight: "400",
726
+ letterSpacing: "0"
727
+ }
728
+ }
729
+ };
730
+
731
+ // ../tokens/src/typography.ts
732
+ var fontFamilies = {
733
+ studio: {
734
+ heading: "Outfit",
735
+ body: "Manrope",
736
+ mono: "Fira Code",
737
+ description: "Modern geometric sans-serif with clean readability",
738
+ usage: {
739
+ heading: "Headlines, titles, emphasis",
740
+ body: "Paragraphs, UI text, readable content",
741
+ mono: "Code blocks, technical content"
742
+ }
743
+ },
744
+ sage: {
745
+ heading: "Lora",
746
+ // Serif for elegance
747
+ body: "Instrument Sans",
748
+ serif: "Lora",
749
+ // Explicit serif reference
750
+ sans: "Instrument Sans",
751
+ // Explicit sans reference
752
+ mono: "Fira Code",
753
+ description: "Elegant serif headings with modern sans body",
754
+ usage: {
755
+ heading: "Elegant headings, article titles",
756
+ body: "Long-form content, UI text",
757
+ serif: "Pull quotes, emphasis",
758
+ sans: "UI elements, captions",
759
+ mono: "Code blocks, technical content"
760
+ }
761
+ },
762
+ volt: {
763
+ heading: "Space Grotesk",
764
+ body: "Space Grotesk",
765
+ sans: "Space Grotesk",
766
+ mono: "Fira Code",
767
+ description: "Tech-forward, consistent geometric throughout",
768
+ usage: {
769
+ heading: "All headlines",
770
+ body: "All body text (unified typography)",
771
+ sans: "All sans-serif needs",
772
+ mono: "Code blocks, technical content"
773
+ }
774
+ }
775
+ };
776
+ var fontLoadingConfig = {
777
+ studio: {
778
+ heading: { family: "Outfit", weights: ["300", "400", "500", "600", "700", "800"] },
779
+ body: { family: "Manrope", weights: ["300", "400", "500", "600", "700", "800"] },
780
+ mono: { family: "Fira Code", weights: ["400", "500", "600", "700"] }
781
+ },
782
+ sage: {
783
+ heading: { family: "Lora", weights: ["400", "500", "600", "700"] },
784
+ body: { family: "Instrument Sans", weights: ["400", "500", "600", "700"] },
785
+ mono: { family: "Fira Code", weights: ["400", "500", "600", "700"] }
786
+ },
787
+ volt: {
788
+ heading: { family: "Space Grotesk", weights: ["300", "400", "500", "600", "700"] },
789
+ body: { family: "Space Grotesk", weights: ["300", "400", "500", "600", "700"] },
790
+ mono: { family: "Fira Code", weights: ["400", "500", "600", "700"] }
791
+ }
792
+ };
793
+ var fontSizes = {
794
+ // Body text scale
795
+ xs: { base: "0.75rem", mobile: "0.75rem" },
796
+ // 12px
797
+ sm: { base: "0.875rem", mobile: "0.875rem" },
798
+ // 14px
799
+ base: { base: "1rem", mobile: "1rem" },
800
+ // 16px
801
+ lg: { base: "1.125rem", mobile: "1rem" },
802
+ // 18px / 16px mobile
803
+ xl: { base: "1.25rem", mobile: "1.125rem" },
804
+ // 20px / 18px mobile
805
+ "2xl": { base: "1.5rem", mobile: "1.25rem" },
806
+ // 24px / 20px mobile
807
+ "3xl": { base: "1.875rem", mobile: "1.5rem" },
808
+ // 30px / 24px mobile
809
+ // Heading scale (h6 → h1)
810
+ "4xl": { base: "2.25rem", mobile: "1.875rem" },
811
+ // 36px / 30px - h3
812
+ "5xl": { base: "3rem", mobile: "2.25rem" },
813
+ // 48px / 36px - h2
814
+ "6xl": { base: "3.75rem", mobile: "2.5rem" },
815
+ // 60px / 40px - h1
816
+ "7xl": { base: "4.5rem", mobile: "3rem" },
817
+ // 72px / 48px - Display
818
+ "8xl": { base: "6rem", mobile: "3.75rem" },
819
+ // 96px / 60px - Hero
820
+ "9xl": { base: "8rem", mobile: "4.5rem" }
821
+ // 128px / 72px - Ultra
822
+ };
823
+ var semanticSizes = {
824
+ "heading-1": "hero",
825
+ "heading-2": "5xl",
826
+ "heading-3": "4xl",
827
+ "heading-4": "2xl",
828
+ "heading-5": "xl",
829
+ "heading-6": "lg",
830
+ "body-large": "lg",
831
+ "body": "base",
832
+ "body-small": "sm",
833
+ "caption": "xs"
834
+ };
835
+ var fontWeights = {
836
+ thin: "100",
837
+ extralight: "200",
838
+ light: "300",
839
+ normal: "400",
840
+ medium: "500",
841
+ semibold: "600",
842
+ bold: "700",
843
+ extrabold: "800",
844
+ black: "900"
845
+ };
846
+ var semanticWeights = {
847
+ heading: "bold",
848
+ // Default heading weight
849
+ "heading-light": "semibold",
850
+ "heading-heavy": "extrabold",
851
+ body: "normal",
852
+ // Default body weight
853
+ "body-emphasis": "medium",
854
+ "body-strong": "semibold",
855
+ caption: "normal"
856
+ };
857
+ var lineHeights = {
858
+ none: "1",
859
+ tight: "1.25",
860
+ snug: "1.375",
861
+ normal: "1.5",
862
+ relaxed: "1.625",
863
+ loose: "1.75",
864
+ extraloose: "2"
865
+ };
866
+ var semanticLineHeights = {
867
+ heading: "tight",
868
+ "heading-display": "none",
869
+ // Very tight for large display text
870
+ body: "normal",
871
+ "body-relaxed": "relaxed",
872
+ caption: "snug"
873
+ };
874
+ var letterSpacing = {
875
+ tighter: "-0.05em",
876
+ tight: "-0.025em",
877
+ normal: "0",
878
+ wide: "0.025em",
879
+ wider: "0.05em",
880
+ widest: "0.1em"
881
+ };
882
+ var semanticLetterSpacing = {
883
+ heading: "tight",
884
+ "heading-display": "tighter",
885
+ body: "normal",
886
+ "small-caps": "wider",
887
+ "all-caps": "widest"
888
+ };
889
+ var typePresets = {
890
+ "display-large": {
891
+ size: fontSizes["8xl"],
892
+ weight: fontWeights.bold,
893
+ lineHeight: lineHeights.none,
894
+ letterSpacing: letterSpacing.tighter,
895
+ description: "Large hero text, landing pages"
896
+ },
897
+ "display": {
898
+ size: fontSizes["7xl"],
899
+ weight: fontWeights.bold,
900
+ lineHeight: lineHeights.tight,
901
+ letterSpacing: letterSpacing.tight,
902
+ description: "Hero sections, major headings"
903
+ },
904
+ "heading-1": {
905
+ size: fontSizes["6xl"],
906
+ weight: fontWeights.bold,
907
+ lineHeight: lineHeights.tight,
908
+ letterSpacing: letterSpacing.tight,
909
+ description: "Page titles, h1"
910
+ },
911
+ "heading-2": {
912
+ size: fontSizes["5xl"],
913
+ weight: fontWeights.bold,
914
+ lineHeight: lineHeights.tight,
915
+ letterSpacing: letterSpacing.normal,
916
+ description: "Section titles, h2"
917
+ },
918
+ "heading-3": {
919
+ size: fontSizes["4xl"],
920
+ weight: fontWeights.semibold,
921
+ lineHeight: lineHeights.snug,
922
+ letterSpacing: letterSpacing.normal,
923
+ description: "Subsection titles, h3"
924
+ },
925
+ "heading-4": {
926
+ size: fontSizes["2xl"],
927
+ weight: fontWeights.semibold,
928
+ lineHeight: lineHeights.snug,
929
+ letterSpacing: letterSpacing.normal,
930
+ description: "Component titles, h4"
931
+ },
932
+ "heading-5": {
933
+ size: fontSizes.xl,
934
+ weight: fontWeights.medium,
935
+ lineHeight: lineHeights.normal,
936
+ letterSpacing: letterSpacing.normal,
937
+ description: "Small headings, h5"
938
+ },
939
+ "heading-6": {
940
+ size: fontSizes.lg,
941
+ weight: fontWeights.medium,
942
+ lineHeight: lineHeights.normal,
943
+ letterSpacing: letterSpacing.normal,
944
+ description: "Tiny headings, h6"
945
+ },
946
+ "body-large": {
947
+ size: fontSizes.lg,
948
+ weight: fontWeights.normal,
949
+ lineHeight: lineHeights.relaxed,
950
+ letterSpacing: letterSpacing.normal,
951
+ description: "Lead paragraphs, intro text"
952
+ },
953
+ "body": {
954
+ size: fontSizes.base,
955
+ weight: fontWeights.normal,
956
+ lineHeight: lineHeights.normal,
957
+ letterSpacing: letterSpacing.normal,
958
+ description: "Default body text"
959
+ },
960
+ "body-small": {
961
+ size: fontSizes.sm,
962
+ weight: fontWeights.normal,
963
+ lineHeight: lineHeights.normal,
964
+ letterSpacing: letterSpacing.normal,
965
+ description: "Small body text, fine print"
966
+ },
967
+ "caption": {
968
+ size: fontSizes.xs,
969
+ weight: fontWeights.normal,
970
+ lineHeight: lineHeights.snug,
971
+ letterSpacing: letterSpacing.wide,
972
+ description: "Captions, labels, metadata"
973
+ },
974
+ "overline": {
975
+ size: fontSizes.xs,
976
+ weight: fontWeights.semibold,
977
+ lineHeight: lineHeights.normal,
978
+ letterSpacing: letterSpacing.widest,
979
+ description: "Eyebrows, categories, all-caps labels"
980
+ }
981
+ };
982
+ function getFontVariable(theme, type) {
983
+ return `--font-${theme}-${type}`;
984
+ }
985
+ function getThemeFontVariables(theme) {
986
+ const fonts = fontFamilies[theme];
987
+ const vars = {};
988
+ Object.entries(fonts).forEach(([key, value]) => {
989
+ if (typeof value === "string") {
990
+ vars[`--font-${theme}-${key}`] = value;
991
+ }
992
+ });
993
+ return vars;
994
+ }
995
+ function getResponsiveFontSize(sizeKey) {
996
+ const size = fontSizes[sizeKey];
997
+ return `font-size: ${size.mobile}; @media (min-width: 768px) { font-size: ${size.base}; }`;
998
+ }
999
+ var typographySystem = {
1000
+ families: fontFamilies,
1001
+ sizes: fontSizes,
1002
+ weights: fontWeights,
1003
+ lineHeights,
1004
+ letterSpacing,
1005
+ presets: typePresets,
1006
+ semantic: {
1007
+ sizes: semanticSizes,
1008
+ weights: semanticWeights,
1009
+ lineHeights: semanticLineHeights,
1010
+ letterSpacing: semanticLetterSpacing
1011
+ },
1012
+ utils: {
1013
+ getFontVariable,
1014
+ getThemeFontVariables,
1015
+ getResponsiveFontSize
1016
+ }
1017
+ };
1018
+
1019
+ // ../tokens/src/syntax.ts
1020
+ var syntaxColors = {
1021
+ light: {
1022
+ comment: "#22863a",
1023
+ // Green for comments
1024
+ keyword: "#8250df",
1025
+ // Purple for keywords (import, export, const, etc.)
1026
+ function: "#6639ba",
1027
+ // Purple for function names
1028
+ string: "#c1592a",
1029
+ // Orange for strings
1030
+ number: "#0a3069",
1031
+ // Blue for numbers
1032
+ boolean: "#0550ae",
1033
+ // Blue for booleans
1034
+ operator: "#1a1a1a",
1035
+ // Almost black for operators
1036
+ property: "#0550ae",
1037
+ // Blue for properties
1038
+ className: "#005cc5",
1039
+ // Blue for class names
1040
+ tag: "#005cc5",
1041
+ // Blue for HTML/JSX tags
1042
+ attribute: "#0550ae",
1043
+ // Blue for attributes
1044
+ variable: "#0550ae",
1045
+ // Blue for variables
1046
+ punctuation: "#57606a",
1047
+ // Gray for punctuation
1048
+ plain: "#1a1a1a"
1049
+ // Default text color
1050
+ },
1051
+ dark: {
1052
+ comment: "#6A9955",
1053
+ // Green for comments
1054
+ keyword: "#C586C0",
1055
+ // Purple for keywords (import, export, const, etc.)
1056
+ function: "#DCDCAA",
1057
+ // Yellow for function names
1058
+ string: "#CE9178",
1059
+ // Orange for strings
1060
+ number: "#B5CEA8",
1061
+ // Light green for numbers
1062
+ boolean: "#569CD6",
1063
+ // Blue for booleans
1064
+ operator: "#D4D4D4",
1065
+ // Light gray for operators
1066
+ property: "#9CDCFE",
1067
+ // Light blue for properties
1068
+ className: "#4EC9B0",
1069
+ // Cyan for class names
1070
+ tag: "#4EC9B0",
1071
+ // Cyan for HTML/JSX tags
1072
+ attribute: "#9CDCFE",
1073
+ // Light blue for attributes
1074
+ variable: "#9CDCFE",
1075
+ // Light blue for variables
1076
+ punctuation: "#808080",
1077
+ // Gray for punctuation
1078
+ plain: "#D4D4D4"
1079
+ // Default text color
1080
+ }
1081
+ };
1082
+ var codeColors = {
1083
+ light: {
1084
+ // Block code background - cool gray for subtle distinction
1085
+ blockBackground: "#F8F9FA",
1086
+ // Inline code background - pale amber for warmth and visibility
1087
+ inlineBackground: "#FEF3E7",
1088
+ // Border color for definition and separation
1089
+ border: "#E1E4E8"
1090
+ },
1091
+ dark: {
1092
+ // Block code background - VS Code-inspired dark background
1093
+ blockBackground: "#1E1E1E",
1094
+ // Inline code background - slightly lighter for contrast
1095
+ inlineBackground: "#252525",
1096
+ // Border color for definition
1097
+ border: "#3D3D3D"
1098
+ }
1099
+ };
1100
+
1101
+ // ../tokens/src/color-palettes.ts
1102
+ var colorPalettes = [
1103
+ // === PROFESSIONAL ===
1104
+ {
1105
+ id: "deep-trust",
1106
+ name: "Deep Trust",
1107
+ description: "Confident navy with subtle warmth",
1108
+ category: "professional",
1109
+ primary: "#1e3a5f",
1110
+ secondary: "#64748b",
1111
+ accent: "#f59e0b",
1112
+ harmony: "Split-Complementary",
1113
+ bestFor: ["Finance", "Legal", "Enterprise SaaS"],
1114
+ rationale: "Navy (trust, authority) paired with Slate (neutral utility) and Amber (approachable warmth). The amber accent draws attention to CTAs without disrupting professional gravitas. High contrast ratios ensure accessibility.",
1115
+ wcagAA: true,
1116
+ wcagAAA: true
1117
+ },
1118
+ {
1119
+ id: "graphite-precision",
1120
+ name: "Graphite Precision",
1121
+ description: "Modern technical authority",
1122
+ category: "professional",
1123
+ primary: "#0f172a",
1124
+ secondary: "#475569",
1125
+ accent: "#0ea5e9",
1126
+ harmony: "Analogous + Accent",
1127
+ bestFor: ["Dev Tools", "Analytics", "SaaS Dashboards"],
1128
+ rationale: "Near-black primary (Slate 900) conveys technical sophistication. Steel secondary provides UI structure. Sky blue accent pops for interactive elements. Inspired by developer tools like VS Code and GitHub.",
1129
+ wcagAA: true,
1130
+ wcagAAA: false
1131
+ },
1132
+ {
1133
+ id: "obsidian-gold",
1134
+ name: "Obsidian Gold",
1135
+ description: "Premium high-end authority",
1136
+ category: "professional",
1137
+ primary: "#09090b",
1138
+ secondary: "#3f3f46",
1139
+ accent: "#ca8a04",
1140
+ harmony: "Complementary",
1141
+ bestFor: ["Luxury Tech", "Premium Services", "High-End Products"],
1142
+ rationale: "Zinc 950 primary delivers true premium feel without harsh black. Zinc 700 secondary creates layered depth for cards and containers. Yellow-700 gold accent signals exclusivity and value.",
1143
+ wcagAA: true,
1144
+ wcagAAA: true
1145
+ },
1146
+ {
1147
+ id: "slate-ember",
1148
+ name: "Slate Ember",
1149
+ description: "Warm corporate modernism",
1150
+ category: "professional",
1151
+ primary: "#334155",
1152
+ secondary: "#94a3b8",
1153
+ accent: "#ea580c",
1154
+ harmony: "Complementary",
1155
+ bestFor: ["Consulting", "B2B Services", "Corporate Sites"],
1156
+ rationale: "Slate 700 primary feels mature yet approachable. Slate 400 secondary lightens UI without losing professionalism. Orange 600 accent energizes without overwhelming\u2014perfect for subtle call-to-action emphasis.",
1157
+ wcagAA: true,
1158
+ wcagAAA: true
1159
+ },
1160
+ // === CREATIVE ===
1161
+ {
1162
+ id: "sunset-gradient",
1163
+ name: "Sunset Gradient",
1164
+ description: "Warm analogous energy flow",
1165
+ category: "creative",
1166
+ primary: "#db2777",
1167
+ secondary: "#f97316",
1168
+ accent: "#fbbf24",
1169
+ harmony: "Analogous",
1170
+ bestFor: ["Design Agencies", "Portfolios", "Creative Studios"],
1171
+ rationale: "Pink 600 \u2192 Orange 500 \u2192 Amber 400 creates natural warmth progression mimicking golden hour. This analogous flow feels cohesive yet dynamic. Works beautifully with white backgrounds and dark text.",
1172
+ wcagAA: true,
1173
+ wcagAAA: false
1174
+ },
1175
+ {
1176
+ id: "electric-violet",
1177
+ name: "Electric Violet",
1178
+ description: "Bold complementary punch",
1179
+ category: "creative",
1180
+ primary: "#7c3aed",
1181
+ secondary: "#be185d",
1182
+ accent: "#fb923c",
1183
+ harmony: "Triadic",
1184
+ bestFor: ["Entertainment", "Events", "Music", "Gaming"],
1185
+ rationale: "Violet 600, Rose 700, and Orange 400 form a dynamic triadic harmony. Each color is equidistant on the wheel, creating maximum visual interest while maintaining balance. Use violet as dominant, rose for sections, orange for CTAs.",
1186
+ wcagAA: true,
1187
+ wcagAAA: false
1188
+ },
1189
+ {
1190
+ id: "indigo-bloom",
1191
+ name: "Indigo Bloom",
1192
+ description: "Sophisticated feminine power",
1193
+ category: "creative",
1194
+ primary: "#4338ca",
1195
+ secondary: "#be123c",
1196
+ accent: "#d946ef",
1197
+ harmony: "Split-Complementary",
1198
+ bestFor: ["Beauty", "Fashion Tech", "Lifestyle Apps"],
1199
+ rationale: "Indigo 700 anchors with depth and sophistication. Rose 700 provides rich contrast. Fuchsia 500 accent sparkles for highlights and interactions. The palette balances strength with approachability.",
1200
+ wcagAA: true,
1201
+ wcagAAA: true
1202
+ },
1203
+ {
1204
+ id: "coral-reef",
1205
+ name: "Coral Reef",
1206
+ description: "Playful warmth with depth",
1207
+ category: "creative",
1208
+ primary: "#f43f5e",
1209
+ secondary: "#06b6d4",
1210
+ accent: "#fcd34d",
1211
+ harmony: "Triadic",
1212
+ bestFor: ["Social Apps", "Community Platforms", "Lifestyle"],
1213
+ rationale: "Rose 500 (coral), Cyan 500 (ocean), and Amber 300 (sand) evoke tropical vibrancy. This triadic scheme feels energetic yet grounded. Great for apps targeting younger, socially-engaged audiences.",
1214
+ wcagAA: true,
1215
+ wcagAAA: false
1216
+ },
1217
+ // === NATURE ===
1218
+ {
1219
+ id: "forest-floor",
1220
+ name: "Forest Floor",
1221
+ description: "Deep organic earthiness",
1222
+ category: "nature",
1223
+ primary: "#14532d",
1224
+ secondary: "#78350f",
1225
+ accent: "#84cc16",
1226
+ harmony: "Analogous + Accent",
1227
+ bestFor: ["Sustainability", "Wellness", "Organic Products"],
1228
+ rationale: "Green 900 (deep forest) and Amber 900 (rich earth/bark) create grounded warmth. Lime 500 accent represents new growth and vitality. This palette speaks to environmental consciousness and natural authenticity.",
1229
+ wcagAA: true,
1230
+ wcagAAA: true
1231
+ },
1232
+ {
1233
+ id: "ocean-calm",
1234
+ name: "Ocean Calm",
1235
+ description: "Tranquil aquatic serenity",
1236
+ category: "nature",
1237
+ primary: "#0f766e",
1238
+ secondary: "#0284c7",
1239
+ accent: "#22d3ee",
1240
+ harmony: "Analogous",
1241
+ bestFor: ["Healthcare", "Meditation", "Clean Tech"],
1242
+ rationale: "Teal 700, Sky 600, and Cyan 400 form a calming blue-green progression. Mimics depth variations in water. Low emotional intensity promotes trust and calm\u2014ideal for wellness and health applications.",
1243
+ wcagAA: true,
1244
+ wcagAAA: false
1245
+ },
1246
+ {
1247
+ id: "sage-garden",
1248
+ name: "Sage Garden",
1249
+ description: "Botanical mindfulness",
1250
+ category: "nature",
1251
+ primary: "#6366f1",
1252
+ secondary: "#059669",
1253
+ accent: "#fef08a",
1254
+ harmony: "Triadic",
1255
+ bestFor: ["Meditation Apps", "Spa", "Personal Growth"],
1256
+ rationale: "Indigo 500 (lavender energy), Emerald 600 (sage calm), Yellow 200 (morning light). Named colors match actual botanicals. Soft yellow accent provides gentle illumination for key interactions.",
1257
+ wcagAA: true,
1258
+ wcagAAA: false
1259
+ },
1260
+ {
1261
+ id: "desert-dawn",
1262
+ name: "Desert Dawn",
1263
+ description: "Warm arid minimalism",
1264
+ category: "nature",
1265
+ primary: "#d6d3d1",
1266
+ secondary: "#a8a29e",
1267
+ accent: "#c2410c",
1268
+ harmony: "Monochromatic + Accent",
1269
+ bestFor: ["Architecture", "Interior Design", "Artisan Goods"],
1270
+ rationale: "Stone 300 and Stone 400 create subtle warmth typical of desert sands. Orange 700 accent recalls desert flora and sunset. Minimalist yet rich\u2014perfect for showcasing products and photography.",
1271
+ wcagAA: false,
1272
+ wcagAAA: false
1273
+ },
1274
+ // === VIBRANT ===
1275
+ {
1276
+ id: "neon-signal",
1277
+ name: "Neon Signal",
1278
+ description: "High-energy cyberpunk electric",
1279
+ category: "vibrant",
1280
+ primary: "#06b6d4",
1281
+ secondary: "#d946ef",
1282
+ accent: "#fde047",
1283
+ harmony: "Triadic (CMY-based)",
1284
+ bestFor: ["Gaming", "Web3", "Music Streaming", "Youth Apps"],
1285
+ rationale: "Cyan 500, Fuchsia 500, Yellow 300 approximate CMY primaries\u2014the digital/print color model. Creates electric, almost glitch-aesthetic energy. Use sparingly on dark backgrounds for maximum impact.",
1286
+ wcagAA: false,
1287
+ wcagAAA: false
1288
+ },
1289
+ {
1290
+ id: "citrus-burst",
1291
+ name: "Citrus Burst",
1292
+ description: "Maximum fresh impact",
1293
+ category: "vibrant",
1294
+ primary: "#65a30d",
1295
+ secondary: "#7c3aed",
1296
+ accent: "#14b8a6",
1297
+ harmony: "Split-Complementary",
1298
+ bestFor: ["Sports", "Energy Drinks", "Youth Brands"],
1299
+ rationale: "Lime 600, Violet 600, and Teal 500 create intentional visual tension. The near-complementary lime/violet pairing vibrates with energy, while teal accent provides unexpected freshness. Bold and unapologetic.",
1300
+ wcagAA: false,
1301
+ wcagAAA: false
1302
+ },
1303
+ {
1304
+ id: "fire-intensity",
1305
+ name: "Fire Intensity",
1306
+ description: "Passionate warmth progression",
1307
+ category: "vibrant",
1308
+ primary: "#b91c1c",
1309
+ secondary: "#ea580c",
1310
+ accent: "#fbbf24",
1311
+ harmony: "Analogous (Warm)",
1312
+ bestFor: ["Food Delivery", "Fitness", "Action Sports"],
1313
+ rationale: "Red 700 \u2192 Orange 600 \u2192 Amber 400 represents heat intensity from coals to flame to spark. This warm analogous progression demands attention and creates urgency. Best balanced with plenty of whitespace.",
1314
+ wcagAA: true,
1315
+ wcagAAA: false
1316
+ },
1317
+ {
1318
+ id: "aurora-borealis",
1319
+ name: "Aurora Borealis",
1320
+ description: "Ethereal northern lights",
1321
+ category: "vibrant",
1322
+ primary: "#0891b2",
1323
+ secondary: "#7c3aed",
1324
+ accent: "#22c55e",
1325
+ harmony: "Triadic",
1326
+ bestFor: ["Astronomy Apps", "Science", "Innovation"],
1327
+ rationale: "Cyan 600, Violet 600, and Green 500 capture the magical shifting hues of aurora displays. Equally spaced on the wheel, they create visual wonder without chaos. Perfect for science and exploration themes.",
1328
+ wcagAA: true,
1329
+ wcagAAA: false
1330
+ },
1331
+ // === MINIMAL ===
1332
+ {
1333
+ id: "swiss-mono",
1334
+ name: "Swiss Mono",
1335
+ description: "International style precision",
1336
+ category: "minimal",
1337
+ primary: "#000000",
1338
+ secondary: "#52525b",
1339
+ accent: "#2563eb",
1340
+ harmony: "Achromatic + Accent",
1341
+ bestFor: ["Typography", "Photography", "Editorial"],
1342
+ rationale: "Pure black and Zinc 600 honor Swiss International Style. Blue 600 accent (classic 'international blue') provides subtle direction without disrupting minimalist purity. Maximum contrast, zero distraction.",
1343
+ wcagAA: true,
1344
+ wcagAAA: true
1345
+ },
1346
+ {
1347
+ id: "paper-whisper",
1348
+ name: "Paper Whisper",
1349
+ description: "Soft reading comfort",
1350
+ category: "minimal",
1351
+ primary: "#27272a",
1352
+ secondary: "#71717a",
1353
+ accent: "#a1a1aa",
1354
+ harmony: "Monochromatic",
1355
+ bestFor: ["Reading Apps", "Journaling", "Documentation"],
1356
+ rationale: "Zinc 800, 500, and 400 create subtle hierarchy without color distraction. True monochrome reduces cognitive load for reading-heavy interfaces. Accent provides gentle distinction for interactive elements.",
1357
+ wcagAA: true,
1358
+ wcagAAA: true
1359
+ },
1360
+ {
1361
+ id: "cool-slate",
1362
+ name: "Cool Slate",
1363
+ description: "Technical quiet confidence",
1364
+ category: "minimal",
1365
+ primary: "#334155",
1366
+ secondary: "#64748b",
1367
+ accent: "#38bdf8",
1368
+ harmony: "Analogous + Accent",
1369
+ bestFor: ["Architecture Portfolios", "Consulting", "Legal Tech"],
1370
+ rationale: "Slate 700 and 500 create cool, professional atmosphere. Sky 400 accent whispers rather than shouts\u2014perfect for subtle navigation cues and sparse interactive highlights.",
1371
+ wcagAA: true,
1372
+ wcagAAA: true
1373
+ },
1374
+ {
1375
+ id: "warm-neutral",
1376
+ name: "Warm Neutral",
1377
+ description: "Organic minimalism",
1378
+ category: "minimal",
1379
+ primary: "#292524",
1380
+ secondary: "#78716c",
1381
+ accent: "#92400e",
1382
+ harmony: "Monochromatic + Accent",
1383
+ bestFor: ["Artisan E-commerce", "Coffee Brands", "Craft"],
1384
+ rationale: "Stone 800 and 500 provide warmth missing from pure grays. Amber 800 accent recalls coffee, leather, wood\u2014materials with character. Minimal but not cold, modern but not sterile.",
1385
+ wcagAA: true,
1386
+ wcagAAA: true
1387
+ },
1388
+ // === LUXURY ===
1389
+ {
1390
+ id: "royal-velvet",
1391
+ name: "Royal Velvet",
1392
+ description: "Regal opulent depth",
1393
+ category: "luxury",
1394
+ primary: "#4c1d95",
1395
+ secondary: "#1e1b4b",
1396
+ accent: "#d97706",
1397
+ harmony: "Complementary",
1398
+ bestFor: ["VIP Services", "Luxury Hotels", "Private Banking"],
1399
+ rationale: "Violet 900 (deep purple) and Indigo 950 (near-black midnight) create layered richness. Amber 600 gold accent adds warmth and signals value. Historically associated with royalty and exclusivity.",
1400
+ wcagAA: true,
1401
+ wcagAAA: true
1402
+ },
1403
+ {
1404
+ id: "champagne-noir",
1405
+ name: "Champagne Noir",
1406
+ description: "High-fashion sophistication",
1407
+ category: "luxury",
1408
+ primary: "#0c0a09",
1409
+ secondary: "#1c1917",
1410
+ accent: "#d4af37",
1411
+ harmony: "Monochromatic + Metallic",
1412
+ bestFor: ["Fashion", "Jewelry", "Luxury Retail"],
1413
+ rationale: "Stone 950 (warm black) and Stone 900 create subtle depth. True metallic gold (#D4AF37) elevates beyond standard amber. The warmth in blacks prevents coldness while maintaining elegance.",
1414
+ wcagAA: true,
1415
+ wcagAAA: true
1416
+ },
1417
+ {
1418
+ id: "emerald-club",
1419
+ name: "Emerald Club",
1420
+ description: "Old money establishment",
1421
+ category: "luxury",
1422
+ primary: "#064e3b",
1423
+ secondary: "#166534",
1424
+ accent: "#b45309",
1425
+ harmony: "Analogous + Accent",
1426
+ bestFor: ["Private Clubs", "Wealth Management", "Heritage Brands"],
1427
+ rationale: "Emerald 900 and Green 800 create tone-on-tone richness associated with stability and tradition. Bronze/Amber 700 accent recalls old brass and mahogany. Communicates established trustworthiness.",
1428
+ wcagAA: true,
1429
+ wcagAAA: true
1430
+ },
1431
+ {
1432
+ id: "midnight-sapphire",
1433
+ name: "Midnight Sapphire",
1434
+ description: "Contemporary luxury tech",
1435
+ category: "luxury",
1436
+ primary: "#172554",
1437
+ secondary: "#1e3a8a",
1438
+ accent: "#fafafa",
1439
+ harmony: "Monochromatic + Contrast",
1440
+ bestFor: ["Luxury Auto", "Premium Electronics", "Elite Services"],
1441
+ rationale: "Blue 950 and Blue 800 create depth like sapphire gemstone. Pure white (Zinc 50) accent cuts through dramatically. Modern luxury aesthetic\u2014think high-end automotive interfaces.",
1442
+ wcagAA: true,
1443
+ wcagAAA: true
1444
+ },
1445
+ // === PLAYFUL ===
1446
+ {
1447
+ id: "candy-shop",
1448
+ name: "Candy Shop",
1449
+ description: "Joyful youthful sweetness",
1450
+ category: "playful",
1451
+ primary: "#ec4899",
1452
+ secondary: "#8b5cf6",
1453
+ accent: "#facc15",
1454
+ harmony: "Triadic",
1455
+ bestFor: ["Kids Apps", "Toys", "Gaming", "Entertainment"],
1456
+ rationale: "Pink 500 (bubble gum), Violet 500 (grape), Yellow 400 (lemon drop) evoke candy store joy. Classic gender-neutral playful combination. High saturation communicates energy and fun.",
1457
+ wcagAA: false,
1458
+ wcagAAA: false
1459
+ },
1460
+ {
1461
+ id: "sunny-day",
1462
+ name: "Sunny Day",
1463
+ description: "Optimistic primary colors",
1464
+ category: "playful",
1465
+ primary: "#2563eb",
1466
+ secondary: "#16a34a",
1467
+ accent: "#fbbf24",
1468
+ harmony: "Triadic (Primary-based)",
1469
+ bestFor: ["Education", "Children's Apps", "Learning Platforms"],
1470
+ rationale: "Blue 600 (sky), Green 600 (grass), Amber 400 (sun) are universally recognized and accessible. This primary-adjacent scheme feels familiar and approachable to all ages and cultures.",
1471
+ wcagAA: true,
1472
+ wcagAAA: false
1473
+ },
1474
+ {
1475
+ id: "mint-berry",
1476
+ name: "Mint Berry",
1477
+ description: "Fresh dessert sweetness",
1478
+ category: "playful",
1479
+ primary: "#10b981",
1480
+ secondary: "#ec4899",
1481
+ accent: "#06b6d4",
1482
+ harmony: "Split-Complementary",
1483
+ bestFor: ["Food Apps", "Lifestyle", "Wellness for Youth"],
1484
+ rationale: "Emerald 500 (mint), Pink 500 (berry), Cyan 500 (ice) create dessert-inspired freshness. High contrast between green and pink creates visual interest while cyan cools the palette.",
1485
+ wcagAA: false,
1486
+ wcagAAA: false
1487
+ },
1488
+ {
1489
+ id: "rainbow-pop",
1490
+ name: "Rainbow Pop",
1491
+ description: "Maximalist celebration",
1492
+ category: "playful",
1493
+ primary: "#f43f5e",
1494
+ secondary: "#8b5cf6",
1495
+ accent: "#06b6d4",
1496
+ harmony: "Triadic",
1497
+ bestFor: ["Pride Events", "Festivals", "Inclusive Communities"],
1498
+ rationale: "Rose 500, Violet 500, Cyan 500 span the visible spectrum. Celebrates diversity and inclusion through color. Each hue can represent different aspects while maintaining visual harmony.",
1499
+ wcagAA: false,
1500
+ wcagAAA: false
1501
+ },
1502
+ // === ACCESSIBLE ===
1503
+ {
1504
+ id: "high-clarity",
1505
+ name: "High Clarity",
1506
+ description: "Maximum readability",
1507
+ category: "accessible",
1508
+ primary: "#1f2937",
1509
+ secondary: "#4b5563",
1510
+ accent: "#0284c7",
1511
+ harmony: "Monochromatic + Accent",
1512
+ bestFor: ["Government", "Healthcare", "Education"],
1513
+ rationale: "Gray 800 and 600 on white exceed WCAG AAA contrast requirements (7:1+). Sky 600 accent passes AA for large text. Designed for universal accessibility including visual impairments.",
1514
+ wcagAA: true,
1515
+ wcagAAA: true
1516
+ },
1517
+ {
1518
+ id: "safe-contrast",
1519
+ name: "Safe Contrast",
1520
+ description: "Color-blind friendly",
1521
+ category: "accessible",
1522
+ primary: "#0369a1",
1523
+ secondary: "#374151",
1524
+ accent: "#ea580c",
1525
+ harmony: "Complementary",
1526
+ bestFor: ["Data Visualization", "Forms", "Critical Interfaces"],
1527
+ rationale: "Sky 700 and Gray 700 are distinguishable across common color blindness types. Orange 600 accent avoids red-green confusion. Tested with deuteranopia, protanopia, and tritanopia simulations.",
1528
+ wcagAA: true,
1529
+ wcagAAA: false
1530
+ },
1531
+ {
1532
+ id: "gentle-reader",
1533
+ name: "Gentle Reader",
1534
+ description: "Low eye strain",
1535
+ category: "accessible",
1536
+ primary: "#44403c",
1537
+ secondary: "#78716c",
1538
+ accent: "#2563eb",
1539
+ harmony: "Monochromatic + Accent",
1540
+ bestFor: ["Long-Form Reading", "Elderly Users", "Medical"],
1541
+ rationale: "Stone 700 and 500 avoid harsh black while maintaining readability. Reduced contrast prevents eye fatigue for extended reading. Blue 600 accent is universally distinguishable.",
1542
+ wcagAA: true,
1543
+ wcagAAA: true
1544
+ },
1545
+ {
1546
+ id: "clear-signal",
1547
+ name: "Clear Signal",
1548
+ description: "Semantic color safe",
1549
+ category: "accessible",
1550
+ primary: "#1e293b",
1551
+ secondary: "#64748b",
1552
+ accent: "#7c3aed",
1553
+ harmony: "Analogous + Accent",
1554
+ bestFor: ["Medical Interfaces", "Critical Systems", "Accessibility-First"],
1555
+ rationale: "Slate 800 and 500 provide clear hierarchy. Violet 600 accent is visible to most color vision types and doesn't conflict with semantic red/green/yellow states. Reserves those colors for their intended meanings.",
1556
+ wcagAA: true,
1557
+ wcagAAA: true
1558
+ }
1559
+ ];
1560
+ function getPalettesByCategory(category) {
1561
+ return colorPalettes.filter((p) => p.category === category);
1562
+ }
1563
+ function getPalettesByMood(mood) {
1564
+ return colorPalettes.filter(
1565
+ (p) => p.description.toLowerCase().includes(mood.toLowerCase()) || p.rationale?.toLowerCase().includes(mood.toLowerCase()) || p.mood?.some((m) => m.toLowerCase().includes(mood.toLowerCase()))
1566
+ );
1567
+ }
1568
+ function getPalettesForUseCase(useCase) {
1569
+ return colorPalettes.filter(
1570
+ (p) => p.bestFor?.some((uc) => uc.toLowerCase().includes(useCase.toLowerCase()))
1571
+ );
1572
+ }
1573
+ function getAccessiblePalettes(level = "AA") {
1574
+ return colorPalettes.filter(
1575
+ (p) => level === "AAA" ? p.wcagAAA : p.wcagAA
1576
+ );
1577
+ }
1578
+
1579
+ // ../tokens/src/color-utils.ts
1580
+ function hexToRgb(hex) {
1581
+ const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
1582
+ return result ? {
1583
+ r: parseInt(result[1], 16),
1584
+ g: parseInt(result[2], 16),
1585
+ b: parseInt(result[3], 16)
1586
+ } : null;
1587
+ }
1588
+ function hexToHSL(hex) {
1589
+ const rgb = hexToRgb(hex);
1590
+ if (!rgb) return { h: 0, s: 0, l: 0 };
1591
+ const r = rgb.r / 255;
1592
+ const g = rgb.g / 255;
1593
+ const b = rgb.b / 255;
1594
+ const max = Math.max(r, g, b);
1595
+ const min = Math.min(r, g, b);
1596
+ let h = 0, s = 0, l = (max + min) / 2;
1597
+ if (max !== min) {
1598
+ const d = max - min;
1599
+ s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
1600
+ switch (max) {
1601
+ case r:
1602
+ h = ((g - b) / d + (g < b ? 6 : 0)) / 6;
1603
+ break;
1604
+ case g:
1605
+ h = ((b - r) / d + 2) / 6;
1606
+ break;
1607
+ case b:
1608
+ h = ((r - g) / d + 4) / 6;
1609
+ break;
1610
+ }
1611
+ }
1612
+ return {
1613
+ h: Math.round(h * 360),
1614
+ s: Math.round(s * 100),
1615
+ l: Math.round(l * 100)
1616
+ };
1617
+ }
1618
+ function hslToHex(h, s, l) {
1619
+ h = h / 360;
1620
+ s = s / 100;
1621
+ l = l / 100;
1622
+ let r, g, b;
1623
+ if (s === 0) {
1624
+ r = g = b = l;
1625
+ } else {
1626
+ const hue2rgb = (p2, q2, t) => {
1627
+ if (t < 0) t += 1;
1628
+ if (t > 1) t -= 1;
1629
+ if (t < 1 / 6) return p2 + (q2 - p2) * 6 * t;
1630
+ if (t < 1 / 2) return q2;
1631
+ if (t < 2 / 3) return p2 + (q2 - p2) * (2 / 3 - t) * 6;
1632
+ return p2;
1633
+ };
1634
+ const q = l < 0.5 ? l * (1 + s) : l + s - l * s;
1635
+ const p = 2 * l - q;
1636
+ r = hue2rgb(p, q, h + 1 / 3);
1637
+ g = hue2rgb(p, q, h);
1638
+ b = hue2rgb(p, q, h - 1 / 3);
1639
+ }
1640
+ const toHex = (x) => {
1641
+ const hex = Math.round(x * 255).toString(16);
1642
+ return hex.length === 1 ? "0" + hex : hex;
1643
+ };
1644
+ return `#${toHex(r)}${toHex(g)}${toHex(b)}`;
1645
+ }
1646
+ function adjustLightness(hex, percent) {
1647
+ const hsl = hexToHSL(hex);
1648
+ const newL = Math.max(0, Math.min(100, hsl.l + percent));
1649
+ return hslToHex(hsl.h, hsl.s, newL);
1650
+ }
1651
+ function adjustSaturation(hex, percent) {
1652
+ const hsl = hexToHSL(hex);
1653
+ const newS = Math.max(0, Math.min(100, hsl.s + percent));
1654
+ return hslToHex(hsl.h, newS, hsl.l);
1655
+ }
1656
+ function rotateHue(hex, degrees) {
1657
+ const hsl = hexToHSL(hex);
1658
+ const newH = (hsl.h + degrees) % 360;
1659
+ return hslToHex(newH, hsl.s, hsl.l);
1660
+ }
1661
+ function adjustOpacity(hex, opacity) {
1662
+ const rgb = hexToRgb(hex);
1663
+ if (!rgb) return hex;
1664
+ return `rgba(${rgb.r}, ${rgb.g}, ${rgb.b}, ${opacity})`;
1665
+ }
1666
+ function getLuminance(r, g, b) {
1667
+ const [rs, gs, bs] = [r, g, b].map((c) => {
1668
+ const srgb = c / 255;
1669
+ return srgb <= 0.03928 ? srgb / 12.92 : Math.pow((srgb + 0.055) / 1.055, 2.4);
1670
+ });
1671
+ return 0.2126 * rs + 0.7152 * gs + 0.0722 * bs;
1672
+ }
1673
+ function getContrastRatio(hex1, hex2) {
1674
+ const rgb1 = hexToRgb(hex1);
1675
+ const rgb2 = hexToRgb(hex2);
1676
+ if (!rgb1 || !rgb2) return 0;
1677
+ const lum1 = getLuminance(rgb1.r, rgb1.g, rgb1.b);
1678
+ const lum2 = getLuminance(rgb2.r, rgb2.g, rgb2.b);
1679
+ const lighter = Math.max(lum1, lum2);
1680
+ const darker = Math.min(lum1, lum2);
1681
+ return (lighter + 0.05) / (darker + 0.05);
1682
+ }
1683
+ function getOptimalForeground(bgHex, whiteHex = "#ffffff", blackHex = "#000000") {
1684
+ const whiteRatio = getContrastRatio(bgHex, whiteHex);
1685
+ const blackRatio = getContrastRatio(bgHex, blackHex);
1686
+ return whiteRatio > blackRatio ? whiteHex : blackHex;
1687
+ }
1688
+
1689
+ // ../tokens/src/token-graph.ts
1690
+ var primaryColorDerivations = {
1691
+ // Links use primary color
1692
+ "--color-link": {
1693
+ source: "--color-primary",
1694
+ transform: (primary) => primary,
1695
+ description: "Links inherit primary brand color"
1696
+ },
1697
+ // Focus ring uses primary color
1698
+ "--color-ring": {
1699
+ source: "--color-primary",
1700
+ transform: (primary) => primary,
1701
+ description: "Focus rings use primary for brand consistency"
1702
+ },
1703
+ // Link hover is slightly darker primary
1704
+ "--color-link-hover": {
1705
+ source: "--color-primary",
1706
+ transform: (primary) => adjustLightness(primary, -10),
1707
+ description: "Link hover is 10% darker for visual feedback"
1708
+ },
1709
+ // Chart primary series
1710
+ "--chart-1": {
1711
+ source: "--color-primary",
1712
+ transform: (primary) => primary,
1713
+ description: "First chart series uses primary"
1714
+ },
1715
+ // Chart secondary series (lighter tint)
1716
+ "--chart-2": {
1717
+ source: "--color-primary",
1718
+ transform: (primary) => adjustLightness(primary, 20),
1719
+ description: "Second chart series is lighter tint of primary"
1720
+ },
1721
+ // Chart tertiary series (darker shade)
1722
+ "--chart-3": {
1723
+ source: "--color-primary",
1724
+ transform: (primary) => adjustLightness(primary, -15),
1725
+ description: "Third chart series is darker shade of primary"
1726
+ },
1727
+ // Chart quaternary (desaturated primary)
1728
+ "--chart-4": {
1729
+ source: "--color-primary",
1730
+ transform: (primary) => adjustSaturation(primary, -30),
1731
+ description: "Fourth chart series is muted primary"
1732
+ },
1733
+ // Chart quinary (complementary color)
1734
+ "--chart-5": {
1735
+ source: "--color-primary",
1736
+ transform: (primary) => rotateHue(primary, 180),
1737
+ description: "Fifth chart series is complementary to primary"
1738
+ }
1739
+ };
1740
+ var secondaryColorDerivations = {
1741
+ // Hover states
1742
+ "--color-hover": {
1743
+ source: "--color-secondary",
1744
+ transform: (secondary) => secondary,
1745
+ description: "Hover backgrounds use secondary"
1746
+ },
1747
+ // Active states
1748
+ "--color-active": {
1749
+ source: "--color-secondary",
1750
+ transform: (secondary) => adjustLightness(secondary, -5),
1751
+ description: "Active state is slightly darker secondary"
1752
+ },
1753
+ // Muted backgrounds
1754
+ "--color-muted": {
1755
+ source: "--color-secondary",
1756
+ transform: (secondary) => secondary,
1757
+ description: "Muted sections use secondary color"
1758
+ }
1759
+ };
1760
+ var accentColorDerivations = {
1761
+ // Info semantic color uses accent
1762
+ "--color-info": {
1763
+ source: "--color-accent",
1764
+ transform: (accent) => accent,
1765
+ description: "Info semantic color uses accent"
1766
+ },
1767
+ // Info foreground calculated for contrast
1768
+ "--color-info-foreground": {
1769
+ source: "--color-accent",
1770
+ transform: (accent) => getOptimalForeground(accent),
1771
+ description: "Info foreground calculated for contrast"
1772
+ }
1773
+ };
1774
+ var modeSpecificDerivations = {
1775
+ "--color-primary-muted": {
1776
+ light: {
1777
+ source: "--color-primary",
1778
+ transform: (primary) => adjustLightness(primary, 40),
1779
+ description: "Muted primary for light backgrounds"
1780
+ },
1781
+ dark: {
1782
+ source: "--color-primary",
1783
+ transform: (primary) => adjustLightness(primary, -20),
1784
+ description: "Muted primary for dark backgrounds"
1785
+ }
1786
+ },
1787
+ "--color-primary-subtle": {
1788
+ light: {
1789
+ source: "--color-primary",
1790
+ transform: (primary) => adjustOpacity(primary, 0.1),
1791
+ description: "Subtle primary background for light mode"
1792
+ },
1793
+ dark: {
1794
+ source: "--color-primary",
1795
+ transform: (primary) => adjustOpacity(primary, 0.2),
1796
+ description: "Subtle primary background for dark mode"
1797
+ }
1798
+ }
1799
+ };
1800
+ var tokenDependencyGraph = {
1801
+ primary: primaryColorDerivations,
1802
+ secondary: secondaryColorDerivations,
1803
+ accent: accentColorDerivations,
1804
+ modeSpecific: modeSpecificDerivations
1805
+ };
1806
+ function getDependentTokens(sourceToken) {
1807
+ const dependents = [];
1808
+ Object.entries(primaryColorDerivations).forEach(([token, config]) => {
1809
+ if (config.source === sourceToken) {
1810
+ dependents.push(token);
1811
+ }
1812
+ });
1813
+ Object.entries(secondaryColorDerivations).forEach(([token, config]) => {
1814
+ if (config.source === sourceToken) {
1815
+ dependents.push(token);
1816
+ }
1817
+ });
1818
+ Object.entries(accentColorDerivations).forEach(([token, config]) => {
1819
+ if (config.source === sourceToken) {
1820
+ dependents.push(token);
1821
+ }
1822
+ });
1823
+ return dependents;
1824
+ }
1825
+ function computeDerivedTokens(sourceToken, sourceValue, mode) {
1826
+ const derived = {};
1827
+ Object.entries(primaryColorDerivations).forEach(([token, config]) => {
1828
+ if (config.source === sourceToken) {
1829
+ derived[token] = config.transform(sourceValue);
1830
+ }
1831
+ });
1832
+ Object.entries(secondaryColorDerivations).forEach(([token, config]) => {
1833
+ if (config.source === sourceToken) {
1834
+ derived[token] = config.transform(sourceValue);
1835
+ }
1836
+ });
1837
+ Object.entries(accentColorDerivations).forEach(([token, config]) => {
1838
+ if (config.source === sourceToken) {
1839
+ derived[token] = config.transform(sourceValue);
1840
+ }
1841
+ });
1842
+ Object.entries(modeSpecificDerivations).forEach(([token, configs]) => {
1843
+ const config = configs[mode];
1844
+ if (config.source === sourceToken) {
1845
+ derived[token] = config.transform(sourceValue);
1846
+ }
1847
+ });
1848
+ return derived;
1849
+ }
1850
+
1851
+ // ../tokens/src/fontThemes.ts
1852
+ var fontThemes = [
1853
+ // === PROFESSIONAL ===
1854
+ {
1855
+ id: "studio",
1856
+ name: "Studio",
1857
+ description: "Professional and balanced, perfect for modern SaaS products",
1858
+ category: "professional",
1859
+ heading: "Outfit",
1860
+ body: "Manrope",
1861
+ mono: "Fira Code",
1862
+ headingWeight: "700",
1863
+ bodyWeight: "400",
1864
+ letterSpacing: { heading: "-0.02em", body: "0" },
1865
+ lineHeight: { heading: "1.2", body: "1.6" },
1866
+ wcagReadable: true,
1867
+ mood: ["professional", "modern", "clean"],
1868
+ bestFor: "SaaS products, business sites, dashboards",
1869
+ pairing: "Sans + Sans (Geometric + Humanist)"
1870
+ },
1871
+ {
1872
+ id: "modern-swiss",
1873
+ name: "Modern Swiss",
1874
+ description: "Clean and neutral, maximum readability",
1875
+ category: "professional",
1876
+ heading: "Inter",
1877
+ body: "Inter",
1878
+ mono: "JetBrains Mono",
1879
+ headingWeight: "700",
1880
+ bodyWeight: "400",
1881
+ letterSpacing: { heading: "-0.02em", body: "0" },
1882
+ lineHeight: { heading: "1.2", body: "1.7" },
1883
+ wcagReadable: true,
1884
+ mood: ["minimal", "clean", "modern"],
1885
+ bestFor: "Documentation, dashboards, data-heavy UIs",
1886
+ pairing: "Sans (Single Font)"
1887
+ },
1888
+ {
1889
+ id: "corporate-authority",
1890
+ name: "Corporate Authority",
1891
+ description: "Classic sans-serif with technical precision",
1892
+ category: "professional",
1893
+ heading: "Roboto",
1894
+ body: "Roboto",
1895
+ mono: "Roboto Mono",
1896
+ headingWeight: "700",
1897
+ bodyWeight: "400",
1898
+ letterSpacing: { heading: "-0.01em", body: "0" },
1899
+ lineHeight: { heading: "1.2", body: "1.6" },
1900
+ wcagReadable: true,
1901
+ mood: ["corporate", "reliable", "neutral"],
1902
+ bestFor: "Enterprise software, Google-style products, admin panels",
1903
+ pairing: "Sans (Roboto Family)"
1904
+ },
1905
+ // === EDITORIAL ===
1906
+ {
1907
+ id: "sage",
1908
+ name: "Sage",
1909
+ description: "Elegant serif heading with clean sans body",
1910
+ category: "editorial",
1911
+ heading: "Lora",
1912
+ body: "Instrument Sans",
1913
+ mono: "Fira Code",
1914
+ headingWeight: "600",
1915
+ bodyWeight: "400",
1916
+ letterSpacing: { heading: "-0.01em", body: "0" },
1917
+ lineHeight: { heading: "1.3", body: "1.7" },
1918
+ wcagReadable: true,
1919
+ mood: ["elegant", "warm", "organic"],
1920
+ bestFor: "Editorial sites, blogs, portfolios",
1921
+ pairing: "Serif + Sans (Classic Editorial)"
1922
+ },
1923
+ {
1924
+ id: "editorial-classic",
1925
+ name: "Editorial Classic",
1926
+ description: "Timeless serif pairing for long-form content",
1927
+ category: "editorial",
1928
+ heading: "Playfair Display",
1929
+ body: "Source Sans Pro",
1930
+ mono: "Fira Code",
1931
+ headingWeight: "700",
1932
+ bodyWeight: "400",
1933
+ letterSpacing: { heading: "0", body: "0" },
1934
+ lineHeight: { heading: "1.2", body: "1.7" },
1935
+ wcagReadable: true,
1936
+ mood: ["classic", "elegant", "readable"],
1937
+ bestFor: "Magazines, blogs, long-form articles",
1938
+ pairing: "Serif + Sans (High Contrast)"
1939
+ },
1940
+ {
1941
+ id: "literary",
1942
+ name: "Literary",
1943
+ description: "Sophisticated serif pairing for premium content",
1944
+ category: "editorial",
1945
+ heading: "Merriweather",
1946
+ body: "Lato",
1947
+ mono: "Fira Code",
1948
+ headingWeight: "700",
1949
+ bodyWeight: "400",
1950
+ letterSpacing: { heading: "0", body: "0" },
1951
+ lineHeight: { heading: "1.3", body: "1.7" },
1952
+ wcagReadable: true,
1953
+ mood: ["sophisticated", "literary", "warm"],
1954
+ bestFor: "Publishing, literary journals, premium blogs",
1955
+ pairing: "Serif + Sans (Warm & Readable)"
1956
+ },
1957
+ // === TECH ===
1958
+ {
1959
+ id: "volt",
1960
+ name: "Volt",
1961
+ description: "Bold and electric, one font for everything",
1962
+ category: "tech",
1963
+ heading: "Space Grotesk",
1964
+ body: "Space Grotesk",
1965
+ mono: "Fira Code",
1966
+ headingWeight: "700",
1967
+ bodyWeight: "400",
1968
+ letterSpacing: { heading: "-0.03em", body: "0" },
1969
+ lineHeight: { heading: "1.2", body: "1.6" },
1970
+ wcagReadable: true,
1971
+ mood: ["bold", "modern", "tech"],
1972
+ bestFor: "Tech startups, developer tools, portfolios",
1973
+ pairing: "Sans (Single Font)"
1974
+ },
1975
+ {
1976
+ id: "tech-mono",
1977
+ name: "Tech Monospace",
1978
+ description: "Monospace everything, for the hackers",
1979
+ category: "tech",
1980
+ heading: "JetBrains Mono",
1981
+ body: "JetBrains Mono",
1982
+ mono: "JetBrains Mono",
1983
+ headingWeight: "700",
1984
+ bodyWeight: "400",
1985
+ letterSpacing: { heading: "0", body: "0" },
1986
+ lineHeight: { heading: "1.2", body: "1.6" },
1987
+ wcagReadable: true,
1988
+ mood: ["tech", "hacker", "minimal"],
1989
+ bestFor: "Developer tools, coding tutorials, terminal UIs",
1990
+ pairing: "Mono (Single Font)"
1991
+ },
1992
+ {
1993
+ id: "dev-tools",
1994
+ name: "Dev Tools",
1995
+ description: "GitHub-inspired clean technical aesthetic",
1996
+ category: "tech",
1997
+ heading: "IBM Plex Sans",
1998
+ body: "IBM Plex Sans",
1999
+ mono: "IBM Plex Mono",
2000
+ headingWeight: "600",
2001
+ bodyWeight: "400",
2002
+ letterSpacing: { heading: "-0.01em", body: "0" },
2003
+ lineHeight: { heading: "1.2", body: "1.6" },
2004
+ wcagReadable: true,
2005
+ mood: ["technical", "precise", "modern"],
2006
+ bestFor: "Developer platforms, code editors, documentation",
2007
+ pairing: "Sans (IBM Plex Family)"
2008
+ },
2009
+ // === FRIENDLY ===
2010
+ {
2011
+ id: "friendly-rounded",
2012
+ name: "Friendly & Rounded",
2013
+ description: "Approachable and warm, great for consumer apps",
2014
+ category: "friendly",
2015
+ heading: "Quicksand",
2016
+ body: "Open Sans",
2017
+ mono: "Fira Code",
2018
+ headingWeight: "600",
2019
+ bodyWeight: "400",
2020
+ letterSpacing: { heading: "0", body: "0" },
2021
+ lineHeight: { heading: "1.3", body: "1.7" },
2022
+ wcagReadable: true,
2023
+ mood: ["friendly", "approachable", "warm"],
2024
+ bestFor: "Consumer apps, education, healthcare",
2025
+ pairing: "Rounded Sans + Humanist Sans"
2026
+ },
2027
+ {
2028
+ id: "warm-welcome",
2029
+ name: "Warm Welcome",
2030
+ description: "Inviting and accessible for all audiences",
2031
+ category: "friendly",
2032
+ heading: "Nunito",
2033
+ body: "Nunito Sans",
2034
+ mono: "Fira Code",
2035
+ headingWeight: "700",
2036
+ bodyWeight: "400",
2037
+ letterSpacing: { heading: "-0.01em", body: "0" },
2038
+ lineHeight: { heading: "1.3", body: "1.7" },
2039
+ wcagReadable: true,
2040
+ mood: ["welcoming", "friendly", "accessible"],
2041
+ bestFor: "Community platforms, education, non-profits",
2042
+ pairing: "Rounded Sans (Nunito Family)"
2043
+ },
2044
+ // === MINIMAL ===
2045
+ {
2046
+ id: "minimal-sans",
2047
+ name: "Minimal Sans",
2048
+ description: "Pure simplicity with Work Sans",
2049
+ category: "minimal",
2050
+ heading: "Work Sans",
2051
+ body: "Work Sans",
2052
+ mono: "Fira Code",
2053
+ headingWeight: "600",
2054
+ bodyWeight: "400",
2055
+ letterSpacing: { heading: "-0.02em", body: "0" },
2056
+ lineHeight: { heading: "1.2", body: "1.6" },
2057
+ wcagReadable: true,
2058
+ mood: ["minimal", "clean", "efficient"],
2059
+ bestFor: "Minimalist sites, portfolios, agencies",
2060
+ pairing: "Sans (Single Font)"
2061
+ },
2062
+ {
2063
+ id: "system-ui",
2064
+ name: "System UI",
2065
+ description: "Native system fonts for instant familiarity",
2066
+ category: "minimal",
2067
+ heading: "System UI",
2068
+ body: "System UI",
2069
+ mono: "SF Mono",
2070
+ headingWeight: "700",
2071
+ bodyWeight: "400",
2072
+ letterSpacing: { heading: "-0.01em", body: "0" },
2073
+ lineHeight: { heading: "1.2", body: "1.6" },
2074
+ wcagReadable: true,
2075
+ mood: ["native", "fast", "familiar"],
2076
+ bestFor: "Performance-critical apps, utilities, system tools",
2077
+ pairing: "System Fonts (Zero Load Time)"
2078
+ },
2079
+ // === LUXURY ===
2080
+ {
2081
+ id: "luxury-serif",
2082
+ name: "Luxury Serif",
2083
+ description: "Sophisticated and high-end",
2084
+ category: "luxury",
2085
+ heading: "Cormorant Garamond",
2086
+ body: "Raleway",
2087
+ mono: "Fira Code",
2088
+ headingWeight: "600",
2089
+ bodyWeight: "300",
2090
+ letterSpacing: { heading: "0.02em", body: "0.01em" },
2091
+ lineHeight: { heading: "1.3", body: "1.7" },
2092
+ wcagReadable: false,
2093
+ // Thinner weights
2094
+ mood: ["luxury", "elegant", "sophisticated"],
2095
+ bestFor: "Fashion, luxury brands, high-end services",
2096
+ pairing: "Serif + Thin Sans"
2097
+ },
2098
+ {
2099
+ id: "prestige",
2100
+ name: "Prestige",
2101
+ description: "Refined elegance with Bodoni-inspired display",
2102
+ category: "luxury",
2103
+ heading: "Libre Bodoni",
2104
+ body: "Montserrat",
2105
+ mono: "Fira Code",
2106
+ headingWeight: "700",
2107
+ bodyWeight: "300",
2108
+ letterSpacing: { heading: "0.03em", body: "0.02em" },
2109
+ lineHeight: { heading: "1.2", body: "1.7" },
2110
+ wcagReadable: false,
2111
+ // Display font + thin weight
2112
+ mood: ["prestige", "refined", "luxurious"],
2113
+ bestFor: "Luxury fashion, jewelry, premium services",
2114
+ pairing: "Serif Display + Geometric Sans"
2115
+ },
2116
+ // === CREATIVE ===
2117
+ {
2118
+ id: "creative-bold",
2119
+ name: "Creative Bold",
2120
+ description: "Strong personality with Poppins",
2121
+ category: "creative",
2122
+ heading: "Poppins",
2123
+ body: "Poppins",
2124
+ mono: "Fira Code",
2125
+ headingWeight: "700",
2126
+ bodyWeight: "400",
2127
+ letterSpacing: { heading: "-0.01em", body: "0" },
2128
+ lineHeight: { heading: "1.2", body: "1.6" },
2129
+ wcagReadable: true,
2130
+ mood: ["bold", "creative", "energetic"],
2131
+ bestFor: "Creative agencies, portfolios, marketing sites",
2132
+ pairing: "Geometric Sans (Single Font)"
2133
+ },
2134
+ {
2135
+ id: "artistic-flair",
2136
+ name: "Artistic Flair",
2137
+ description: "Expressive serif with modern sans",
2138
+ category: "creative",
2139
+ heading: "Abril Fatface",
2140
+ body: "Work Sans",
2141
+ mono: "Fira Code",
2142
+ headingWeight: "400",
2143
+ bodyWeight: "400",
2144
+ letterSpacing: { heading: "0", body: "0" },
2145
+ lineHeight: { heading: "1.1", body: "1.6" },
2146
+ wcagReadable: true,
2147
+ mood: ["artistic", "expressive", "bold"],
2148
+ bestFor: "Art galleries, creative studios, designer portfolios",
2149
+ pairing: "Display Serif + Neutral Sans"
2150
+ },
2151
+ // === PLAYFUL ===
2152
+ {
2153
+ id: "playful-rounded",
2154
+ name: "Playful Rounded",
2155
+ description: "Fun and energetic for youth audiences",
2156
+ category: "playful",
2157
+ heading: "Fredoka",
2158
+ body: "Karla",
2159
+ mono: "Fira Code",
2160
+ headingWeight: "700",
2161
+ bodyWeight: "400",
2162
+ letterSpacing: { heading: "0", body: "0" },
2163
+ lineHeight: { heading: "1.3", body: "1.6" },
2164
+ wcagReadable: true,
2165
+ mood: ["playful", "fun", "youthful"],
2166
+ bestFor: "Kids apps, games, entertainment",
2167
+ pairing: "Rounded Display + Grotesque Sans"
2168
+ }
2169
+ ];
2170
+ function getFontThemesByCategory(category) {
2171
+ return fontThemes.filter((ft) => ft.category === category);
2172
+ }
2173
+ function getFontThemesByMood(mood) {
2174
+ return fontThemes.filter(
2175
+ (ft) => ft.description.toLowerCase().includes(mood.toLowerCase()) || ft.bestFor?.toLowerCase().includes(mood.toLowerCase()) || ft.mood?.some((m) => m.toLowerCase().includes(mood.toLowerCase()))
2176
+ );
2177
+ }
2178
+ function getFontThemesForUseCase(useCase) {
2179
+ return fontThemes.filter(
2180
+ (ft) => ft.bestFor?.toLowerCase().includes(useCase.toLowerCase())
2181
+ );
2182
+ }
2183
+ function getAccessibleFontThemes() {
2184
+ return fontThemes.filter((ft) => ft.wcagReadable === true);
2185
+ }
2186
+ function getFontThemeById(id) {
2187
+ return fontThemes.find((ft) => ft.id === id);
2188
+ }
2189
+ function generateScale(fontTheme) {
2190
+ const headingWeight = parseInt(fontTheme.headingWeight || "700", 10);
2191
+ const bodyWeight = parseInt(fontTheme.bodyWeight || "400", 10);
2192
+ const headingLetterSpacing = fontTheme.letterSpacing?.heading || "-0.02em";
2193
+ const bodyLetterSpacing = fontTheme.letterSpacing?.body || "0";
2194
+ const headingLineHeight = parseFloat(fontTheme.lineHeight?.heading || "1.2");
2195
+ const bodyLineHeight = parseFloat(fontTheme.lineHeight?.body || "1.6");
2196
+ return {
2197
+ display: {
2198
+ fontFamily: fontTheme.heading,
2199
+ weight: Math.min(headingWeight + 100, 800),
2200
+ // Slightly bolder for display
2201
+ size: 96,
2202
+ lineHeight: 1.1,
2203
+ letterSpacing: "-0.03em"
2204
+ },
2205
+ h1: {
2206
+ fontFamily: fontTheme.heading,
2207
+ weight: headingWeight,
2208
+ size: 64,
2209
+ lineHeight: headingLineHeight,
2210
+ letterSpacing: headingLetterSpacing
2211
+ },
2212
+ h2: {
2213
+ fontFamily: fontTheme.heading,
2214
+ weight: Math.max(headingWeight - 100, 600),
2215
+ // Slightly lighter than H1
2216
+ size: 48,
2217
+ lineHeight: 1.3,
2218
+ letterSpacing: headingLetterSpacing === "-0.02em" ? "-0.01em" : headingLetterSpacing
2219
+ },
2220
+ h3: {
2221
+ fontFamily: fontTheme.heading,
2222
+ weight: Math.max(headingWeight - 100, 600),
2223
+ size: 36,
2224
+ lineHeight: 1.3,
2225
+ letterSpacing: "0"
2226
+ },
2227
+ h4: {
2228
+ fontFamily: fontTheme.heading,
2229
+ weight: Math.max(headingWeight - 100, 600),
2230
+ size: 24,
2231
+ lineHeight: 1.4,
2232
+ letterSpacing: "0"
2233
+ },
2234
+ body: {
2235
+ fontFamily: fontTheme.body,
2236
+ weight: bodyWeight,
2237
+ size: 16,
2238
+ lineHeight: bodyLineHeight,
2239
+ letterSpacing: bodyLetterSpacing
2240
+ },
2241
+ small: {
2242
+ fontFamily: fontTheme.body,
2243
+ weight: bodyWeight,
2244
+ size: 14,
2245
+ lineHeight: 1.5,
2246
+ letterSpacing: "0.01em"
2247
+ },
2248
+ code: {
2249
+ fontFamily: fontTheme.mono,
2250
+ weight: 400,
2251
+ // Code is typically regular weight
2252
+ size: 14,
2253
+ lineHeight: 1.4,
2254
+ letterSpacing: "0"
2255
+ }
2256
+ };
2257
+ }
2258
+
2259
+ // ../tokens/src/index.ts
2260
+ var THEME_NAMES = ["studio", "sage", "volt"];
2261
+ var COLOR_MODES = ["light", "dark"];
2262
+ export {
2263
+ COLOR_MODES,
2264
+ THEME_NAMES,
2265
+ accentColorDerivations,
2266
+ adjustLightness,
2267
+ adjustOpacity,
2268
+ adjustSaturation,
2269
+ baseTokens,
2270
+ codeColors,
2271
+ colorPalettes,
2272
+ computeDerivedTokens,
2273
+ fontFamilies,
2274
+ fontLoadingConfig,
2275
+ fontSizes,
2276
+ fontThemes,
2277
+ fontWeights,
2278
+ generateScale,
2279
+ getAccessibleFontThemes,
2280
+ getAccessiblePalettes,
2281
+ getContrastRatio,
2282
+ getDependentTokens,
2283
+ getFontThemeById,
2284
+ getFontThemesByCategory,
2285
+ getFontThemesByMood,
2286
+ getFontThemesForUseCase,
2287
+ getFontVariable,
2288
+ getLuminance,
2289
+ getOptimalForeground,
2290
+ getPalettesByCategory,
2291
+ getPalettesByMood,
2292
+ getPalettesForUseCase,
2293
+ getResponsiveFontSize,
2294
+ getThemeFontVariables,
2295
+ hexToHSL,
2296
+ hexToRgb,
2297
+ hslToHex,
2298
+ letterSpacing,
2299
+ lineHeights,
2300
+ modeSpecificDerivations,
2301
+ motion,
2302
+ primaryColorDerivations,
2303
+ rotateHue,
2304
+ sageTokens,
2305
+ secondaryColorDerivations,
2306
+ semanticLetterSpacing,
2307
+ semanticLineHeights,
2308
+ semanticSizes,
2309
+ semanticWeights,
2310
+ spacing,
2311
+ studioTokens,
2312
+ syntaxColors,
2313
+ tokenDependencyGraph,
2314
+ typePresets,
2315
+ typography,
2316
+ typographySystem,
2317
+ voltTokens
2318
+ };
2319
+ //# sourceMappingURL=tokens.mjs.map