@fias/arche-sdk 1.1.3 → 1.1.5

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/bridge.d.ts +11 -1
  2. package/dist/bridge.d.ts.map +1 -1
  3. package/dist/bridge.js +61 -2
  4. package/dist/bridge.js.map +1 -1
  5. package/dist/bridge.test.js +24 -7
  6. package/dist/bridge.test.js.map +1 -1
  7. package/dist/cli/create-plugin.js +4 -1
  8. package/dist/cli/create-plugin.js.map +1 -1
  9. package/dist/hooks.d.ts +18 -1
  10. package/dist/hooks.d.ts.map +1 -1
  11. package/dist/hooks.js +69 -2
  12. package/dist/hooks.js.map +1 -1
  13. package/dist/hooks.test.js +30 -6
  14. package/dist/hooks.test.js.map +1 -1
  15. package/dist/index.d.ts +7 -2
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +16 -1
  18. package/dist/index.js.map +1 -1
  19. package/dist/index.mjs +1966 -5
  20. package/dist/theme.d.ts +18 -0
  21. package/dist/theme.d.ts.map +1 -0
  22. package/dist/theme.js +85 -0
  23. package/dist/theme.js.map +1 -0
  24. package/dist/themes/catalog-data.d.ts +3 -0
  25. package/dist/themes/catalog-data.d.ts.map +1 -0
  26. package/dist/themes/catalog-data.js +1559 -0
  27. package/dist/themes/catalog-data.js.map +1 -0
  28. package/dist/themes/fonts.d.ts +17 -0
  29. package/dist/themes/fonts.d.ts.map +1 -0
  30. package/dist/themes/fonts.js +175 -0
  31. package/dist/themes/fonts.js.map +1 -0
  32. package/dist/themes/index.d.ts +20 -0
  33. package/dist/themes/index.d.ts.map +1 -0
  34. package/dist/themes/index.js +76 -0
  35. package/dist/themes/index.js.map +1 -0
  36. package/dist/types.d.ts +28 -2
  37. package/dist/types.d.ts.map +1 -1
  38. package/package.json +5 -4
  39. package/templates/default/.cursorrules +1 -0
  40. package/templates/default/.github/copilot-instructions.md +1 -0
  41. package/templates/default/AGENTS.md +351 -0
  42. package/templates/default/CLAUDE.md +351 -0
  43. package/templates/default/fias-plugin.json +2 -1
package/dist/index.mjs CHANGED
@@ -21,13 +21,17 @@ var FiasBridge = class {
21
21
  this.permissions = [];
22
22
  this.theme = null;
23
23
  this.currentPath = "";
24
+ this.hostOrigin = "";
24
25
  this.themeListeners = /* @__PURE__ */ new Set();
25
26
  this.navigationListeners = /* @__PURE__ */ new Set();
27
+ this.stepNavigationListeners = /* @__PURE__ */ new Set();
26
28
  this.listening = false;
27
29
  this.handleMessage = (event) => {
28
30
  const data = event.data;
29
31
  if (!data || typeof data !== "object" || !data.type) return;
30
32
  if (data.type === "init") {
33
+ if (this.initialized) return;
34
+ this.hostOrigin = event.origin;
31
35
  const initMsg = data;
32
36
  this.archId = initMsg.payload.archId;
33
37
  this.permissions = initMsg.payload.permissions;
@@ -37,6 +41,7 @@ var FiasBridge = class {
37
41
  this.initResolve?.();
38
42
  return;
39
43
  }
44
+ if (this.hostOrigin && event.origin !== this.hostOrigin) return;
40
45
  if (data.type === "theme_update") {
41
46
  this.theme = data.payload;
42
47
  for (const listener of this.themeListeners) {
@@ -51,6 +56,23 @@ var FiasBridge = class {
51
56
  }
52
57
  return;
53
58
  }
59
+ if (data.type === "step_navigate") {
60
+ const { nodeId } = data.payload;
61
+ if (typeof nodeId === "string") {
62
+ for (const listener of this.stepNavigationListeners) {
63
+ listener(nodeId);
64
+ }
65
+ }
66
+ return;
67
+ }
68
+ if (data.type === "stream_token") {
69
+ const { messageId, text } = data;
70
+ const pending = this.pendingRequests.get(messageId);
71
+ if (pending?.onToken && typeof text === "string") {
72
+ pending.onToken(text);
73
+ }
74
+ return;
75
+ }
54
76
  if (data.type === "response") {
55
77
  const response = data;
56
78
  const pending = this.pendingRequests.get(response.messageId);
@@ -143,6 +165,33 @@ var FiasBridge = class {
143
165
  this.navigationListeners.add(listener);
144
166
  return () => this.navigationListeners.delete(listener);
145
167
  }
168
+ onStepNavigationUpdate(listener) {
169
+ this.stepNavigationListeners.add(listener);
170
+ return () => this.stepNavigationListeners.delete(listener);
171
+ }
172
+ /**
173
+ * Send a streaming entity_invoke request. Tokens arrive via stream_token
174
+ * messages and are forwarded to the onToken callback. The returned promise
175
+ * resolves with the final EntityInvocationResult when the host sends the
176
+ * normal response message.
177
+ */
178
+ async requestStream(payload, onToken) {
179
+ await this.waitForInit();
180
+ return new Promise((resolve, reject) => {
181
+ const messageId = generateMessageId();
182
+ const timer = setTimeout(() => {
183
+ this.pendingRequests.delete(messageId);
184
+ reject(new Error("Bridge streaming request timed out: entity_invoke"));
185
+ }, 12e4);
186
+ this.pendingRequests.set(messageId, {
187
+ resolve,
188
+ reject,
189
+ timer,
190
+ onToken
191
+ });
192
+ this.send("entity_invoke", { ...payload, stream: true }, messageId);
193
+ });
194
+ }
146
195
  /**
147
196
  * Clean up event listeners and pending requests.
148
197
  * After destroy(), the bridge can be re-activated by calling attach().
@@ -159,6 +208,7 @@ var FiasBridge = class {
159
208
  this.pendingRequests.clear();
160
209
  this.themeListeners.clear();
161
210
  this.navigationListeners.clear();
211
+ this.stepNavigationListeners.clear();
162
212
  }
163
213
  send(type, payload, messageId) {
164
214
  if (typeof window === "undefined") return;
@@ -167,7 +217,8 @@ var FiasBridge = class {
167
217
  messageId: messageId ?? generateMessageId(),
168
218
  payload
169
219
  };
170
- window.parent.postMessage(message, "*");
220
+ const targetOrigin = this.hostOrigin || "*";
221
+ window.parent.postMessage(message, targetOrigin);
171
222
  }
172
223
  };
173
224
  var bridgeInstance = typeof window !== "undefined" ? new FiasBridge() : null;
@@ -206,7 +257,7 @@ function FiasProvider({ children }) {
206
257
  }
207
258
 
208
259
  // src/hooks.ts
209
- import { useCallback, useContext, useEffect as useEffect2, useState as useState2 } from "react";
260
+ import { useCallback, useContext, useEffect as useEffect2, useRef, useState as useState2 } from "react";
210
261
  function useBridge() {
211
262
  const bridge = useContext(FiasBridgeContext);
212
263
  if (!bridge) {
@@ -261,12 +312,16 @@ function useEntityInvocation() {
261
312
  const [isLoading, setIsLoading] = useState2(false);
262
313
  const [result, setResult] = useState2(null);
263
314
  const [error, setError] = useState2(null);
315
+ const [streamingText, setStreamingText] = useState2("");
264
316
  const invoke = useCallback(
265
317
  async (params) => {
266
318
  setIsLoading(true);
267
319
  setError(null);
320
+ setStreamingText("");
268
321
  try {
269
- const res = await bridge.request("entity_invoke", params);
322
+ const res = await bridge.requestStream(params, (token) => {
323
+ setStreamingText((prev) => prev + token);
324
+ });
270
325
  setResult(res);
271
326
  return res;
272
327
  } catch (err) {
@@ -279,7 +334,7 @@ function useEntityInvocation() {
279
334
  },
280
335
  [bridge]
281
336
  );
282
- return { invoke, isLoading, result, error };
337
+ return { invoke, isLoading, result, error, streamingText };
283
338
  }
284
339
  function useFiasNavigation() {
285
340
  const bridge = useBridge();
@@ -295,6 +350,47 @@ function useFiasNavigation() {
295
350
  );
296
351
  return { navigateTo, currentPath };
297
352
  }
353
+ function usePersistentState(key, initialValue) {
354
+ const bridge = useBridge();
355
+ const [value, setValueInternal] = useState2(initialValue);
356
+ const initializedRef = useRef(false);
357
+ useEffect2(() => {
358
+ bridge.request("storage_read", { path: `__state/${key}` }).then((result) => {
359
+ if (result.exists && result.content !== null) {
360
+ try {
361
+ setValueInternal(JSON.parse(result.content));
362
+ } catch {
363
+ }
364
+ }
365
+ initializedRef.current = true;
366
+ });
367
+ }, [bridge, key]);
368
+ const setValue = useCallback(
369
+ (next) => {
370
+ setValueInternal((prev) => {
371
+ const resolved = typeof next === "function" ? next(prev) : next;
372
+ bridge.request("storage_write", {
373
+ path: `__state/${key}`,
374
+ content: JSON.stringify(resolved)
375
+ }).catch(() => {
376
+ });
377
+ return resolved;
378
+ });
379
+ },
380
+ [bridge, key]
381
+ );
382
+ return [value, setValue];
383
+ }
384
+ function useStepNavigation(initialStep) {
385
+ const bridge = useBridge();
386
+ const [currentStep, setCurrentStep] = useState2(initialStep ?? null);
387
+ useEffect2(() => {
388
+ return bridge.onStepNavigationUpdate((nodeId) => {
389
+ setCurrentStep(nodeId);
390
+ });
391
+ }, [bridge]);
392
+ return { currentStep, setCurrentStep };
393
+ }
298
394
 
299
395
  // src/fias.ts
300
396
  var fias = {
@@ -319,15 +415,1880 @@ var fias = {
319
415
  getBridge().showToast(message, variant);
320
416
  }
321
417
  };
418
+
419
+ // src/theme.ts
420
+ var SYSTEM_FONTS = '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif';
421
+ var MONO_FONTS = '"SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace';
422
+ var SHARED_SPACING = { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" };
423
+ var SHARED_FONTS = { body: SYSTEM_FONTS, heading: SYSTEM_FONTS, mono: MONO_FONTS };
424
+ var SHARED_COMPONENTS = {
425
+ borderRadius: "0.5rem",
426
+ buttonRadius: "0.375rem",
427
+ cardRadius: "0.5rem",
428
+ inputRadius: "0.375rem",
429
+ shadowSm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
430
+ shadowMd: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
431
+ shadowLg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",
432
+ borderWidth: "1px"
433
+ };
434
+ var DARK_THEME = {
435
+ mode: "dark",
436
+ colors: {
437
+ primary: "#ffffff",
438
+ primaryText: "#0a0a0a",
439
+ secondary: "#1f1f1f",
440
+ accent: "#3b82f6",
441
+ background: "#0a0a0a",
442
+ surface: "#171717",
443
+ card: "#141414",
444
+ cardText: "#ffffff",
445
+ text: "#ffffff",
446
+ textSecondary: "#a6a6a6",
447
+ muted: "#1e1e1e",
448
+ mutedText: "#737373",
449
+ border: "#2e2e2e",
450
+ error: "#ef4444",
451
+ warning: "#f59e0b",
452
+ success: "#22c55e",
453
+ info: "#3b82f6"
454
+ },
455
+ spacing: SHARED_SPACING,
456
+ fonts: SHARED_FONTS,
457
+ components: SHARED_COMPONENTS
458
+ };
459
+ var LIGHT_THEME = {
460
+ mode: "light",
461
+ colors: {
462
+ primary: "#171717",
463
+ primaryText: "#ffffff",
464
+ secondary: "#e5e5e5",
465
+ accent: "#2563eb",
466
+ background: "#ffffff",
467
+ surface: "#fafafa",
468
+ card: "#ffffff",
469
+ cardText: "#0a0a0a",
470
+ text: "#0a0a0a",
471
+ textSecondary: "#737373",
472
+ muted: "#f5f5f5",
473
+ mutedText: "#a3a3a3",
474
+ border: "#e5e5e5",
475
+ error: "#dc2626",
476
+ warning: "#d97706",
477
+ success: "#16a34a",
478
+ info: "#2563eb"
479
+ },
480
+ spacing: SHARED_SPACING,
481
+ fonts: SHARED_FONTS,
482
+ components: SHARED_COMPONENTS
483
+ };
484
+ function getDefaultTheme(mode) {
485
+ return mode === "light" ? LIGHT_THEME : DARK_THEME;
486
+ }
487
+
488
+ // src/themes/catalog-data.ts
489
+ var DAISY_THEMES = [
490
+ {
491
+ id: "abyss",
492
+ name: "Abyss",
493
+ source: "daisy",
494
+ mode: "dark",
495
+ theme: {
496
+ mode: "dark",
497
+ colors: {
498
+ primary: "#bdff00",
499
+ primaryText: "#427600",
500
+ secondary: "#cebef4",
501
+ accent: "#505050",
502
+ background: "#001e29",
503
+ surface: "#00111d",
504
+ card: "#00111d",
505
+ cardText: "#ffd6a7",
506
+ text: "#ffd6a7",
507
+ textSecondary: "#564775",
508
+ muted: "#003843",
509
+ mutedText: "#ffd6a7",
510
+ border: "#000611",
511
+ error: "#f04e4f",
512
+ warning: "#ffbf00",
513
+ success: "#01df72",
514
+ info: "#00bafe"
515
+ },
516
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
517
+ fonts: {
518
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
519
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
520
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
521
+ },
522
+ components: {
523
+ borderRadius: "0.5rem",
524
+ buttonRadius: "2rem",
525
+ cardRadius: "0.5rem",
526
+ inputRadius: "0.25rem",
527
+ shadowSm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
528
+ shadowMd: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
529
+ shadowLg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",
530
+ borderWidth: "1px"
531
+ }
532
+ },
533
+ preview: {
534
+ colors: ["#bdff00", "#cebef4", "#001e29", "#505050"]
535
+ }
536
+ },
537
+ {
538
+ id: "acid",
539
+ name: "Acid",
540
+ source: "daisy",
541
+ mode: "light",
542
+ theme: {
543
+ mode: "light",
544
+ colors: {
545
+ primary: "#ff00ff",
546
+ primaryText: "#180017",
547
+ secondary: "#ff6e00",
548
+ accent: "#c8ff00",
549
+ background: "#f8f8f8",
550
+ surface: "#eeeeee",
551
+ card: "#eeeeee",
552
+ cardText: "#000000",
553
+ text: "#000000",
554
+ textSecondary: "#180400",
555
+ muted: "#140151",
556
+ mutedText: "#c7cadc",
557
+ border: "#e1e1e1",
558
+ error: "#ff0000",
559
+ warning: "#ffe200",
560
+ success: "#00ff8a",
561
+ info: "#007fff"
562
+ },
563
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
564
+ fonts: {
565
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
566
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
567
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
568
+ },
569
+ components: {
570
+ borderRadius: "1rem",
571
+ buttonRadius: "1rem",
572
+ cardRadius: "1rem",
573
+ inputRadius: "1rem",
574
+ shadowSm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
575
+ shadowMd: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
576
+ shadowLg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",
577
+ borderWidth: "1px"
578
+ }
579
+ },
580
+ preview: {
581
+ colors: ["#ff00ff", "#ff6e00", "#f8f8f8", "#c8ff00"]
582
+ }
583
+ },
584
+ {
585
+ id: "aqua",
586
+ name: "Aqua",
587
+ source: "daisy",
588
+ mode: "dark",
589
+ theme: {
590
+ mode: "dark",
591
+ colors: {
592
+ primary: "#13ecf3",
593
+ primaryText: "#015355",
594
+ secondary: "#966fb3",
595
+ accent: "#ffe999",
596
+ background: "#1a368b",
597
+ surface: "#162455",
598
+ card: "#162455",
599
+ cardText: "#b8e6fe",
600
+ text: "#b8e6fe",
601
+ textSecondary: "#f2f0fc",
602
+ muted: "#05176c",
603
+ mutedText: "#90baff",
604
+ border: "#091444",
605
+ error: "#ff7265",
606
+ warning: "#d97708",
607
+ success: "#18a34a",
608
+ info: "#2563eb"
609
+ },
610
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
611
+ fonts: {
612
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
613
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
614
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
615
+ },
616
+ components: {
617
+ borderRadius: "1rem",
618
+ buttonRadius: "1rem",
619
+ cardRadius: "1rem",
620
+ inputRadius: "0.5rem",
621
+ shadowSm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
622
+ shadowMd: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
623
+ shadowLg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",
624
+ borderWidth: "1px"
625
+ }
626
+ },
627
+ preview: {
628
+ colors: ["#13ecf3", "#966fb3", "#1a368b", "#ffe999"]
629
+ }
630
+ },
631
+ {
632
+ id: "autumn",
633
+ name: "Autumn",
634
+ source: "daisy",
635
+ mode: "light",
636
+ theme: {
637
+ mode: "light",
638
+ colors: {
639
+ primary: "#8c0327",
640
+ primaryText: "#edd0d0",
641
+ secondary: "#d85251",
642
+ accent: "#d59b6b",
643
+ background: "#f1f1f1",
644
+ surface: "#dbdbdb",
645
+ card: "#dbdbdb",
646
+ cardText: "#141414",
647
+ text: "#141414",
648
+ textSecondary: "#110202",
649
+ muted: "#826a5c",
650
+ mutedText: "#e5e0dd",
651
+ border: "#c5c5c5",
652
+ error: "#d40014",
653
+ warning: "#e97f16",
654
+ success: "#499380",
655
+ info: "#44adbb"
656
+ },
657
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
658
+ fonts: {
659
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
660
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
661
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
662
+ },
663
+ components: {
664
+ borderRadius: "1rem",
665
+ buttonRadius: "1rem",
666
+ cardRadius: "1rem",
667
+ inputRadius: "0.5rem",
668
+ shadowSm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
669
+ shadowMd: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
670
+ shadowLg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",
671
+ borderWidth: "1px"
672
+ }
673
+ },
674
+ preview: {
675
+ colors: ["#8c0327", "#d85251", "#f1f1f1", "#d59b6b"]
676
+ }
677
+ },
678
+ {
679
+ id: "black",
680
+ name: "Black",
681
+ source: "daisy",
682
+ mode: "dark",
683
+ theme: {
684
+ mode: "dark",
685
+ colors: {
686
+ primary: "#3a3a3a",
687
+ primaryText: "#ffffff",
688
+ secondary: "#3a3a3a",
689
+ accent: "#3a3a3a",
690
+ background: "#000000",
691
+ surface: "#141414",
692
+ card: "#141414",
693
+ cardText: "#d6d6d6",
694
+ text: "#d6d6d6",
695
+ textSecondary: "#ffffff",
696
+ muted: "#3a3a3a",
697
+ mutedText: "#ffffff",
698
+ border: "#1b1b1b",
699
+ error: "#ff0301",
700
+ warning: "#ffff00",
701
+ success: "#028002",
702
+ info: "#0000ff"
703
+ },
704
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
705
+ fonts: {
706
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
707
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
708
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
709
+ },
710
+ components: {
711
+ borderRadius: "0rem",
712
+ buttonRadius: "0rem",
713
+ cardRadius: "0rem",
714
+ inputRadius: "0rem",
715
+ shadowSm: "none",
716
+ shadowMd: "none",
717
+ shadowLg: "none",
718
+ borderWidth: "1px"
719
+ }
720
+ },
721
+ preview: {
722
+ colors: ["#3a3a3a", "#3a3a3a", "#000000", "#3a3a3a"]
723
+ }
724
+ },
725
+ {
726
+ id: "bumblebee",
727
+ name: "Bumblebee",
728
+ source: "daisy",
729
+ mode: "light",
730
+ theme: {
731
+ mode: "light",
732
+ colors: {
733
+ primary: "#fdc700",
734
+ primaryText: "#733e0a",
735
+ secondary: "#ff8904",
736
+ accent: "#000000",
737
+ background: "#ffffff",
738
+ surface: "#f5f5f5",
739
+ card: "#f5f5f5",
740
+ cardText: "#161616",
741
+ text: "#161616",
742
+ textSecondary: "#7c2808",
743
+ muted: "#433f3a",
744
+ mutedText: "#e6e4e3",
745
+ border: "#e4e4e4",
746
+ error: "#ff6266",
747
+ warning: "#fcb700",
748
+ success: "#00d390",
749
+ info: "#00bafe"
750
+ },
751
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
752
+ fonts: {
753
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
754
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
755
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
756
+ },
757
+ components: {
758
+ borderRadius: "1rem",
759
+ buttonRadius: "1rem",
760
+ cardRadius: "1rem",
761
+ inputRadius: "0.5rem",
762
+ shadowSm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
763
+ shadowMd: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
764
+ shadowLg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",
765
+ borderWidth: "1px"
766
+ }
767
+ },
768
+ preview: {
769
+ colors: ["#fdc700", "#ff8904", "#ffffff", "#000000"]
770
+ }
771
+ },
772
+ {
773
+ id: "business",
774
+ name: "Business",
775
+ source: "daisy",
776
+ mode: "dark",
777
+ theme: {
778
+ mode: "dark",
779
+ colors: {
780
+ primary: "#1c4e80",
781
+ primaryText: "#d0dae5",
782
+ secondary: "#7c909a",
783
+ accent: "#ea6947",
784
+ background: "#202020",
785
+ surface: "#1c1c1c",
786
+ card: "#1c1c1c",
787
+ cardText: "#cdcdcd",
788
+ text: "#cdcdcd",
789
+ textSecondary: "#050708",
790
+ muted: "#23282e",
791
+ mutedText: "#cecfd0",
792
+ border: "#181818",
793
+ error: "#ac3e31",
794
+ warning: "#dbae5a",
795
+ success: "#6bb187",
796
+ info: "#0291d5"
797
+ },
798
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
799
+ fonts: {
800
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
801
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
802
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
803
+ },
804
+ components: {
805
+ borderRadius: "0.25rem",
806
+ buttonRadius: "0rem",
807
+ cardRadius: "0.25rem",
808
+ inputRadius: "0.25rem",
809
+ shadowSm: "none",
810
+ shadowMd: "none",
811
+ shadowLg: "none",
812
+ borderWidth: "1px"
813
+ }
814
+ },
815
+ preview: {
816
+ colors: ["#1c4e80", "#7c909a", "#202020", "#ea6947"]
817
+ }
818
+ },
819
+ {
820
+ id: "caramellatte",
821
+ name: "Caramellatte",
822
+ source: "daisy",
823
+ mode: "light",
824
+ theme: {
825
+ mode: "light",
826
+ colors: {
827
+ primary: "#000000",
828
+ primaryText: "#ffffff",
829
+ secondary: "#370a00",
830
+ accent: "#8c3f27",
831
+ background: "#fff7ed",
832
+ surface: "#feecd3",
833
+ card: "#feecd3",
834
+ cardText: "#7c2808",
835
+ text: "#7c2808",
836
+ textSecondary: "#ffd6a7",
837
+ muted: "#c93400",
838
+ mutedText: "#fff7ed",
839
+ border: "#ffd6a7",
840
+ error: "#ff6266",
841
+ warning: "#fcb700",
842
+ success: "#006044",
843
+ info: "#193ab7"
844
+ },
845
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
846
+ fonts: {
847
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
848
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
849
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
850
+ },
851
+ components: {
852
+ borderRadius: "1rem",
853
+ buttonRadius: "2rem",
854
+ cardRadius: "1rem",
855
+ inputRadius: "0.5rem",
856
+ shadowSm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
857
+ shadowMd: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
858
+ shadowLg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",
859
+ borderWidth: "2px"
860
+ }
861
+ },
862
+ preview: {
863
+ colors: ["#000000", "#370a00", "#fff7ed", "#8c3f27"]
864
+ }
865
+ },
866
+ {
867
+ id: "cmyk",
868
+ name: "Cmyk",
869
+ source: "daisy",
870
+ mode: "light",
871
+ theme: {
872
+ mode: "light",
873
+ colors: {
874
+ primary: "#45aeee",
875
+ primaryText: "#020b13",
876
+ secondary: "#e8488a",
877
+ accent: "#fff234",
878
+ background: "#ffffff",
879
+ surface: "#eeeeee",
880
+ card: "#eeeeee",
881
+ cardText: "#161616",
882
+ text: "#161616",
883
+ textSecondary: "#130207",
884
+ muted: "#1a1a1a",
885
+ mutedText: "#cbcbcb",
886
+ border: "#dedede",
887
+ error: "#e93f33",
888
+ warning: "#ee8134",
889
+ success: "#823290",
890
+ info: "#4ba8c0"
891
+ },
892
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
893
+ fonts: {
894
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
895
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
896
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
897
+ },
898
+ components: {
899
+ borderRadius: "1rem",
900
+ buttonRadius: "1rem",
901
+ cardRadius: "1rem",
902
+ inputRadius: "0.5rem",
903
+ shadowSm: "none",
904
+ shadowMd: "none",
905
+ shadowLg: "none",
906
+ borderWidth: "1px"
907
+ }
908
+ },
909
+ preview: {
910
+ colors: ["#45aeee", "#e8488a", "#ffffff", "#fff234"]
911
+ }
912
+ },
913
+ {
914
+ id: "coffee",
915
+ name: "Coffee",
916
+ source: "daisy",
917
+ mode: "dark",
918
+ theme: {
919
+ mode: "dark",
920
+ colors: {
921
+ primary: "#db924c",
922
+ primaryText: "#110802",
923
+ secondary: "#273e3f",
924
+ accent: "#11576d",
925
+ background: "#261b25",
926
+ surface: "#1e151d",
927
+ card: "#1e151d",
928
+ cardText: "#c59f61",
929
+ text: "#c59f61",
930
+ textSecondary: "#d0d5d5",
931
+ muted: "#120c12",
932
+ mutedText: "#c9c7c9",
933
+ border: "#120a11",
934
+ error: "#fc9581",
935
+ warning: "#ffd260",
936
+ success: "#9db787",
937
+ info: "#8ecac1"
938
+ },
939
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
940
+ fonts: {
941
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
942
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
943
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
944
+ },
945
+ components: {
946
+ borderRadius: "1rem",
947
+ buttonRadius: "1rem",
948
+ cardRadius: "1rem",
949
+ inputRadius: "0.5rem",
950
+ shadowSm: "none",
951
+ shadowMd: "none",
952
+ shadowLg: "none",
953
+ borderWidth: "1px"
954
+ }
955
+ },
956
+ preview: {
957
+ colors: ["#db924c", "#273e3f", "#261b25", "#11576d"]
958
+ }
959
+ },
960
+ {
961
+ id: "corporate",
962
+ name: "Corporate",
963
+ source: "daisy",
964
+ mode: "light",
965
+ theme: {
966
+ mode: "light",
967
+ colors: {
968
+ primary: "#0082ce",
969
+ primaryText: "#ffffff",
970
+ secondary: "#61738d",
971
+ accent: "#009689",
972
+ background: "#ffffff",
973
+ surface: "#e8e8e8",
974
+ card: "#e8e8e8",
975
+ cardText: "#181a2a",
976
+ text: "#181a2a",
977
+ textSecondary: "#ffffff",
978
+ muted: "#000000",
979
+ mutedText: "#ffffff",
980
+ border: "#d1d1d1",
981
+ error: "#ff6266",
982
+ warning: "#fdc700",
983
+ success: "#00a43b",
984
+ info: "#0090b5"
985
+ },
986
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
987
+ fonts: {
988
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
989
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
990
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
991
+ },
992
+ components: {
993
+ borderRadius: "0.25rem",
994
+ buttonRadius: "0.25rem",
995
+ cardRadius: "0.25rem",
996
+ inputRadius: "0.25rem",
997
+ shadowSm: "none",
998
+ shadowMd: "none",
999
+ shadowLg: "none",
1000
+ borderWidth: "1px"
1001
+ }
1002
+ },
1003
+ preview: {
1004
+ colors: ["#0082ce", "#61738d", "#ffffff", "#009689"]
1005
+ }
1006
+ },
1007
+ {
1008
+ id: "cupcake",
1009
+ name: "Cupcake",
1010
+ source: "daisy",
1011
+ mode: "light",
1012
+ theme: {
1013
+ mode: "light",
1014
+ colors: {
1015
+ primary: "#44ebd3",
1016
+ primaryText: "#005d58",
1017
+ secondary: "#f9cbe5",
1018
+ accent: "#ffd6a7",
1019
+ background: "#faf7f5",
1020
+ surface: "#efeae6",
1021
+ card: "#efeae6",
1022
+ cardText: "#291334",
1023
+ text: "#291334",
1024
+ textSecondary: "#a0004a",
1025
+ muted: "#262629",
1026
+ mutedText: "#e4e4e7",
1027
+ border: "#e7e2df",
1028
+ error: "#fe1c55",
1029
+ warning: "#eeaf00",
1030
+ success: "#00ba7b",
1031
+ info: "#00a4f2"
1032
+ },
1033
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1034
+ fonts: {
1035
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1036
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1037
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1038
+ },
1039
+ components: {
1040
+ borderRadius: "1rem",
1041
+ buttonRadius: "1rem",
1042
+ cardRadius: "1rem",
1043
+ inputRadius: "2rem",
1044
+ shadowSm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
1045
+ shadowMd: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
1046
+ shadowLg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",
1047
+ borderWidth: "2px"
1048
+ }
1049
+ },
1050
+ preview: {
1051
+ colors: ["#44ebd3", "#f9cbe5", "#faf7f5", "#ffd6a7"]
1052
+ }
1053
+ },
1054
+ {
1055
+ id: "cyberpunk",
1056
+ name: "Cyberpunk",
1057
+ source: "daisy",
1058
+ mode: "light",
1059
+ theme: {
1060
+ mode: "light",
1061
+ colors: {
1062
+ primary: "#ff6596",
1063
+ primaryText: "#180408",
1064
+ secondary: "#00e8ff",
1065
+ accent: "#ce74ff",
1066
+ background: "#fff248",
1067
+ surface: "#f7e83a",
1068
+ card: "#f7e83a",
1069
+ cardText: "#000000",
1070
+ text: "#000000",
1071
+ textSecondary: "#001316",
1072
+ muted: "#111a3b",
1073
+ mutedText: "#fff248",
1074
+ border: "#e3d40e",
1075
+ error: "#ff5861",
1076
+ warning: "#ffbe00",
1077
+ success: "#00a96e",
1078
+ info: "#00b5ff"
1079
+ },
1080
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1081
+ fonts: {
1082
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1083
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1084
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1085
+ },
1086
+ components: {
1087
+ borderRadius: "0rem",
1088
+ buttonRadius: "0rem",
1089
+ cardRadius: "0rem",
1090
+ inputRadius: "0rem",
1091
+ shadowSm: "none",
1092
+ shadowMd: "none",
1093
+ shadowLg: "none",
1094
+ borderWidth: "1px"
1095
+ }
1096
+ },
1097
+ preview: {
1098
+ colors: ["#ff6596", "#00e8ff", "#fff248", "#ce74ff"]
1099
+ }
1100
+ },
1101
+ {
1102
+ id: "dim",
1103
+ name: "Dim",
1104
+ source: "daisy",
1105
+ mode: "dark",
1106
+ theme: {
1107
+ mode: "dark",
1108
+ colors: {
1109
+ primary: "#9fe88d",
1110
+ primaryText: "#091307",
1111
+ secondary: "#ff7d5d",
1112
+ accent: "#c792e9",
1113
+ background: "#2a303c",
1114
+ surface: "#242933",
1115
+ card: "#242933",
1116
+ cardText: "#b2ccd6",
1117
+ text: "#b2ccd6",
1118
+ textSecondary: "#160503",
1119
+ muted: "#1c212b",
1120
+ mutedText: "#b2ccd6",
1121
+ border: "#20252e",
1122
+ error: "#ffae9b",
1123
+ warning: "#efd057",
1124
+ success: "#62efbd",
1125
+ info: "#28ebff"
1126
+ },
1127
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1128
+ fonts: {
1129
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1130
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1131
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1132
+ },
1133
+ components: {
1134
+ borderRadius: "1rem",
1135
+ buttonRadius: "1rem",
1136
+ cardRadius: "1rem",
1137
+ inputRadius: "0.5rem",
1138
+ shadowSm: "none",
1139
+ shadowMd: "none",
1140
+ shadowLg: "none",
1141
+ borderWidth: "1px"
1142
+ }
1143
+ },
1144
+ preview: {
1145
+ colors: ["#9fe88d", "#ff7d5d", "#2a303c", "#c792e9"]
1146
+ }
1147
+ },
1148
+ {
1149
+ id: "dracula",
1150
+ name: "Dracula",
1151
+ source: "daisy",
1152
+ mode: "dark",
1153
+ theme: {
1154
+ mode: "dark",
1155
+ colors: {
1156
+ primary: "#ff79c6",
1157
+ primaryText: "#16050e",
1158
+ secondary: "#bd93f9",
1159
+ accent: "#ffb86c",
1160
+ background: "#282a36",
1161
+ surface: "#232530",
1162
+ card: "#232530",
1163
+ cardText: "#f8f8f3",
1164
+ text: "#f8f8f3",
1165
+ textSecondary: "#0d0815",
1166
+ muted: "#414558",
1167
+ mutedText: "#d6d7db",
1168
+ border: "#1f202a",
1169
+ error: "#ff5555",
1170
+ warning: "#f1fa8c",
1171
+ success: "#51fa7b",
1172
+ info: "#8be9fd"
1173
+ },
1174
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1175
+ fonts: {
1176
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1177
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1178
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1179
+ },
1180
+ components: {
1181
+ borderRadius: "1rem",
1182
+ buttonRadius: "1rem",
1183
+ cardRadius: "1rem",
1184
+ inputRadius: "0.5rem",
1185
+ shadowSm: "none",
1186
+ shadowMd: "none",
1187
+ shadowLg: "none",
1188
+ borderWidth: "1px"
1189
+ }
1190
+ },
1191
+ preview: {
1192
+ colors: ["#ff79c6", "#bd93f9", "#282a36", "#ffb86c"]
1193
+ }
1194
+ },
1195
+ {
1196
+ id: "emerald",
1197
+ name: "Emerald",
1198
+ source: "daisy",
1199
+ mode: "light",
1200
+ theme: {
1201
+ mode: "light",
1202
+ colors: {
1203
+ primary: "#66cc8a",
1204
+ primaryText: "#223d30",
1205
+ secondary: "#377cfb",
1206
+ accent: "#f68067",
1207
+ background: "#ffffff",
1208
+ surface: "#e8e8e8",
1209
+ card: "#e8e8e8",
1210
+ cardText: "#333c4d",
1211
+ text: "#333c4d",
1212
+ textSecondary: "#ffffff",
1213
+ muted: "#333c4d",
1214
+ mutedText: "#f9fafb",
1215
+ border: "#d1d1d1",
1216
+ error: "#ff5861",
1217
+ warning: "#ffbe00",
1218
+ success: "#00a96e",
1219
+ info: "#00b5ff"
1220
+ },
1221
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1222
+ fonts: {
1223
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1224
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1225
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1226
+ },
1227
+ components: {
1228
+ borderRadius: "1rem",
1229
+ buttonRadius: "1rem",
1230
+ cardRadius: "1rem",
1231
+ inputRadius: "0.5rem",
1232
+ shadowSm: "none",
1233
+ shadowMd: "none",
1234
+ shadowLg: "none",
1235
+ borderWidth: "1px"
1236
+ }
1237
+ },
1238
+ preview: {
1239
+ colors: ["#66cc8a", "#377cfb", "#ffffff", "#f68067"]
1240
+ }
1241
+ },
1242
+ {
1243
+ id: "fantasy",
1244
+ name: "Fantasy",
1245
+ source: "daisy",
1246
+ mode: "light",
1247
+ theme: {
1248
+ mode: "light",
1249
+ colors: {
1250
+ primary: "#6d0076",
1251
+ primaryText: "#e3cee4",
1252
+ secondary: "#0075c2",
1253
+ accent: "#ff8600",
1254
+ background: "#ffffff",
1255
+ surface: "#e8e8e8",
1256
+ card: "#e8e8e8",
1257
+ cardText: "#1f2937",
1258
+ text: "#1f2937",
1259
+ textSecondary: "#cfe4f4",
1260
+ muted: "#1f2937",
1261
+ mutedText: "#cdd0d3",
1262
+ border: "#d1d1d1",
1263
+ error: "#ff5861",
1264
+ warning: "#ffbe00",
1265
+ success: "#00a96e",
1266
+ info: "#00b5ff"
1267
+ },
1268
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1269
+ fonts: {
1270
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1271
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1272
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1273
+ },
1274
+ components: {
1275
+ borderRadius: "1rem",
1276
+ buttonRadius: "1rem",
1277
+ cardRadius: "1rem",
1278
+ inputRadius: "0.5rem",
1279
+ shadowSm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
1280
+ shadowMd: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
1281
+ shadowLg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",
1282
+ borderWidth: "1px"
1283
+ }
1284
+ },
1285
+ preview: {
1286
+ colors: ["#6d0076", "#0075c2", "#ffffff", "#ff8600"]
1287
+ }
1288
+ },
1289
+ {
1290
+ id: "forest",
1291
+ name: "Forest",
1292
+ source: "daisy",
1293
+ mode: "dark",
1294
+ theme: {
1295
+ mode: "dark",
1296
+ colors: {
1297
+ primary: "#1fb854",
1298
+ primaryText: "#000000",
1299
+ secondary: "#1eb88e",
1300
+ accent: "#1fb8ab",
1301
+ background: "#1b1717",
1302
+ surface: "#161212",
1303
+ card: "#161212",
1304
+ cardText: "#cac9c9",
1305
+ text: "#cac9c9",
1306
+ textSecondary: "#000c07",
1307
+ muted: "#19362d",
1308
+ mutedText: "#cdd3d1",
1309
+ border: "#110d0d",
1310
+ error: "#ff5861",
1311
+ warning: "#ffbe00",
1312
+ success: "#00a96e",
1313
+ info: "#00b5ff"
1314
+ },
1315
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1316
+ fonts: {
1317
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1318
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1319
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1320
+ },
1321
+ components: {
1322
+ borderRadius: "1rem",
1323
+ buttonRadius: "1rem",
1324
+ cardRadius: "1rem",
1325
+ inputRadius: "2rem",
1326
+ shadowSm: "none",
1327
+ shadowMd: "none",
1328
+ shadowLg: "none",
1329
+ borderWidth: "1px"
1330
+ }
1331
+ },
1332
+ preview: {
1333
+ colors: ["#1fb854", "#1eb88e", "#1b1717", "#1fb8ab"]
1334
+ }
1335
+ },
1336
+ {
1337
+ id: "garden",
1338
+ name: "Garden",
1339
+ source: "daisy",
1340
+ mode: "light",
1341
+ theme: {
1342
+ mode: "light",
1343
+ colors: {
1344
+ primary: "#fe0075",
1345
+ primaryText: "#ffffff",
1346
+ secondary: "#8e4162",
1347
+ accent: "#5c7f67",
1348
+ background: "#e9e7e7",
1349
+ surface: "#d4d2d2",
1350
+ card: "#d4d2d2",
1351
+ cardText: "#100f0f",
1352
+ text: "#100f0f",
1353
+ textSecondary: "#ead7de",
1354
+ muted: "#291e00",
1355
+ mutedText: "#e9e7e7",
1356
+ border: "#bebdbd",
1357
+ error: "#ff5861",
1358
+ warning: "#ffbe00",
1359
+ success: "#00a96e",
1360
+ info: "#00b5ff"
1361
+ },
1362
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1363
+ fonts: {
1364
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1365
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1366
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1367
+ },
1368
+ components: {
1369
+ borderRadius: "1rem",
1370
+ buttonRadius: "1rem",
1371
+ cardRadius: "1rem",
1372
+ inputRadius: "0.5rem",
1373
+ shadowSm: "none",
1374
+ shadowMd: "none",
1375
+ shadowLg: "none",
1376
+ borderWidth: "1px"
1377
+ }
1378
+ },
1379
+ preview: {
1380
+ colors: ["#fe0075", "#8e4162", "#e9e7e7", "#5c7f67"]
1381
+ }
1382
+ },
1383
+ {
1384
+ id: "halloween",
1385
+ name: "Halloween",
1386
+ source: "daisy",
1387
+ mode: "dark",
1388
+ theme: {
1389
+ mode: "dark",
1390
+ colors: {
1391
+ primary: "#ff8f00",
1392
+ primaryText: "#131616",
1393
+ secondary: "#7a00c2",
1394
+ accent: "#42aa00",
1395
+ background: "#1b1816",
1396
+ surface: "#0b0908",
1397
+ card: "#0b0908",
1398
+ cardText: "#cdcdcd",
1399
+ text: "#cdcdcd",
1400
+ textSecondary: "#e3d4f6",
1401
+ muted: "#2f1b05",
1402
+ mutedText: "#d2ccc7",
1403
+ border: "#000000",
1404
+ error: "#f35248",
1405
+ warning: "#d97708",
1406
+ success: "#18a34a",
1407
+ info: "#2563eb"
1408
+ },
1409
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1410
+ fonts: {
1411
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1412
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1413
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1414
+ },
1415
+ components: {
1416
+ borderRadius: "1rem",
1417
+ buttonRadius: "1rem",
1418
+ cardRadius: "1rem",
1419
+ inputRadius: "0.5rem",
1420
+ shadowSm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
1421
+ shadowMd: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
1422
+ shadowLg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",
1423
+ borderWidth: "1px"
1424
+ }
1425
+ },
1426
+ preview: {
1427
+ colors: ["#ff8f00", "#7a00c2", "#1b1816", "#42aa00"]
1428
+ }
1429
+ },
1430
+ {
1431
+ id: "lemonade",
1432
+ name: "Lemonade",
1433
+ source: "daisy",
1434
+ mode: "light",
1435
+ theme: {
1436
+ mode: "light",
1437
+ colors: {
1438
+ primary: "#419400",
1439
+ primaryText: "#010800",
1440
+ secondary: "#bdc000",
1441
+ accent: "#edd000",
1442
+ background: "#f8fdef",
1443
+ surface: "#e1e6d9",
1444
+ card: "#e1e6d9",
1445
+ cardText: "#151614",
1446
+ text: "#151614",
1447
+ textSecondary: "#0d0e00",
1448
+ muted: "#343300",
1449
+ mutedText: "#d2d3c7",
1450
+ border: "#cbcfc3",
1451
+ error: "#efc6c2",
1452
+ warning: "#d7d3b0",
1453
+ success: "#b9dbc6",
1454
+ info: "#b1d9e9"
1455
+ },
1456
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1457
+ fonts: {
1458
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1459
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1460
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1461
+ },
1462
+ components: {
1463
+ borderRadius: "1rem",
1464
+ buttonRadius: "1rem",
1465
+ cardRadius: "1rem",
1466
+ inputRadius: "0.5rem",
1467
+ shadowSm: "none",
1468
+ shadowMd: "none",
1469
+ shadowLg: "none",
1470
+ borderWidth: "1px"
1471
+ }
1472
+ },
1473
+ preview: {
1474
+ colors: ["#419400", "#bdc000", "#f8fdef", "#edd000"]
1475
+ }
1476
+ },
1477
+ {
1478
+ id: "lofi",
1479
+ name: "Lofi",
1480
+ source: "daisy",
1481
+ mode: "light",
1482
+ theme: {
1483
+ mode: "light",
1484
+ colors: {
1485
+ primary: "#0d0d0d",
1486
+ primaryText: "#ffffff",
1487
+ secondary: "#1a1919",
1488
+ accent: "#262626",
1489
+ background: "#ffffff",
1490
+ surface: "#f5f5f5",
1491
+ card: "#f5f5f5",
1492
+ cardText: "#000000",
1493
+ text: "#000000",
1494
+ textSecondary: "#ffffff",
1495
+ muted: "#000000",
1496
+ mutedText: "#ffffff",
1497
+ border: "#ebebeb",
1498
+ error: "#ff9181",
1499
+ warning: "#ffce69",
1500
+ success: "#69fec3",
1501
+ info: "#5fcfdd"
1502
+ },
1503
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1504
+ fonts: {
1505
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1506
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1507
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1508
+ },
1509
+ components: {
1510
+ borderRadius: "0.5rem",
1511
+ buttonRadius: "2rem",
1512
+ cardRadius: "0.5rem",
1513
+ inputRadius: "0.25rem",
1514
+ shadowSm: "none",
1515
+ shadowMd: "none",
1516
+ shadowLg: "none",
1517
+ borderWidth: "1px"
1518
+ }
1519
+ },
1520
+ preview: {
1521
+ colors: ["#0d0d0d", "#1a1919", "#ffffff", "#262626"]
1522
+ }
1523
+ },
1524
+ {
1525
+ id: "luxury",
1526
+ name: "Luxury",
1527
+ source: "daisy",
1528
+ mode: "dark",
1529
+ theme: {
1530
+ mode: "dark",
1531
+ colors: {
1532
+ primary: "#ffffff",
1533
+ primaryText: "#161616",
1534
+ secondary: "#152747",
1535
+ accent: "#513448",
1536
+ background: "#09090b",
1537
+ surface: "#171618",
1538
+ card: "#171618",
1539
+ cardText: "#dca54d",
1540
+ text: "#dca54d",
1541
+ textSecondary: "#cbd0d7",
1542
+ muted: "#331800",
1543
+ mutedText: "#ffe7a4",
1544
+ border: "#1e1d1f",
1545
+ error: "#ff6f6f",
1546
+ warning: "#e2d563",
1547
+ success: "#87d03a",
1548
+ info: "#67c6ff"
1549
+ },
1550
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1551
+ fonts: {
1552
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1553
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1554
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1555
+ },
1556
+ components: {
1557
+ borderRadius: "1rem",
1558
+ buttonRadius: "1rem",
1559
+ cardRadius: "1rem",
1560
+ inputRadius: "0.5rem",
1561
+ shadowSm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
1562
+ shadowMd: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
1563
+ shadowLg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",
1564
+ borderWidth: "1px"
1565
+ }
1566
+ },
1567
+ preview: {
1568
+ colors: ["#ffffff", "#152747", "#09090b", "#513448"]
1569
+ }
1570
+ },
1571
+ {
1572
+ id: "night",
1573
+ name: "Night",
1574
+ source: "daisy",
1575
+ mode: "dark",
1576
+ theme: {
1577
+ mode: "dark",
1578
+ colors: {
1579
+ primary: "#3abdf7",
1580
+ primaryText: "#010d15",
1581
+ secondary: "#818cf8",
1582
+ accent: "#f471b5",
1583
+ background: "#0f172a",
1584
+ surface: "#0c1425",
1585
+ card: "#0c1425",
1586
+ cardText: "#c9cbd0",
1587
+ text: "#c9cbd0",
1588
+ textSecondary: "#060715",
1589
+ muted: "#1e293b",
1590
+ mutedText: "#cdd0d4",
1591
+ border: "#0a1120",
1592
+ error: "#fb7085",
1593
+ warning: "#f4bf51",
1594
+ success: "#2fd4bf",
1595
+ info: "#0ca5e9"
1596
+ },
1597
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1598
+ fonts: {
1599
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1600
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1601
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1602
+ },
1603
+ components: {
1604
+ borderRadius: "1rem",
1605
+ buttonRadius: "1rem",
1606
+ cardRadius: "1rem",
1607
+ inputRadius: "0.5rem",
1608
+ shadowSm: "none",
1609
+ shadowMd: "none",
1610
+ shadowLg: "none",
1611
+ borderWidth: "1px"
1612
+ }
1613
+ },
1614
+ preview: {
1615
+ colors: ["#3abdf7", "#818cf8", "#0f172a", "#f471b5"]
1616
+ }
1617
+ },
1618
+ {
1619
+ id: "nord",
1620
+ name: "Nord",
1621
+ source: "daisy",
1622
+ mode: "light",
1623
+ theme: {
1624
+ mode: "light",
1625
+ colors: {
1626
+ primary: "#5e81ac",
1627
+ primaryText: "#03060b",
1628
+ secondary: "#81a1c1",
1629
+ accent: "#88c0d0",
1630
+ background: "#eceff4",
1631
+ surface: "#e5e9f0",
1632
+ card: "#e5e9f0",
1633
+ cardText: "#2e3440",
1634
+ text: "#2e3440",
1635
+ textSecondary: "#06090d",
1636
+ muted: "#4c566a",
1637
+ mutedText: "#d8dee9",
1638
+ border: "#d8dee9",
1639
+ error: "#bf616a",
1640
+ warning: "#ebcb8b",
1641
+ success: "#a3be8d",
1642
+ info: "#b48ead"
1643
+ },
1644
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1645
+ fonts: {
1646
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1647
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1648
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1649
+ },
1650
+ components: {
1651
+ borderRadius: "0.5rem",
1652
+ buttonRadius: "1rem",
1653
+ cardRadius: "0.5rem",
1654
+ inputRadius: "0.25rem",
1655
+ shadowSm: "none",
1656
+ shadowMd: "none",
1657
+ shadowLg: "none",
1658
+ borderWidth: "1px"
1659
+ }
1660
+ },
1661
+ preview: {
1662
+ colors: ["#5e81ac", "#81a1c1", "#eceff4", "#88c0d0"]
1663
+ }
1664
+ },
1665
+ {
1666
+ id: "pastel",
1667
+ name: "Pastel",
1668
+ source: "daisy",
1669
+ mode: "light",
1670
+ theme: {
1671
+ mode: "light",
1672
+ colors: {
1673
+ primary: "#e9d4ff",
1674
+ primaryText: "#8000d9",
1675
+ secondary: "#feccd2",
1676
+ accent: "#a3f2ce",
1677
+ background: "#ffffff",
1678
+ surface: "#f9fafb",
1679
+ card: "#f9fafb",
1680
+ cardText: "#161616",
1681
+ text: "#161616",
1682
+ textSecondary: "#c50035",
1683
+ muted: "#61738d",
1684
+ mutedText: "#dfe5ed",
1685
+ border: "#e5e6e7",
1686
+ error: "#ff9fa0",
1687
+ warning: "#ffb667",
1688
+ success: "#7af1a7",
1689
+ info: "#51e8fb"
1690
+ },
1691
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1692
+ fonts: {
1693
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1694
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1695
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1696
+ },
1697
+ components: {
1698
+ borderRadius: "1rem",
1699
+ buttonRadius: "1rem",
1700
+ cardRadius: "1rem",
1701
+ inputRadius: "2rem",
1702
+ shadowSm: "none",
1703
+ shadowMd: "none",
1704
+ shadowLg: "none",
1705
+ borderWidth: "2px"
1706
+ }
1707
+ },
1708
+ preview: {
1709
+ colors: ["#e9d4ff", "#feccd2", "#ffffff", "#a3f2ce"]
1710
+ }
1711
+ },
1712
+ {
1713
+ id: "retro",
1714
+ name: "Retro",
1715
+ source: "daisy",
1716
+ mode: "light",
1717
+ theme: {
1718
+ mode: "light",
1719
+ colors: {
1720
+ primary: "#ff9fa0",
1721
+ primaryText: "#801518",
1722
+ secondary: "#b7f6cd",
1723
+ accent: "#d08700",
1724
+ background: "#ece3ca",
1725
+ surface: "#e4d8b4",
1726
+ card: "#e4d8b4",
1727
+ cardText: "#793205",
1728
+ text: "#793205",
1729
+ textSecondary: "#00642e",
1730
+ muted: "#56524c",
1731
+ mutedText: "#d4d0ce",
1732
+ border: "#dbca9b",
1733
+ error: "#ff6266",
1734
+ warning: "#f34700",
1735
+ success: "#00776f",
1736
+ info: "#0082ce"
1737
+ },
1738
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1739
+ fonts: {
1740
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1741
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1742
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1743
+ },
1744
+ components: {
1745
+ borderRadius: "0.5rem",
1746
+ buttonRadius: "0.25rem",
1747
+ cardRadius: "0.5rem",
1748
+ inputRadius: "0.25rem",
1749
+ shadowSm: "none",
1750
+ shadowMd: "none",
1751
+ shadowLg: "none",
1752
+ borderWidth: "1px"
1753
+ }
1754
+ },
1755
+ preview: {
1756
+ colors: ["#ff9fa0", "#b7f6cd", "#ece3ca", "#d08700"]
1757
+ }
1758
+ },
1759
+ {
1760
+ id: "silk",
1761
+ name: "Silk",
1762
+ source: "daisy",
1763
+ mode: "light",
1764
+ theme: {
1765
+ mode: "light",
1766
+ colors: {
1767
+ primary: "#1c1c29",
1768
+ primaryText: "#e1ff00",
1769
+ secondary: "#1c1c29",
1770
+ accent: "#1c1c29",
1771
+ background: "#f7f5f3",
1772
+ surface: "#f3ede9",
1773
+ card: "#f3ede9",
1774
+ cardText: "#4b4743",
1775
+ text: "#4b4743",
1776
+ textSecondary: "#ff7700",
1777
+ muted: "#161616",
1778
+ mutedText: "#c2bdb9",
1779
+ border: "#e2ddd9",
1780
+ error: "#ff7878",
1781
+ warning: "#efc375",
1782
+ success: "#afd89e",
1783
+ info: "#78c8ff"
1784
+ },
1785
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1786
+ fonts: {
1787
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1788
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1789
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1790
+ },
1791
+ components: {
1792
+ borderRadius: "1rem",
1793
+ buttonRadius: "2rem",
1794
+ cardRadius: "1rem",
1795
+ inputRadius: "0.5rem",
1796
+ shadowSm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
1797
+ shadowMd: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
1798
+ shadowLg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",
1799
+ borderWidth: "2px"
1800
+ }
1801
+ },
1802
+ preview: {
1803
+ colors: ["#1c1c29", "#1c1c29", "#f7f5f3", "#1c1c29"]
1804
+ }
1805
+ },
1806
+ {
1807
+ id: "sunset",
1808
+ name: "Sunset",
1809
+ source: "daisy",
1810
+ mode: "dark",
1811
+ theme: {
1812
+ mode: "dark",
1813
+ colors: {
1814
+ primary: "#ff865b",
1815
+ primaryText: "#160603",
1816
+ secondary: "#fd6f9c",
1817
+ accent: "#b387fa",
1818
+ background: "#121c22",
1819
+ surface: "#0e171e",
1820
+ card: "#0e171e",
1821
+ cardText: "#9fb9d0",
1822
+ text: "#9fb9d0",
1823
+ textSecondary: "#160409",
1824
+ muted: "#1b262c",
1825
+ mutedText: "#94a0a9",
1826
+ border: "#091319",
1827
+ error: "#ffbbbd",
1828
+ warning: "#f1c892",
1829
+ success: "#addfad",
1830
+ info: "#89e0eb"
1831
+ },
1832
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1833
+ fonts: {
1834
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1835
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1836
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1837
+ },
1838
+ components: {
1839
+ borderRadius: "1rem",
1840
+ buttonRadius: "1rem",
1841
+ cardRadius: "1rem",
1842
+ inputRadius: "0.5rem",
1843
+ shadowSm: "none",
1844
+ shadowMd: "none",
1845
+ shadowLg: "none",
1846
+ borderWidth: "1px"
1847
+ }
1848
+ },
1849
+ preview: {
1850
+ colors: ["#ff865b", "#fd6f9c", "#121c22", "#b387fa"]
1851
+ }
1852
+ },
1853
+ {
1854
+ id: "synthwave",
1855
+ name: "Synthwave",
1856
+ source: "daisy",
1857
+ mode: "dark",
1858
+ theme: {
1859
+ mode: "dark",
1860
+ colors: {
1861
+ primary: "#f861b4",
1862
+ primaryText: "#500323",
1863
+ secondary: "#71d1fe",
1864
+ accent: "#ff8904",
1865
+ background: "#09002f",
1866
+ surface: "#120b3d",
1867
+ card: "#120b3d",
1868
+ cardText: "#a1b1ff",
1869
+ text: "#a1b1ff",
1870
+ textSecondary: "#042e49",
1871
+ muted: "#422ad5",
1872
+ mutedText: "#c6d2ff",
1873
+ border: "#1c184b",
1874
+ error: "#ec8c78",
1875
+ warning: "#fede1c",
1876
+ success: "#00d3bb",
1877
+ info: "#00bafe"
1878
+ },
1879
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1880
+ fonts: {
1881
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1882
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1883
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1884
+ },
1885
+ components: {
1886
+ borderRadius: "1rem",
1887
+ buttonRadius: "1rem",
1888
+ cardRadius: "1rem",
1889
+ inputRadius: "0.5rem",
1890
+ shadowSm: "none",
1891
+ shadowMd: "none",
1892
+ shadowLg: "none",
1893
+ borderWidth: "1px"
1894
+ }
1895
+ },
1896
+ preview: {
1897
+ colors: ["#f861b4", "#71d1fe", "#09002f", "#ff8904"]
1898
+ }
1899
+ },
1900
+ {
1901
+ id: "valentine",
1902
+ name: "Valentine",
1903
+ source: "daisy",
1904
+ mode: "light",
1905
+ theme: {
1906
+ mode: "light",
1907
+ colors: {
1908
+ primary: "#f43098",
1909
+ primaryText: "#ffffff",
1910
+ secondary: "#ab44ff",
1911
+ accent: "#71d1fe",
1912
+ background: "#fcf2f8",
1913
+ surface: "#f9e4f0",
1914
+ card: "#f9e4f0",
1915
+ cardText: "#c5005a",
1916
+ text: "#c5005a",
1917
+ textSecondary: "#f8f3fd",
1918
+ muted: "#830c41",
1919
+ mutedText: "#f9cbe5",
1920
+ border: "#f9cbe5",
1921
+ error: "#f82834",
1922
+ warning: "#ff8904",
1923
+ success: "#5ce8b3",
1924
+ info: "#51e8fb"
1925
+ },
1926
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1927
+ fonts: {
1928
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1929
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1930
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1931
+ },
1932
+ components: {
1933
+ borderRadius: "1rem",
1934
+ buttonRadius: "1rem",
1935
+ cardRadius: "1rem",
1936
+ inputRadius: "2rem",
1937
+ shadowSm: "none",
1938
+ shadowMd: "none",
1939
+ shadowLg: "none",
1940
+ borderWidth: "1px"
1941
+ }
1942
+ },
1943
+ preview: {
1944
+ colors: ["#f43098", "#ab44ff", "#fcf2f8", "#71d1fe"]
1945
+ }
1946
+ },
1947
+ {
1948
+ id: "winter",
1949
+ name: "Winter",
1950
+ source: "daisy",
1951
+ mode: "light",
1952
+ theme: {
1953
+ mode: "light",
1954
+ colors: {
1955
+ primary: "#0069ff",
1956
+ primaryText: "#cee4ff",
1957
+ secondary: "#463aa2",
1958
+ accent: "#c148ac",
1959
+ background: "#ffffff",
1960
+ surface: "#f2f7fe",
1961
+ card: "#f2f7fe",
1962
+ cardText: "#394e6a",
1963
+ text: "#394e6a",
1964
+ textSecondary: "#d5d7ee",
1965
+ muted: "#021431",
1966
+ mutedText: "#c5cbd2",
1967
+ border: "#e3e9f4",
1968
+ error: "#e58b8b",
1969
+ warning: "#efd7bc",
1970
+ success: "#81cfd1",
1971
+ info: "#94e7fb"
1972
+ },
1973
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
1974
+ fonts: {
1975
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1976
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
1977
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
1978
+ },
1979
+ components: {
1980
+ borderRadius: "1rem",
1981
+ buttonRadius: "1rem",
1982
+ cardRadius: "1rem",
1983
+ inputRadius: "0.5rem",
1984
+ shadowSm: "none",
1985
+ shadowMd: "none",
1986
+ shadowLg: "none",
1987
+ borderWidth: "1px"
1988
+ }
1989
+ },
1990
+ preview: {
1991
+ colors: ["#0069ff", "#463aa2", "#ffffff", "#c148ac"]
1992
+ }
1993
+ },
1994
+ {
1995
+ id: "wireframe",
1996
+ name: "Wireframe",
1997
+ source: "daisy",
1998
+ mode: "light",
1999
+ theme: {
2000
+ mode: "light",
2001
+ colors: {
2002
+ primary: "#d4d4d4",
2003
+ primaryText: "#242424",
2004
+ secondary: "#d4d4d4",
2005
+ accent: "#d4d4d4",
2006
+ background: "#ffffff",
2007
+ surface: "#f5f5f5",
2008
+ card: "#f5f5f5",
2009
+ cardText: "#161616",
2010
+ text: "#161616",
2011
+ textSecondary: "#242424",
2012
+ muted: "#d4d4d4",
2013
+ mutedText: "#242424",
2014
+ border: "#ebebeb",
2015
+ error: "#9d0410",
2016
+ warning: "#963b00",
2017
+ success: "#006044",
2018
+ info: "#005889"
2019
+ },
2020
+ spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", xl: "32px" },
2021
+ fonts: {
2022
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
2023
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
2024
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace"
2025
+ },
2026
+ components: {
2027
+ borderRadius: "0.25rem",
2028
+ buttonRadius: "0rem",
2029
+ cardRadius: "0.25rem",
2030
+ inputRadius: "0.25rem",
2031
+ shadowSm: "none",
2032
+ shadowMd: "none",
2033
+ shadowLg: "none",
2034
+ borderWidth: "1px"
2035
+ }
2036
+ },
2037
+ preview: {
2038
+ colors: ["#d4d4d4", "#d4d4d4", "#ffffff", "#d4d4d4"]
2039
+ }
2040
+ }
2041
+ ];
2042
+
2043
+ // src/themes/index.ts
2044
+ var AI_AUTO_ENTRY = {
2045
+ id: "ai-auto",
2046
+ name: "AI's Choice",
2047
+ source: "ai",
2048
+ mode: "dark",
2049
+ theme: DARK_THEME,
2050
+ // placeholder; AI picks the real theme at runtime
2051
+ preview: {
2052
+ colors: ["#8b5cf6", "#ec4899", "#1e1e2e", "#06b6d4"]
2053
+ }
2054
+ };
2055
+ var NO_THEME_ENTRY = {
2056
+ id: "no-theme",
2057
+ name: "Custom from Scratch",
2058
+ source: "none",
2059
+ mode: "dark",
2060
+ theme: DARK_THEME,
2061
+ // placeholder; AI creates its own design
2062
+ preview: {
2063
+ colors: ["#f472b6", "#38bdf8", "#1a1a2e", "#a78bfa"]
2064
+ }
2065
+ };
2066
+ var FIAS_ENTRIES = [
2067
+ {
2068
+ id: "fias-dark",
2069
+ name: "Fias Dark",
2070
+ source: "fias",
2071
+ mode: "dark",
2072
+ theme: DARK_THEME,
2073
+ preview: {
2074
+ colors: [
2075
+ DARK_THEME.colors.primary,
2076
+ DARK_THEME.colors.secondary,
2077
+ DARK_THEME.colors.background,
2078
+ DARK_THEME.colors.accent
2079
+ ]
2080
+ }
2081
+ },
2082
+ {
2083
+ id: "fias-light",
2084
+ name: "Fias Light",
2085
+ source: "fias",
2086
+ mode: "light",
2087
+ theme: LIGHT_THEME,
2088
+ preview: {
2089
+ colors: [
2090
+ LIGHT_THEME.colors.primary,
2091
+ LIGHT_THEME.colors.secondary,
2092
+ LIGHT_THEME.colors.background,
2093
+ LIGHT_THEME.colors.accent
2094
+ ]
2095
+ }
2096
+ }
2097
+ ];
2098
+ var THEME_CATALOG = [
2099
+ ...FIAS_ENTRIES,
2100
+ AI_AUTO_ENTRY,
2101
+ NO_THEME_ENTRY,
2102
+ ...DAISY_THEMES
2103
+ ];
2104
+ function getThemeById(id) {
2105
+ return THEME_CATALOG.find((t) => t.id === id);
2106
+ }
2107
+
2108
+ // src/themes/fonts.ts
2109
+ var FONT_PAIRINGS = [
2110
+ {
2111
+ id: "system",
2112
+ name: "System Default",
2113
+ heading: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
2114
+ body: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
2115
+ mono: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace",
2116
+ googleFontsUrl: ""
2117
+ },
2118
+ {
2119
+ id: "inter-jakarta",
2120
+ name: "Modern Sans",
2121
+ heading: "'Plus Jakarta Sans', sans-serif",
2122
+ body: "'Inter', sans-serif",
2123
+ mono: "'JetBrains Mono', monospace",
2124
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700&family=JetBrains+Mono:wght@400;500&display=swap"
2125
+ },
2126
+ {
2127
+ id: "playfair-lato",
2128
+ name: "Editorial Serif",
2129
+ heading: "'Playfair Display', serif",
2130
+ body: "'Lato', sans-serif",
2131
+ mono: "'Source Code Pro', monospace",
2132
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&family=Source+Code+Pro:wght@400;500&display=swap"
2133
+ },
2134
+ {
2135
+ id: "space-grotesk",
2136
+ name: "Tech Forward",
2137
+ heading: "'Space Grotesk', sans-serif",
2138
+ body: "'Space Grotesk', sans-serif",
2139
+ mono: "'Space Mono', monospace",
2140
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap"
2141
+ },
2142
+ {
2143
+ id: "poppins-nunito",
2144
+ name: "Friendly Rounded",
2145
+ heading: "'Poppins', sans-serif",
2146
+ body: "'Nunito', sans-serif",
2147
+ mono: "'Fira Code', monospace",
2148
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Nunito:wght@400;600;700&family=Fira+Code:wght@400;500&display=swap"
2149
+ },
2150
+ {
2151
+ id: "dm-sans-serif",
2152
+ name: "Clean Geometric",
2153
+ heading: "'DM Sans', sans-serif",
2154
+ body: "'DM Sans', sans-serif",
2155
+ mono: "'DM Mono', monospace",
2156
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap"
2157
+ },
2158
+ {
2159
+ id: "outfit-work",
2160
+ name: "Professional",
2161
+ heading: "'Outfit', sans-serif",
2162
+ body: "'Work Sans', sans-serif",
2163
+ mono: "'IBM Plex Mono', monospace",
2164
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Work+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap"
2165
+ },
2166
+ {
2167
+ id: "crimson-raleway",
2168
+ name: "Classic Elegant",
2169
+ heading: "'Crimson Pro', serif",
2170
+ body: "'Raleway', sans-serif",
2171
+ mono: "'Inconsolata', monospace",
2172
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;600;700&family=Raleway:wght@400;500;600&family=Inconsolata:wght@400;500&display=swap"
2173
+ },
2174
+ {
2175
+ id: "rubik-karla",
2176
+ name: "Soft Modern",
2177
+ heading: "'Rubik', sans-serif",
2178
+ body: "'Karla', sans-serif",
2179
+ mono: "'Ubuntu Mono', monospace",
2180
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&family=Karla:wght@400;500;600&family=Ubuntu+Mono:wght@400;700&display=swap"
2181
+ },
2182
+ {
2183
+ id: "montserrat-open",
2184
+ name: "Bold Impact",
2185
+ heading: "'Montserrat', sans-serif",
2186
+ body: "'Open Sans', sans-serif",
2187
+ mono: "'Roboto Mono', monospace",
2188
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Open+Sans:wght@400;500;600&family=Roboto+Mono:wght@400;500&display=swap"
2189
+ },
2190
+ {
2191
+ id: "lexend-atkinson",
2192
+ name: "Accessible",
2193
+ heading: "'Lexend', sans-serif",
2194
+ body: "'Atkinson Hyperlegible', sans-serif",
2195
+ mono: "'JetBrains Mono', monospace",
2196
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700&family=Atkinson+Hyperlegible:wght@400;700&family=JetBrains+Mono:wght@400;500&display=swap"
2197
+ },
2198
+ {
2199
+ id: "sora-manrope",
2200
+ name: "Startup",
2201
+ heading: "'Sora', sans-serif",
2202
+ body: "'Manrope', sans-serif",
2203
+ mono: "'Fira Code', monospace",
2204
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&family=Fira+Code:wght@400;500&display=swap"
2205
+ },
2206
+ {
2207
+ id: "caveat-quicksand",
2208
+ name: "Handwritten",
2209
+ heading: "'Caveat', cursive",
2210
+ body: "'Quicksand', sans-serif",
2211
+ mono: "'Fira Code', monospace",
2212
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Quicksand:wght@400;500;600;700&family=Fira+Code:wght@400;500&display=swap"
2213
+ },
2214
+ {
2215
+ id: "bebas-source",
2216
+ name: "Bold Display",
2217
+ heading: "'Bebas Neue', sans-serif",
2218
+ body: "'Source Sans 3', sans-serif",
2219
+ mono: "'Source Code Pro', monospace",
2220
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Sans+3:wght@400;500;600&family=Source+Code+Pro:wght@400;500&display=swap"
2221
+ },
2222
+ {
2223
+ id: "righteous-nunito",
2224
+ name: "Retro Fun",
2225
+ heading: "'Righteous', sans-serif",
2226
+ body: "'Nunito Sans', sans-serif",
2227
+ mono: "'Ubuntu Mono', monospace",
2228
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Righteous&family=Nunito+Sans:wght@400;500;600;700&family=Ubuntu+Mono:wght@400;700&display=swap"
2229
+ },
2230
+ {
2231
+ id: "dancing-merriweather",
2232
+ name: "Elegant Script",
2233
+ heading: "'Dancing Script', cursive",
2234
+ body: "'Merriweather', serif",
2235
+ mono: "'Inconsolata', monospace",
2236
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Merriweather:wght@400;700&family=Inconsolata:wght@400;500&display=swap"
2237
+ },
2238
+ {
2239
+ id: "pacifico-lato",
2240
+ name: "Playful",
2241
+ heading: "'Pacifico', cursive",
2242
+ body: "'Lato', sans-serif",
2243
+ mono: "'Roboto Mono', monospace",
2244
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Pacifico&family=Lato:wght@300;400;700&family=Roboto+Mono:wght@400;500&display=swap"
2245
+ },
2246
+ {
2247
+ id: "abril-assistant",
2248
+ name: "Magazine",
2249
+ heading: "'Abril Fatface', serif",
2250
+ body: "'Assistant', sans-serif",
2251
+ mono: "'JetBrains Mono', monospace",
2252
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Assistant:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap"
2253
+ },
2254
+ {
2255
+ id: "comfortaa-cabin",
2256
+ name: "Soft Rounded",
2257
+ heading: "'Comfortaa', sans-serif",
2258
+ body: "'Cabin', sans-serif",
2259
+ mono: "'DM Mono', monospace",
2260
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600;700&family=Cabin:wght@400;500;600&family=DM+Mono:wght@400;500&display=swap"
2261
+ },
2262
+ {
2263
+ id: "cinzel-cormorant",
2264
+ name: "Luxury",
2265
+ heading: "'Cinzel', serif",
2266
+ body: "'Cormorant Garamond', serif",
2267
+ mono: "'Inconsolata', monospace",
2268
+ googleFontsUrl: "https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Cormorant+Garamond:wght@400;500;600&family=Inconsolata:wght@400;500&display=swap"
2269
+ }
2270
+ ];
2271
+ function getFontPairingById(id) {
2272
+ return FONT_PAIRINGS.find((f) => f.id === id) ?? FONT_PAIRINGS[0];
2273
+ }
322
2274
  export {
2275
+ DARK_THEME,
2276
+ FONT_PAIRINGS,
323
2277
  FiasBridge,
324
2278
  FiasProvider,
2279
+ LIGHT_THEME,
2280
+ THEME_CATALOG,
325
2281
  fias,
326
2282
  getBridge,
2283
+ getDefaultTheme,
2284
+ getFontPairingById,
2285
+ getThemeById,
327
2286
  resetBridge,
328
2287
  useEntityInvocation,
329
2288
  useFiasNavigation,
330
2289
  useFiasStorage,
331
2290
  useFiasTheme,
332
- useFiasUser
2291
+ useFiasUser,
2292
+ usePersistentState,
2293
+ useStepNavigation
333
2294
  };