lucent-ui 0.34.0 → 0.36.0

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 (26) hide show
  1. package/dist/{LucentProvider-BoiXYqA4.js → LucentProvider-F0EN_7TD.js} +292 -269
  2. package/dist/LucentProvider-LqNc0AxD.cjs +109 -0
  3. package/dist/devtools.cjs +3 -3
  4. package/dist/devtools.js +423 -405
  5. package/dist/index.cjs +34 -32
  6. package/dist/index.d.ts +16 -13
  7. package/dist/index.js +947 -922
  8. package/dist-cli/cli/entry.js +0 -0
  9. package/dist-cli/cli/index.js +0 -0
  10. package/dist-server/server/index.js +0 -0
  11. package/dist-server/src/components/atoms/CodeBlock/CodeBlock.manifest.js +14 -0
  12. package/dist-server/src/components/molecules/Card/Card.manifest.js +1 -1
  13. package/dist-server/src/components/molecules/PageLayout/PageLayout.manifest.js +6 -5
  14. package/package.json +13 -15
  15. package/dist/LucentProvider-we0nRXn-.cjs +0 -109
  16. package/dist-server/server/recipe-registry.js +0 -18
  17. package/dist-server/src/manifest/recipes/action-bar.recipe.js +0 -91
  18. package/dist-server/src/manifest/recipes/collapsible-card.recipe.js +0 -100
  19. package/dist-server/src/manifest/recipes/empty-state-card.recipe.js +0 -72
  20. package/dist-server/src/manifest/recipes/form-layout.recipe.js +0 -98
  21. package/dist-server/src/manifest/recipes/index.js +0 -8
  22. package/dist-server/src/manifest/recipes/profile-card.recipe.js +0 -101
  23. package/dist-server/src/manifest/recipes/search-filter-bar.recipe.js +0 -122
  24. package/dist-server/src/manifest/recipes/settings-panel.recipe.js +0 -167
  25. package/dist-server/src/manifest/recipes/stats-row.recipe.js +0 -106
  26. package/dist-server/src/manifest/validate.test.js +0 -28
@@ -1,7 +1,7 @@
1
- import { jsxs as I, jsx as p, Fragment as _e } from "react/jsx-runtime";
2
- import { forwardRef as xe, useState as C, useRef as U, useEffect as ne, useLayoutEffect as me, useId as Ve, useCallback as ue, useContext as vt, createContext as yt } from "react";
3
- import { createPortal as wt } from "react-dom";
4
- const kt = {
1
+ import { jsxs as I, jsx as p, Fragment as Ve } from "react/jsx-runtime";
2
+ import { forwardRef as xe, useState as C, useRef as U, useEffect as ne, useLayoutEffect as me, useId as Ke, useCallback as ue, useContext as yt, createContext as wt } from "react";
3
+ import { createPortal as kt } from "react-dom";
4
+ const Dt = {
5
5
  primary: {
6
6
  background: "var(--lucent-accent-default)",
7
7
  color: "var(--lucent-accent-fg)",
@@ -37,13 +37,13 @@ const kt = {
37
37
  color: "var(--lucent-danger-text)",
38
38
  border: "1px solid transparent"
39
39
  }
40
- }, Dt = {
40
+ }, St = {
41
41
  "2xs": { height: "22px", padding: "0 var(--lucent-space-2)", fontSize: "var(--lucent-font-size-xs)", borderRadius: "var(--lucent-radius-md)" },
42
42
  xs: { height: "26px", padding: "0 var(--lucent-space-3)", fontSize: "var(--lucent-font-size-xs)" },
43
43
  sm: { height: "calc(var(--lucent-space-8) * 0.5 + 18px)", padding: "0 var(--lucent-space-4)", fontSize: "var(--lucent-font-size-sm)" },
44
44
  md: { height: "calc(var(--lucent-space-10) * 0.5 + 22px)", padding: "0 var(--lucent-space-5)", fontSize: "var(--lucent-font-size-md)" },
45
45
  lg: { height: "calc(var(--lucent-space-12) * 0.5 + 26px)", padding: "0 var(--lucent-space-6)", fontSize: "var(--lucent-font-size-lg)" }
46
- }, Ke = xe(
46
+ }, Ye = xe(
47
47
  ({ variant: e = "primary", size: t = "md", loading: s = !1, fullWidth: a = !1, spread: n = !1, leftIcon: r, rightIcon: o, chevron: c = !1, disableHoverStyles: u = !1, bordered: i = !0, children: d, disabled: g, style: h, ...f }, w) => {
48
48
  const S = g ?? s, k = !d && !s && (!!r || !!o);
49
49
  return /* @__PURE__ */ I(
@@ -69,9 +69,9 @@ const kt = {
69
69
  boxSizing: "border-box",
70
70
  outline: "none",
71
71
  margin: 0,
72
- ...Dt[t],
72
+ ...St[t],
73
73
  ...k && { padding: 0, aspectRatio: "1" },
74
- ...kt[e],
74
+ ...Dt[e],
75
75
  ...h,
76
76
  ...S && {
77
77
  background: "color-mix(in srgb, var(--lucent-text-primary) 6%, transparent)",
@@ -83,11 +83,11 @@ const kt = {
83
83
  },
84
84
  onMouseEnter: (v) => {
85
85
  var b;
86
- !S && !u && Mt(v.currentTarget, e, i), (b = f.onMouseEnter) == null || b.call(f, v);
86
+ !S && !u && zt(v.currentTarget, e, i), (b = f.onMouseEnter) == null || b.call(f, v);
87
87
  },
88
88
  onMouseLeave: (v) => {
89
89
  var b;
90
- !S && !u && zt(v.currentTarget, e, i), (b = f.onMouseLeave) == null || b.call(f, v);
90
+ !S && !u && Tt(v.currentTarget, e, i), (b = f.onMouseLeave) == null || b.call(f, v);
91
91
  },
92
92
  onMouseDown: (v) => {
93
93
  var b;
@@ -112,16 +112,16 @@ const kt = {
112
112
  ...f,
113
113
  children: [
114
114
  r,
115
- s ? /* @__PURE__ */ p(Bt, {}) : d,
115
+ s ? /* @__PURE__ */ p($t, {}) : d,
116
116
  !s && o,
117
- !s && c && /* @__PURE__ */ p(It, { size: t })
117
+ !s && c && /* @__PURE__ */ p(Bt, { size: t })
118
118
  ]
119
119
  }
120
120
  );
121
121
  }
122
122
  );
123
- Ke.displayName = "Button";
124
- const St = {
123
+ Ye.displayName = "Button";
124
+ const Mt = {
125
125
  primary: "0 4px 14px -2px color-mix(in srgb, var(--lucent-accent-default) 25%, transparent)",
126
126
  secondary: "0 4px 14px -2px color-mix(in srgb, var(--lucent-accent-default) 20%, transparent)",
127
127
  outline: "0 4px 14px -2px color-mix(in srgb, var(--lucent-accent-default) 20%, transparent)",
@@ -130,24 +130,24 @@ const St = {
130
130
  "danger-outline": "0 4px 14px -2px color-mix(in srgb, var(--lucent-danger-default) 20%, transparent)",
131
131
  "danger-ghost": "0 4px 14px -2px color-mix(in srgb, var(--lucent-danger-default) 15%, transparent)"
132
132
  };
133
- function Mt(e, t, s) {
134
- e.style.transform = "translateY(-1px)", e.style.boxShadow = St[t], t === "primary" ? e.style.background = "var(--lucent-accent-hover)" : t === "secondary" ? e.style.background = "color-mix(in srgb, var(--lucent-accent-default) 22%, transparent)" : t === "outline" ? e.style.background = "color-mix(in srgb, var(--lucent-accent-default) 10%, transparent)" : t === "ghost" ? e.style.background = "color-mix(in srgb, var(--lucent-accent-default) 8%, transparent)" : t === "danger" ? (e.style.background = "var(--lucent-danger-hover)", s !== !1 && (e.style.borderColor = "var(--lucent-danger-hover)")) : t === "danger-outline" ? (e.style.background = "color-mix(in srgb, var(--lucent-danger-default) 10%, var(--lucent-surface))", s !== !1 && (e.style.borderColor = "var(--lucent-danger-hover)")) : t === "danger-ghost" && (e.style.background = "color-mix(in srgb, var(--lucent-danger-default) 8%, var(--lucent-surface))");
135
- }
136
133
  function zt(e, t, s) {
134
+ e.style.transform = "translateY(-1px)", e.style.boxShadow = Mt[t], t === "primary" ? e.style.background = "var(--lucent-accent-hover)" : t === "secondary" ? e.style.background = "color-mix(in srgb, var(--lucent-accent-default) 22%, transparent)" : t === "outline" ? e.style.background = "color-mix(in srgb, var(--lucent-accent-default) 10%, transparent)" : t === "ghost" ? e.style.background = "color-mix(in srgb, var(--lucent-accent-default) 8%, transparent)" : t === "danger" ? (e.style.background = "var(--lucent-danger-hover)", s !== !1 && (e.style.borderColor = "var(--lucent-danger-hover)")) : t === "danger-outline" ? (e.style.background = "color-mix(in srgb, var(--lucent-danger-default) 10%, var(--lucent-surface))", s !== !1 && (e.style.borderColor = "var(--lucent-danger-hover)")) : t === "danger-ghost" && (e.style.background = "color-mix(in srgb, var(--lucent-danger-default) 8%, var(--lucent-surface))");
135
+ }
136
+ function Tt(e, t, s) {
137
137
  e.style.transform = "", e.style.boxShadow = "", t === "primary" ? e.style.background = "var(--lucent-accent-default)" : t === "secondary" ? e.style.background = "color-mix(in srgb, var(--lucent-accent-default) 16%, transparent)" : t === "outline" || t === "ghost" ? e.style.background = "transparent" : t === "danger" ? (e.style.background = "var(--lucent-danger-default)", s !== !1 && (e.style.borderColor = "var(--lucent-danger-default)")) : t === "danger-outline" ? (e.style.background = "transparent", s !== !1 && (e.style.borderColor = "var(--lucent-danger-default)")) : t === "danger-ghost" && (e.style.background = "transparent");
138
138
  }
139
- const Tt = { "2xs": 8, xs: 10, sm: 12, md: 14, lg: 16 };
140
- function It({ size: e }) {
141
- const t = Tt[e];
139
+ const It = { "2xs": 8, xs: 10, sm: 12, md: 14, lg: 16 };
140
+ function Bt({ size: e }) {
141
+ const t = It[e];
142
142
  return /* @__PURE__ */ p("svg", { width: t, height: t, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2.5, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, style: { flexShrink: 0, marginLeft: -2 }, children: /* @__PURE__ */ p("polyline", { points: "6 9 12 15 18 9" }) });
143
143
  }
144
- function Bt() {
144
+ function $t() {
145
145
  return /* @__PURE__ */ I("svg", { width: 14, height: 14, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2.5, strokeLinecap: "round", "aria-hidden": !0, style: { animation: "lucent-spin 0.7s linear infinite", flexShrink: 0 }, children: [
146
146
  /* @__PURE__ */ p("style", { children: "@keyframes lucent-spin { to { transform: rotate(360deg); } }" }),
147
147
  /* @__PURE__ */ p("path", { d: "M12 2a10 10 0 0 1 10 10" })
148
148
  ] });
149
149
  }
150
- const $t = {
150
+ const Rt = {
151
151
  sm: "calc(var(--lucent-space-8) * 0.5 + 16px)",
152
152
  md: "calc(var(--lucent-space-10) * 0.5 + 20px)",
153
153
  lg: "calc(var(--lucent-space-12) * 0.5 + 24px)"
@@ -211,7 +211,7 @@ const $t = {
211
211
  style: {
212
212
  display: "flex",
213
213
  alignItems: "stretch",
214
- height: $t[e],
214
+ height: Rt[e],
215
215
  border: `1px solid ${m}`,
216
216
  borderRadius: "var(--lucent-radius-lg)",
217
217
  boxShadow: D,
@@ -311,19 +311,19 @@ const $t = {
311
311
  }
312
312
  );
313
313
  te.displayName = "Input";
314
- const Rt = {
314
+ const Lt = {
315
315
  neutral: { bg: "var(--lucent-surface-secondary)", color: "var(--lucent-text-secondary)", border: "var(--lucent-border-default)" },
316
316
  accent: { bg: "var(--lucent-accent-default)", color: "var(--lucent-accent-fg)", border: "var(--lucent-accent-default)" },
317
317
  success: { bg: "var(--lucent-success-subtle)", color: "var(--lucent-success-text)", border: "var(--lucent-success-subtle)" },
318
318
  warning: { bg: "var(--lucent-warning-subtle)", color: "var(--lucent-warning-text)", border: "var(--lucent-warning-subtle)" },
319
319
  danger: { bg: "var(--lucent-danger-subtle)", color: "var(--lucent-danger-text)", border: "var(--lucent-danger-subtle)" },
320
320
  info: { bg: "var(--lucent-info-subtle)", color: "var(--lucent-info-text)", border: "var(--lucent-info-subtle)" }
321
- }, Lt = {
321
+ }, Ct = {
322
322
  sm: { fontSize: "var(--lucent-font-size-xs)", padding: "0 var(--lucent-space-2)", height: "18px" },
323
323
  md: { fontSize: "var(--lucent-font-size-sm)", padding: "0 var(--lucent-space-2)", height: "22px" }
324
324
  };
325
325
  function on({ variant: e = "neutral", size: t = "md", dot: s = !1, children: a, style: n }) {
326
- const r = Rt[e], o = Lt[t];
326
+ const r = Lt[e], o = Ct[t];
327
327
  return /* @__PURE__ */ I("span", { style: {
328
328
  display: "inline-flex",
329
329
  alignItems: "center",
@@ -352,11 +352,11 @@ function on({ variant: e = "neutral", size: t = "md", dot: s = !1, children: a,
352
352
  a
353
353
  ] });
354
354
  }
355
- const Ct = { sm: "calc(var(--lucent-space-8) * 0.5 + 16px)", md: "calc(var(--lucent-space-10) * 0.5 + 20px)", lg: "calc(var(--lucent-space-12) * 0.5 + 24px)" }, Ft = {
355
+ const Ft = { sm: "calc(var(--lucent-space-8) * 0.5 + 16px)", md: "calc(var(--lucent-space-10) * 0.5 + 20px)", lg: "calc(var(--lucent-space-12) * 0.5 + 24px)" }, Pt = {
356
356
  sm: { track: [28, 16], thumb: 12 },
357
357
  md: { track: [36, 20], thumb: 16 },
358
358
  lg: { track: [44, 24], thumb: 20 }
359
- }, He = "cubic-bezier(0.34, 1.56, 0.64, 1)", Pt = `
359
+ }, He = "cubic-bezier(0.34, 1.56, 0.64, 1)", Wt = `
360
360
  @keyframes lucent-toggle-pop {
361
361
  0% { transform: scale(1); }
362
362
  35% { transform: scale(0.94); }
@@ -386,7 +386,7 @@ function ln({
386
386
  return () => clearTimeout(E);
387
387
  }
388
388
  }, [k, c]);
389
- const { track: [X, O], thumb: A } = Ft[t], N = k ? X - A - 2 : 2, Z = (E) => {
389
+ const { track: [X, O], thumb: A } = Pt[t], N = k ? X - A - 2 : 2, Z = (E) => {
390
390
  f || S(E.target.checked), i == null || i(E);
391
391
  }, K = /* @__PURE__ */ I(
392
392
  "span",
@@ -478,15 +478,15 @@ function ln({
478
478
  ]
479
479
  }
480
480
  );
481
- return /* @__PURE__ */ I(_e, { children: [
482
- /* @__PURE__ */ p("style", { children: Pt }),
481
+ return /* @__PURE__ */ I(Ve, { children: [
482
+ /* @__PURE__ */ p("style", { children: Wt }),
483
483
  n ? /* @__PURE__ */ p(
484
484
  "div",
485
485
  {
486
486
  style: {
487
487
  border: "1px solid var(--lucent-border-strong)",
488
488
  borderRadius: "var(--lucent-radius-lg)",
489
- ...r ? { padding: "var(--lucent-space-3)" } : { minHeight: Ct[t], padding: "0 var(--lucent-space-3)", display: "flex", alignItems: "center" },
489
+ ...r ? { padding: "var(--lucent-space-3)" } : { minHeight: Ft[t], padding: "0 var(--lucent-space-3)", display: "flex", alignItems: "center" },
490
490
  background: k && !c ? "color-mix(in srgb, var(--lucent-text-primary) 6%, transparent)" : "transparent",
491
491
  transition: "border-color var(--lucent-duration-fast) var(--lucent-easing-default), background var(--lucent-duration-fast) var(--lucent-easing-default)",
492
492
  cursor: c ? "not-allowed" : "pointer",
@@ -503,11 +503,11 @@ function ln({
503
503
  ) : $
504
504
  ] });
505
505
  }
506
- const Wt = {
506
+ const Ht = {
507
507
  sm: "calc(var(--lucent-space-8) * 0.5 + 16px)",
508
508
  md: "calc(var(--lucent-space-10) * 0.5 + 20px)",
509
509
  lg: "calc(var(--lucent-space-12) * 0.5 + 24px)"
510
- }, Ht = {
510
+ }, Nt = {
511
511
  sm: "var(--lucent-font-size-sm)",
512
512
  md: "var(--lucent-font-size-md)",
513
513
  lg: "var(--lucent-font-size-md)"
@@ -519,7 +519,7 @@ const Wt = {
519
519
  sm: "var(--lucent-space-2)",
520
520
  md: "var(--lucent-space-3)",
521
521
  lg: "var(--lucent-space-3)"
522
- }, Ye = xe(
522
+ }, Ze = xe(
523
523
  ({ options: e, size: t = "md", label: s, helperText: a, errorText: n, placeholder: r, disabled: o, id: c, style: u, ...i }, d) => {
524
524
  const g = c ?? `lucent-select-${Math.random().toString(36).slice(2, 7)}`, h = !!n, f = !!o, [w, S] = C(!1), [k, v] = C(!1), b = f ? "transparent" : h ? "var(--lucent-danger-default)" : w ? "var(--lucent-accent-border)" : k ? "var(--lucent-border-strong)" : "var(--lucent-border-default)", m = w ? `0 0 0 3px ${h ? "var(--lucent-danger-subtle)" : "var(--lucent-accent-subtle)"}` : "none";
525
525
  return /* @__PURE__ */ I("div", { style: { display: "flex", flexDirection: "column", gap: "var(--lucent-space-1)", width: "100%", ...u }, children: [
@@ -543,7 +543,7 @@ const Wt = {
543
543
  position: "relative",
544
544
  display: "flex",
545
545
  alignItems: "center",
546
- height: Wt[t],
546
+ height: Ht[t],
547
547
  border: `1px solid ${b}`,
548
548
  borderRadius: "var(--lucent-radius-lg)",
549
549
  boxShadow: m,
@@ -571,7 +571,7 @@ const Wt = {
571
571
  width: "100%",
572
572
  height: "100%",
573
573
  padding: `0 var(--lucent-space-8) 0 ${Ne[t]}`,
574
- fontSize: Ht[t],
574
+ fontSize: Nt[t],
575
575
  fontFamily: "var(--lucent-font-family-base)",
576
576
  color: f ? "var(--lucent-text-disabled)" : "var(--lucent-text-primary)",
577
577
  background: "transparent",
@@ -646,8 +646,8 @@ const Wt = {
646
646
  ] });
647
647
  }
648
648
  );
649
- Ye.displayName = "Select";
650
- const Nt = {
649
+ Ze.displayName = "Select";
650
+ const Et = {
651
651
  primary: "var(--lucent-text-primary)",
652
652
  secondary: "var(--lucent-text-secondary)",
653
653
  disabled: "var(--lucent-text-disabled)",
@@ -657,7 +657,7 @@ const Nt = {
657
657
  warning: "var(--lucent-warning-text)",
658
658
  danger: "var(--lucent-danger-text)",
659
659
  info: "var(--lucent-info-text)"
660
- }, Et = {
660
+ }, At = {
661
661
  xs: "var(--lucent-font-size-xs)",
662
662
  sm: "var(--lucent-font-size-sm)",
663
663
  md: "var(--lucent-font-size-md)",
@@ -665,16 +665,16 @@ const Nt = {
665
665
  xl: "var(--lucent-font-size-xl)",
666
666
  "2xl": "var(--lucent-font-size-2xl)",
667
667
  "3xl": "var(--lucent-font-size-3xl)"
668
- }, At = {
668
+ }, Ot = {
669
669
  regular: "var(--lucent-font-weight-regular)",
670
670
  medium: "var(--lucent-font-weight-medium)",
671
671
  semibold: "var(--lucent-font-weight-semibold)",
672
672
  bold: "var(--lucent-font-weight-bold)"
673
- }, Ot = {
673
+ }, Xt = {
674
674
  tight: "var(--lucent-line-height-tight)",
675
675
  base: "var(--lucent-line-height-base)",
676
676
  relaxed: "var(--lucent-line-height-relaxed)"
677
- }, Xt = {
677
+ }, jt = {
678
678
  base: "var(--lucent-font-family-base)",
679
679
  mono: "var(--lucent-font-family-mono)",
680
680
  display: "var(--lucent-font-family-display)"
@@ -693,12 +693,12 @@ function cn({
693
693
  ...d
694
694
  }) {
695
695
  const g = {
696
- fontSize: Et[t],
697
- fontWeight: At[s],
698
- color: Nt[a],
696
+ fontSize: At[t],
697
+ fontWeight: Ot[s],
698
+ color: Et[a],
699
699
  ...n !== void 0 && { textAlign: n },
700
- lineHeight: Ot[r],
701
- fontFamily: Xt[o],
700
+ lineHeight: Xt[r],
701
+ fontFamily: jt[o],
702
702
  margin: 0,
703
703
  ...c && {
704
704
  overflow: "hidden",
@@ -709,7 +709,7 @@ function cn({
709
709
  };
710
710
  return /* @__PURE__ */ p(e, { style: g, ...d, children: u });
711
711
  }
712
- const jt = { sm: "3px", md: "4px", lg: "5px" }, Ut = { sm: "14px", md: "18px", lg: "22px" }, qt = `
712
+ const Ut = { sm: "3px", md: "4px", lg: "5px" }, qt = { sm: "14px", md: "18px", lg: "22px" }, Gt = `
713
713
  .lucent-slider {
714
714
  -webkit-appearance: none;
715
715
  appearance: none;
@@ -823,8 +823,8 @@ function un({
823
823
  ), v = w ? o : S, b = `${(v - a) / (n - a) * 100}%`, m = (D) => {
824
824
  w || k(Number(D.target.value)), d == null || d(D);
825
825
  };
826
- return /* @__PURE__ */ I(_e, { children: [
827
- /* @__PURE__ */ p("style", { children: qt }),
826
+ return /* @__PURE__ */ I(Ve, { children: [
827
+ /* @__PURE__ */ p("style", { children: Gt }),
828
828
  /* @__PURE__ */ I(
829
829
  "div",
830
830
  {
@@ -886,8 +886,8 @@ function un({
886
886
  value: w ? o : S,
887
887
  onChange: m,
888
888
  style: {
889
- "--ls-track-h": jt[s],
890
- "--ls-thumb": Ut[s],
889
+ "--ls-track-h": Ut[s],
890
+ "--ls-thumb": qt[s],
891
891
  "--ls-fill": b
892
892
  },
893
893
  ...h
@@ -902,16 +902,16 @@ const Ee = {
902
902
  sm: "calc(var(--lucent-space-8) * 0.5 + 18px)",
903
903
  md: "calc(var(--lucent-space-10) * 0.5 + 22px)",
904
904
  lg: "calc(var(--lucent-space-12) * 0.5 + 26px)"
905
- }, Gt = {
905
+ }, _t = {
906
906
  sm: "var(--lucent-font-size-sm)",
907
907
  md: "var(--lucent-font-size-md)",
908
908
  lg: "var(--lucent-font-size-lg)"
909
- }, _t = {
909
+ }, Vt = {
910
910
  sm: "var(--lucent-space-3)",
911
911
  md: "var(--lucent-space-4)",
912
912
  lg: "var(--lucent-space-5)"
913
913
  };
914
- function Ze({
914
+ function Je({
915
915
  options: e,
916
916
  value: t,
917
917
  defaultValue: s,
@@ -1005,8 +1005,8 @@ function Ze({
1005
1005
  gap: "var(--lucent-space-1)",
1006
1006
  flex: 1,
1007
1007
  height: Ee[n],
1008
- padding: `0 ${_t[n]}`,
1009
- fontSize: Gt[n],
1008
+ padding: `0 ${Vt[n]}`,
1009
+ fontSize: _t[n],
1010
1010
  fontFamily: "var(--lucent-font-family-base)",
1011
1011
  fontWeight: m ? "var(--lucent-font-weight-medium)" : "var(--lucent-font-weight-regular)",
1012
1012
  color: D ? "var(--lucent-text-disabled)" : m ? "var(--lucent-text-primary)" : "var(--lucent-text-secondary)",
@@ -1036,23 +1036,23 @@ function Ze({
1036
1036
  }
1037
1037
  );
1038
1038
  }
1039
- Ze.displayName = "SegmentedControl";
1040
- const Vt = {
1039
+ Je.displayName = "SegmentedControl";
1040
+ const Kt = {
1041
1041
  xs: 12,
1042
1042
  sm: 16,
1043
1043
  md: 22,
1044
1044
  lg: 28,
1045
1045
  xl: 36,
1046
1046
  "2xl": 48
1047
- }, Kt = {
1047
+ }, Yt = {
1048
1048
  xs: "var(--lucent-radius-sm)",
1049
1049
  sm: "var(--lucent-radius-sm)",
1050
1050
  md: "var(--lucent-radius-md)",
1051
1051
  lg: "var(--lucent-radius-md)",
1052
1052
  xl: "var(--lucent-radius-lg)",
1053
1053
  "2xl": "var(--lucent-radius-lg)"
1054
- }, Ae = "inset 0 0 0 1px rgba(0,0,0,0.2)", Oe = "inset 0 0 0 2px rgba(0,0,0,0.5)", Yt = "inset 0 0 0 1px rgba(0,0,0,0.2), 0 0 0 3px var(--lucent-accent-subtle)";
1055
- function Zt(e) {
1054
+ }, Ae = "inset 0 0 0 1px rgba(0,0,0,0.2)", Oe = "inset 0 0 0 2px rgba(0,0,0,0.5)", Zt = "inset 0 0 0 1px rgba(0,0,0,0.2), 0 0 0 3px var(--lucent-accent-subtle)";
1055
+ function Jt(e) {
1056
1056
  return {
1057
1057
  backgroundImage: [
1058
1058
  `linear-gradient(${e}, ${e})`,
@@ -1079,7 +1079,7 @@ const de = xe(({
1079
1079
  onClick: i,
1080
1080
  ...d
1081
1081
  }, g) => {
1082
- const h = Vt[t], f = s === "circle" ? "50%" : Kt[t];
1082
+ const h = Kt[t], f = s === "circle" ? "50%" : Yt[t];
1083
1083
  return /* @__PURE__ */ p(
1084
1084
  "button",
1085
1085
  {
@@ -1091,7 +1091,7 @@ const de = xe(({
1091
1091
  width: h,
1092
1092
  height: h,
1093
1093
  flexShrink: 0,
1094
- ...a ? Zt(e) : { background: e },
1094
+ ...a ? Jt(e) : { background: e },
1095
1095
  border: "none",
1096
1096
  borderRadius: f,
1097
1097
  cursor: r ? "not-allowed" : i ? "pointer" : "default",
@@ -1103,7 +1103,7 @@ const de = xe(({
1103
1103
  ...o
1104
1104
  },
1105
1105
  onFocus: (w) => {
1106
- r || (w.currentTarget.style.boxShadow = Yt), c == null || c(w);
1106
+ r || (w.currentTarget.style.boxShadow = Zt), c == null || c(w);
1107
1107
  },
1108
1108
  onBlur: (w) => {
1109
1109
  w.currentTarget.style.boxShadow = n ? Oe : Ae, u == null || u(w);
@@ -1116,17 +1116,17 @@ de.displayName = "ColorSwatch";
1116
1116
  function pe(e, t, s) {
1117
1117
  return Math.max(t, Math.min(s, e));
1118
1118
  }
1119
- function Jt(e, t, s) {
1119
+ function Qt(e, t, s) {
1120
1120
  const a = t / 100, n = s / 100, r = n * a, o = r * (1 - Math.abs(e / 60 % 2 - 1)), c = n - r;
1121
1121
  let u = 0, i = 0, d = 0;
1122
1122
  return e < 60 ? (u = r, i = o) : e < 120 ? (u = o, i = r) : e < 180 ? (i = r, d = o) : e < 240 ? (i = o, d = r) : e < 300 ? (u = o, d = r) : (u = r, d = o), { r: Math.round((u + c) * 255), g: Math.round((i + c) * 255), b: Math.round((d + c) * 255) };
1123
1123
  }
1124
- function Qt(e, t, s) {
1124
+ function ea(e, t, s) {
1125
1125
  const a = e / 255, n = t / 255, r = s / 255, o = Math.max(a, n, r), c = Math.min(a, n, r), u = o - c, i = o, d = o === 0 ? 0 : u / o;
1126
1126
  let g = 0;
1127
1127
  return u !== 0 && (o === a ? g = ((n - r) / u + (n < r ? 6 : 0)) / 6 : o === n ? g = ((r - a) / u + 2) / 6 : g = ((a - n) / u + 4) / 6), { h: Math.round(g * 360), s: Math.round(d * 100), v: Math.round(i * 100) };
1128
1128
  }
1129
- function ea(e, t, s) {
1129
+ function ta(e, t, s) {
1130
1130
  const a = e / 255, n = t / 255, r = s / 255, o = Math.max(a, n, r), c = Math.min(a, n, r), u = (o + c) / 2;
1131
1131
  if (o === c) return { h: 0, s: 0, l: Math.round(u * 100) };
1132
1132
  const i = o - c, d = u > 0.5 ? i / (2 - o - c) : i / (o + c);
@@ -1142,7 +1142,7 @@ function Le(e) {
1142
1142
  const t = e.replace("#", "");
1143
1143
  return t.length === 3 ? `#${t[0]}${t[0]}${t[1]}${t[1]}${t[2]}${t[2]}` : t.length === 6 || t.length === 8 ? `#${t}` : "#000000";
1144
1144
  }
1145
- function Je(e) {
1145
+ function Qe(e) {
1146
1146
  const t = Le(e);
1147
1147
  return {
1148
1148
  r: parseInt(t.slice(1, 3), 16),
@@ -1155,20 +1155,20 @@ function $e({ r: e, g: t, b: s, a }) {
1155
1155
  const n = (o) => pe(Math.round(o), 0, 255).toString(16).padStart(2, "0"), r = `#${n(e)}${n(t)}${n(s)}`;
1156
1156
  return a < 1 ? `${r}${n(Math.round(a * 255))}` : r;
1157
1157
  }
1158
- function Qe({ h: e, s: t, v: s, a }) {
1159
- return { ...Jt(e, t, s), a };
1158
+ function et({ h: e, s: t, v: s, a }) {
1159
+ return { ...Qt(e, t, s), a };
1160
1160
  }
1161
1161
  function q({ r: e, g: t, b: s, a }) {
1162
- return { ...Qt(e, t, s), a };
1162
+ return { ...ea(e, t, s), a };
1163
1163
  }
1164
1164
  function oe(e) {
1165
- return $e(Qe(e));
1165
+ return $e(et(e));
1166
1166
  }
1167
1167
  function le(e) {
1168
1168
  const t = e.trim();
1169
1169
  if (t.startsWith("#")) {
1170
1170
  const n = Le(t);
1171
- return /^#[0-9a-f]{6}([0-9a-f]{2})?$/i.test(n) ? Je(n) : null;
1171
+ return /^#[0-9a-f]{6}([0-9a-f]{2})?$/i.test(n) ? Qe(n) : null;
1172
1172
  }
1173
1173
  const s = t.match(/^rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})(?:\s*,\s*([\d.]+))?\s*\)$/);
1174
1174
  if (s) {
@@ -1182,7 +1182,7 @@ function le(e) {
1182
1182
  }
1183
1183
  return null;
1184
1184
  }
1185
- const ta = [
1185
+ const aa = [
1186
1186
  {
1187
1187
  label: "Presets",
1188
1188
  colors: [
@@ -1197,7 +1197,7 @@ const ta = [
1197
1197
  "#e11d48"
1198
1198
  ]
1199
1199
  }
1200
- ], aa = [
1200
+ ], na = [
1201
1201
  "linear-gradient(45deg, #c0c0c0 25%, transparent 25%)",
1202
1202
  "linear-gradient(-45deg, #c0c0c0 25%, transparent 25%)",
1203
1203
  "linear-gradient(45deg, transparent 75%, #c0c0c0 75%)",
@@ -1259,27 +1259,27 @@ function Xe({ value: e, min: t, max: s, onChange: a, trackStyle: n, formatToolti
1259
1259
  }
1260
1260
  );
1261
1261
  }
1262
- function na() {
1262
+ function ra() {
1263
1263
  return /* @__PURE__ */ I("svg", { width: 14, height: 14, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: [
1264
1264
  /* @__PURE__ */ p("path", { d: "M2 22l1-1h3l9-9" }),
1265
1265
  /* @__PURE__ */ p("path", { d: "M3 21v-3l9-9" }),
1266
1266
  /* @__PURE__ */ p("path", { d: "M15 6l3.4-3.4a2.1 2.1 0 1 1 3 3L18 9l.4.4a2.1 2.1 0 1 1-3 3l-3.8-3.8a2.1 2.1 0 1 1 3-3l.4.4Z" })
1267
1267
  ] });
1268
1268
  }
1269
- function ra({
1269
+ function sa({
1270
1270
  value: e,
1271
1271
  onChange: t,
1272
1272
  label: s,
1273
1273
  size: a = "md",
1274
1274
  inline: n = !1,
1275
1275
  disabled: r = !1,
1276
- presetGroups: o = ta,
1276
+ presetGroups: o = aa,
1277
1277
  portalContainer: c,
1278
1278
  id: u,
1279
1279
  style: i
1280
1280
  }) {
1281
1281
  var M, F;
1282
- const d = a === "sm" ? 24 : 40, g = Ve(), h = u ?? g, [f, w] = C(!1), [S, k] = C("hex"), [v, b] = C(0), [m, D] = C(() => {
1282
+ const d = a === "sm" ? 24 : 40, g = Ke(), h = u ?? g, [f, w] = C(!1), [S, k] = C("hex"), [v, b] = C(0), [m, D] = C(() => {
1283
1283
  const l = e ? le(e) ?? { r: 0, g: 0, b: 0, a: 1 } : { r: 0, g: 0, b: 0, a: 1 };
1284
1284
  return q(l);
1285
1285
  }), [L, X] = C(() => oe(m).slice(1).toUpperCase()), O = U(null), A = U(null), N = U(null), [Z, K] = C({ top: 0, left: 0 });
@@ -1320,7 +1320,7 @@ function ra({
1320
1320
  x && $(q(x));
1321
1321
  } catch {
1322
1322
  }
1323
- }, [$]), W = Qe(m), j = ea(W.r, W.g, W.b), ae = oe(m), Se = oe({ ...m, a: 1 }), Y = Math.round(m.a * 100), y = [
1323
+ }, [$]), W = et(m), j = ta(W.r, W.g, W.b), ae = oe(m), Se = oe({ ...m, a: 1 }), Y = Math.round(m.a * 100), y = [
1324
1324
  { id: "hex", label: "Hex" },
1325
1325
  { id: "rgb", label: "RGB" },
1326
1326
  { id: "hsl", label: "HSL" },
@@ -1383,7 +1383,7 @@ function ra({
1383
1383
  children: s
1384
1384
  }
1385
1385
  ),
1386
- f && wt(
1386
+ f && kt(
1387
1387
  /* @__PURE__ */ I(
1388
1388
  "div",
1389
1389
  {
@@ -1470,7 +1470,7 @@ function ra({
1470
1470
  /* @__PURE__ */ p("div", { style: {
1471
1471
  position: "absolute",
1472
1472
  inset: 0,
1473
- backgroundImage: aa,
1473
+ backgroundImage: na,
1474
1474
  backgroundSize: "8px 8px",
1475
1475
  backgroundPosition: "0 0, 0 4px, 4px -4px, -4px 0",
1476
1476
  backgroundColor: "#fff"
@@ -1491,7 +1491,7 @@ function ra({
1491
1491
  ] })
1492
1492
  ] }),
1493
1493
  /* @__PURE__ */ p(
1494
- Ze,
1494
+ Je,
1495
1495
  {
1496
1496
  size: "sm",
1497
1497
  value: S,
@@ -1501,14 +1501,14 @@ function ra({
1501
1501
  ),
1502
1502
  S === "hex" && /* @__PURE__ */ I("div", { style: { display: "flex", gap: 6, alignItems: "center" }, children: [
1503
1503
  /* @__PURE__ */ p(
1504
- Ke,
1504
+ Ye,
1505
1505
  {
1506
1506
  variant: "secondary",
1507
1507
  size: "sm",
1508
1508
  onClick: G,
1509
1509
  disabled: !R,
1510
1510
  title: R ? "Pick color from screen" : "Not supported in this browser",
1511
- leftIcon: /* @__PURE__ */ p(na, {}),
1511
+ leftIcon: /* @__PURE__ */ p(ra, {}),
1512
1512
  style: { flexShrink: 0, paddingLeft: 8, paddingRight: 8 }
1513
1513
  }
1514
1514
  ),
@@ -1519,12 +1519,13 @@ function ra({
1519
1519
  prefix: "#",
1520
1520
  value: L,
1521
1521
  onChange: (l) => {
1522
- const x = l.target.value.replace("#", "");
1523
- X(x.toUpperCase());
1524
- const T = le(`#${x}`);
1525
- if (T) {
1526
- const B = q(T);
1527
- D(B), t == null || t($e(T));
1522
+ const x = l.target.value.replace(/[^0-9a-fA-F]/g, "");
1523
+ if (X(x.toUpperCase()), /^[0-9a-f]{6}$/i.test(x) || /^[0-9a-f]{8}$/i.test(x)) {
1524
+ const T = le(`#${x}`);
1525
+ if (T) {
1526
+ const B = q(T);
1527
+ D(B), t == null || t($e(T));
1528
+ }
1528
1529
  }
1529
1530
  },
1530
1531
  spellCheck: !1,
@@ -1589,7 +1590,7 @@ function ra({
1589
1590
  }, className: "lucent-cp-field", style: { flex: 1 } }, l)) }),
1590
1591
  o.length > 0 && /* @__PURE__ */ I("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
1591
1592
  o.length > 1 && /* @__PURE__ */ p(
1592
- Ye,
1593
+ Ze,
1593
1594
  {
1594
1595
  size: "sm",
1595
1596
  value: String(v),
@@ -1610,7 +1611,7 @@ function ra({
1610
1611
  {
1611
1612
  color: l,
1612
1613
  selected: x,
1613
- onClick: () => $(q(Je(l)))
1614
+ onClick: () => $(q(Qe(l)))
1614
1615
  },
1615
1616
  l
1616
1617
  );
@@ -1626,7 +1627,7 @@ function ra({
1626
1627
  }
1627
1628
  );
1628
1629
  }
1629
- ra.displayName = "ColorPicker";
1630
+ sa.displayName = "ColorPicker";
1630
1631
  function dn({ tabs: e, defaultValue: t, value: s, onChange: a, variant: n = "underline", style: r }) {
1631
1632
  var Y;
1632
1633
  const o = s !== void 0, [c, u] = C(t ?? ((Y = e[0]) == null ? void 0 : Y.value) ?? ""), i = o ? s : c, [d, g] = C(null), h = U([]), [f, w] = C(null), S = U(!1), k = n === "pills", v = U(null), b = U(null), m = U(null), [D, L] = C(e.length), [X, O] = C(!1), [A, N] = C(!1), [Z, K] = C(null), $ = e.slice(0, D), E = e.slice(D), G = E.length > 0, W = E.some((y) => y.value === i), j = () => {
@@ -1911,17 +1912,17 @@ function dn({ tabs: e, defaultValue: t, value: s, onChange: a, variant: n = "und
1911
1912
  ))
1912
1913
  ] });
1913
1914
  }
1914
- const sa = {
1915
+ const oa = {
1915
1916
  fontFamilyBase: '"DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',
1916
1917
  fontFamilyMono: '"DM Mono", "Fira Code", "Cascadia Code", monospace',
1917
1918
  fontFamilyDisplay: '"Georama", "DM Sans", sans-serif',
1918
- fontSizeXs: "0.75rem",
1919
- fontSizeSm: "0.875rem",
1919
+ fontSizeXs: "0.79rem",
1920
+ fontSizeSm: "0.889rem",
1920
1921
  fontSizeMd: "1rem",
1921
1922
  fontSizeLg: "1.125rem",
1922
- fontSizeXl: "1.25rem",
1923
- fontSize2xl: "1.5rem",
1924
- fontSize3xl: "1.875rem",
1923
+ fontSizeXl: "1.266rem",
1924
+ fontSize2xl: "1.424rem",
1925
+ fontSize3xl: "1.602rem",
1925
1926
  fontWeightRegular: "400",
1926
1927
  fontWeightMedium: "500",
1927
1928
  fontWeightSemibold: "600",
@@ -1932,7 +1933,7 @@ const sa = {
1932
1933
  letterSpacingTight: "-0.02em",
1933
1934
  letterSpacingBase: "0em",
1934
1935
  letterSpacingWide: "0.04em"
1935
- }, oa = {
1936
+ }, la = {
1936
1937
  space0: "0px",
1937
1938
  space1: "0.25rem",
1938
1939
  space2: "0.5rem",
@@ -1946,53 +1947,54 @@ const sa = {
1946
1947
  space16: "4rem",
1947
1948
  space20: "5rem",
1948
1949
  space24: "6rem"
1949
- }, la = {
1950
+ }, ca = {
1950
1951
  radiusNone: "0px",
1951
1952
  radiusSm: "0.25rem",
1952
1953
  radiusMd: "0.375rem",
1953
1954
  radiusLg: "0.5rem",
1954
1955
  radiusXl: "0.75rem",
1955
1956
  radiusFull: "9999px"
1956
- }, ca = {
1957
+ }, ia = {
1957
1958
  durationFast: "100ms",
1958
1959
  durationBase: "200ms",
1959
1960
  durationSlow: "350ms",
1960
1961
  easingDefault: "cubic-bezier(0.4, 0, 0.2, 1)",
1961
1962
  easingEmphasized: "cubic-bezier(0.2, 0, 0, 1)",
1962
1963
  easingDecelerate: "cubic-bezier(0, 0, 0.2, 1)"
1963
- }, ia = {
1964
- shadowNone: "none",
1965
- shadowSm: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
1966
- shadowMd: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
1967
- shadowLg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
1968
- shadowXl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)"
1969
1964
  }, ua = {
1970
1965
  shadowNone: "none",
1971
- shadowSm: "inset 0 1px 0 0 rgba(255, 255, 255, 0.04), 0 1px 2px 0 rgba(0, 0, 0, 0.2)",
1972
- shadowMd: "inset 0 1px 0 0 rgba(255, 255, 255, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.25)",
1973
- shadowLg: "inset 0 1px 0 0 rgba(255, 255, 255, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.3)",
1974
- shadowXl: "inset 0 1px 0 0 rgba(255, 255, 255, 0.1), 0 8px 16px -4px rgba(0, 0, 0, 0.35)"
1966
+ shadowSm: "0 1px 2px rgb(0 0 0 / 0.12)",
1967
+ shadowMd: "0 2px 4px rgb(0 0 0 / 0.18)",
1968
+ shadowLg: "0 3px 8px rgb(0 0 0 / 0.18)",
1969
+ shadowXl: "0 5px 14px rgb(0 0 0 / 0.2)"
1970
+ }, da = {
1971
+ shadowNone: "none",
1972
+ shadowSm: "inset 0 1px 0 0 rgba(255, 255, 255, 0.04), 0 1px 2px rgba(0, 0, 0, 0.4)",
1973
+ shadowMd: "inset 0 1px 0 0 rgba(255, 255, 255, 0.06), 0 1px 4px rgba(0, 0, 0, 0.45)",
1974
+ shadowLg: "inset 0 1px 0 0 rgba(255, 255, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.45)",
1975
+ shadowXl: "inset 0 1px 0 0 rgba(255, 255, 255, 0.1), 0 4px 14px rgba(0, 0, 0, 0.5)"
1975
1976
  }, he = {
1976
- ...sa,
1977
1977
  ...oa,
1978
1978
  ...la,
1979
1979
  ...ca,
1980
1980
  ...ia,
1981
- // Backgrounds — page/layout layer only
1981
+ ...ua,
1982
+ // Navigation — chrome/shell (sidebar, header, footer)
1983
+ navigation: "#f4f6f8",
1984
+ // Backgrounds — main content area
1982
1985
  bgBase: "#ffffff",
1983
- bgSubtle: "#f9fafb",
1986
+ bgSubtle: "#fafafa",
1984
1987
  bgOverlay: "rgb(0 0 0 / 0.4)",
1985
1988
  // Surfaces — component elevation layer
1986
1989
  surface: "#ffffff",
1987
- surfaceSecondary: "#f3f4f6",
1990
+ surfaceSecondary: "#f5f5f5",
1988
1991
  surfaceRaised: "#ffffff",
1989
1992
  surfaceOverlay: "#ffffff",
1990
- surfaceTint: "#f2f2f2",
1991
- // adjustLightness(bgBase, -0.05) — derived when bgBase is customized
1993
+ surfaceTint: "#f5f5f5",
1992
1994
  // Borders
1993
1995
  borderDefault: "#e5e7eb",
1994
1996
  borderSubtle: "#f3f4f6",
1995
- borderStrong: "#9ca3af",
1997
+ borderStrong: "#979faf",
1996
1998
  controlTrack: "#d1d5db",
1997
1999
  // Text
1998
2000
  textPrimary: "#111827",
@@ -2000,14 +2002,11 @@ const sa = {
2000
2002
  textDisabled: "#d1d5db",
2001
2003
  textInverse: "#ffffff",
2002
2004
  // Accent (monochrome default — near-black for universal, high-contrast out of the box)
2003
- // Use `brandTokens` to opt in to the gold palette.
2004
2005
  accentDefault: "#111827",
2005
- accentHover: "#1f2937",
2006
- accentSubtle: "#f3f4f6",
2007
- // placeholder — actual value is recomputed in LucentProvider
2008
- accentBorder: "#111827",
2009
- accentFg: "#ffffff",
2010
- // auto-recomputed by LucentProvider via getContrastText
2006
+ accentHover: "#192339",
2007
+ accentSubtle: "#f1f3f9",
2008
+ accentBorder: "#000000",
2009
+ accentFg: "#f0f1f5",
2011
2010
  // Status
2012
2011
  successDefault: "#16a34a",
2013
2012
  successSubtle: "#f0fdf4",
@@ -2023,16 +2022,16 @@ const sa = {
2023
2022
  infoSubtle: "#eff6ff",
2024
2023
  infoText: "#1d4ed8"
2025
2024
  };
2026
- function da(e) {
2025
+ function fa(e) {
2027
2026
  const t = parseInt(e.slice(1, 3), 16), s = parseInt(e.slice(3, 5), 16), a = parseInt(e.slice(5, 7), 16);
2028
2027
  return { r: t, g: s, b: a };
2029
2028
  }
2030
- function fa({ r: e, g: t, b: s }) {
2029
+ function pa({ r: e, g: t, b: s }) {
2031
2030
  const a = (n) => n.toString(16).padStart(2, "0");
2032
2031
  return `#${a(e)}${a(t)}${a(s)}`;
2033
2032
  }
2034
2033
  function V(e) {
2035
- const { r: t, g: s, b: a } = da(e), n = t / 255, r = s / 255, o = a / 255, c = Math.max(n, r, o), u = Math.min(n, r, o);
2034
+ const { r: t, g: s, b: a } = fa(e), n = t / 255, r = s / 255, o = a / 255, c = Math.max(n, r, o), u = Math.min(n, r, o);
2036
2035
  let i = 0, d = 0;
2037
2036
  const g = (c + u) / 2;
2038
2037
  if (c !== u) {
@@ -2056,22 +2055,22 @@ function _(e, t, s) {
2056
2055
  e = (e % 360 + 360) % 360, t = Math.min(1, Math.max(0, t)), s = Math.min(1, Math.max(0, s));
2057
2056
  const a = (1 - Math.abs(2 * s - 1)) * t, n = a * (1 - Math.abs(e / 60 % 2 - 1)), r = s - a / 2;
2058
2057
  let o = 0, c = 0, u = 0;
2059
- return e < 60 ? (o = a, c = n) : e < 120 ? (o = n, c = a) : e < 180 ? (c = a, u = n) : e < 240 ? (c = n, u = a) : e < 300 ? (o = n, u = a) : (o = a, u = n), fa({ r: Math.round((o + r) * 255), g: Math.round((c + r) * 255), b: Math.round((u + r) * 255) });
2058
+ return e < 60 ? (o = a, c = n) : e < 120 ? (o = n, c = a) : e < 180 ? (c = a, u = n) : e < 240 ? (c = n, u = a) : e < 300 ? (o = n, u = a) : (o = a, u = n), pa({ r: Math.round((o + r) * 255), g: Math.round((c + r) * 255), b: Math.round((u + r) * 255) });
2060
2059
  }
2061
2060
  function z(e, t) {
2062
2061
  const [s, a, n] = V(e);
2063
2062
  return _(s, a, Math.min(1, Math.max(0, n + t)));
2064
2063
  }
2065
- const pa = 222, ga = 0.12;
2066
- function et(e, t) {
2067
- return t < 0.04 ? [pa, ga] : [e, t];
2064
+ const ga = 222, ba = 0.12;
2065
+ function tt(e, t) {
2066
+ return t < 0.04 ? [ga, ba] : [e, t];
2068
2067
  }
2069
- function ba(e) {
2070
- const [t, s, a] = V(e), [n, r] = et(t, s);
2068
+ function je(e) {
2069
+ const [t, s, a] = V(e), [n, r] = tt(t, s);
2071
2070
  return _(n, r, Math.max(0.04, Math.min(0.2, 0.07 + (1 - a))));
2072
2071
  }
2073
2072
  function Te(e) {
2074
- const [t, s, a] = V(e), [n, r] = et(t, s);
2073
+ const [t, s, a] = V(e), [n, r] = tt(t, s);
2075
2074
  return _(n, r, Math.max(0.06, Math.min(0.5, (1 - a) * 0.6 + 0.06)));
2076
2075
  }
2077
2076
  function Ie(e) {
@@ -2083,33 +2082,35 @@ function Be(e) {
2083
2082
  return _(t, s, Math.max(0.02, Math.min(0.98, 1 - a)));
2084
2083
  }
2085
2084
  function xa(e) {
2086
- const t = ba(e.bgBase), [s, a, n] = V(t), r = (o) => _(s, a, Math.min(0.25, n + o));
2085
+ const t = je(e.navigation), s = je(e.bgBase), [a, n, r] = V(s), o = (c) => _(a, n, Math.min(0.25, r + c));
2087
2086
  return {
2088
2087
  // ── Non-color tokens: carry over from light unchanged ──────────────────
2089
2088
  ...e,
2090
2089
  // ── Shadows: dark variants have higher opacity for visibility ───────────
2091
- ...ua,
2090
+ ...da,
2091
+ // ── Navigation ──────────────────────────────────────────────────────────
2092
+ navigation: t,
2092
2093
  // ── Backgrounds ─────────────────────────────────────────────────────────
2093
- bgBase: t,
2094
- bgSubtle: r(0.02),
2094
+ bgBase: s,
2095
+ bgSubtle: o(0.02),
2095
2096
  bgOverlay: "rgb(0 0 0 / 0.6)",
2096
2097
  // ── Surfaces: slight elevation steps above bgBase ────────────────────────
2097
- surface: r(0.02),
2098
- surfaceSecondary: r(0.05),
2099
- surfaceRaised: r(0.08),
2100
- surfaceOverlay: r(0.08),
2101
- surfaceTint: r(0.03),
2098
+ surface: o(0.02),
2099
+ surfaceSecondary: o(0.05),
2100
+ surfaceRaised: o(0.08),
2101
+ surfaceOverlay: o(0.08),
2102
+ surfaceTint: o(0.03),
2102
2103
  // ── Borders ──────────────────────────────────────────────────────────────
2103
2104
  borderDefault: Te(e.borderDefault),
2104
2105
  borderSubtle: Te(e.borderSubtle),
2105
2106
  borderStrong: Te(e.borderStrong),
2106
- controlTrack: r(0.1),
2107
+ controlTrack: o(0.1),
2107
2108
  // ── Text ─────────────────────────────────────────────────────────────────
2108
2109
  textPrimary: Ie(e.textPrimary),
2109
2110
  textSecondary: Ie(e.textSecondary),
2110
2111
  textDisabled: Ie(e.textDisabled),
2111
2112
  // textInverse flips to dark bg so it reads on light accent surfaces
2112
- textInverse: t,
2113
+ textInverse: s,
2113
2114
  // ── Accent ───────────────────────────────────────────────────────────────
2114
2115
  accentDefault: Be(e.accentDefault),
2115
2116
  accentHover: Be(e.accentHover),
@@ -2134,7 +2135,7 @@ function xa(e) {
2134
2135
  infoText: z(e.infoText, 0.15)
2135
2136
  };
2136
2137
  }
2137
- const tt = xa(he);
2138
+ const at = xa(he);
2138
2139
  function ma(e) {
2139
2140
  return "--lucent-" + e.replace(/([A-Z])/g, (t) => `-${t.toLowerCase()}`).replace(/([a-z])(\d)/g, (t, s, a) => `${s}-${a}`);
2140
2141
  }
@@ -2149,21 +2150,21 @@ function va(e) {
2149
2150
  const t = parseInt(e.slice(1, 3), 16) / 255, s = parseInt(e.slice(3, 5), 16) / 255, a = parseInt(e.slice(5, 7), 16) / 255, n = (r) => r <= 0.03928 ? r / 12.92 : Math.pow((r + 0.055) / 1.055, 2.4);
2150
2151
  return 0.2126 * n(t) + 0.7152 * n(s) + 0.0722 * n(a);
2151
2152
  }
2152
- const ya = 0.2126729, wa = 0.7151522, ka = 0.072175, Da = 0.56, Sa = 0.57, Ma = 0.65, za = 0.62, je = 0.022, Ta = 1.414, Ia = 1.14, Ba = 1.14, Ue = 0.027, qe = 0.027;
2153
- function Ge(e) {
2153
+ const ya = 0.2126729, wa = 0.7151522, ka = 0.072175, Da = 0.56, Sa = 0.57, Ma = 0.65, za = 0.62, Ue = 0.022, Ta = 1.414, Ia = 1.14, Ba = 1.14, qe = 0.027, Ge = 0.027;
2154
+ function _e(e) {
2154
2155
  const t = parseInt(e.slice(1, 3), 16) / 255, s = parseInt(e.slice(3, 5), 16) / 255, a = parseInt(e.slice(5, 7), 16) / 255, n = Math.pow(t, 2.4), r = Math.pow(s, 2.4), o = Math.pow(a, 2.4);
2155
2156
  let c = ya * n + wa * r + ka * o;
2156
- return c < 0 && (c = 0), c < je ? c + Math.pow(je - c, Ta) : c;
2157
+ return c < 0 && (c = 0), c < Ue ? c + Math.pow(Ue - c, Ta) : c;
2157
2158
  }
2158
2159
  function ge(e, t) {
2159
- const s = Ge(e), a = Ge(t);
2160
+ const s = _e(e), a = _e(t);
2160
2161
  let n;
2161
2162
  if (s > a) {
2162
2163
  const r = (Math.pow(s, Da) - Math.pow(a, Sa)) * Ia;
2163
- n = r < Ue ? 0 : r - Ue;
2164
+ n = r < qe ? 0 : r - qe;
2164
2165
  } else {
2165
2166
  const r = (Math.pow(s, Ma) - Math.pow(a, za)) * Ba;
2166
- n = r > -qe ? 0 : r + qe;
2167
+ n = r > -Ge ? 0 : r + Ge;
2167
2168
  }
2168
2169
  return n * 100;
2169
2170
  }
@@ -2171,7 +2172,7 @@ function $a(e) {
2171
2172
  const t = Math.abs(ge(e, "#ffffff")), s = Math.abs(ge(e, "#000000"));
2172
2173
  return t >= s ? "#ffffff" : "#000000";
2173
2174
  }
2174
- function at(e) {
2175
+ function nt(e) {
2175
2176
  const t = parseInt(e.slice(1, 3), 16) / 255, s = parseInt(e.slice(3, 5), 16) / 255, a = parseInt(e.slice(5, 7), 16) / 255, n = Math.max(t, s, a), r = Math.min(t, s, a);
2176
2177
  let o = 0, c = 0;
2177
2178
  if (n !== r) {
@@ -2224,7 +2225,7 @@ function ie(e, t) {
2224
2225
  const [s, a] = V(e);
2225
2226
  return _(s, a, t ? be.text.light : be.text.dark);
2226
2227
  }
2227
- function nt(e, t, s) {
2228
+ function rt(e, t, s) {
2228
2229
  const a = {}, n = s === "light";
2229
2230
  if ("borderDefault" in e && ("borderSubtle" in e || (a.borderSubtle = z(t.borderDefault, n ? 0.05 : -0.02)), "borderStrong" in e || (a.borderStrong = z(t.borderDefault, n ? -0.27 : 0.19))), "bgBase" in e && ("bgSubtle" in e || (a.bgSubtle = z(t.bgBase, n ? -0.02 : 0.02)), "surfaceTint" in e || (a.surfaceTint = z(t.bgBase, n ? -0.04 : 0.03)), !("surface" in e))) {
2230
2231
  const r = La(t.bgBase, n);
@@ -2232,18 +2233,19 @@ function nt(e, t, s) {
2232
2233
  }
2233
2234
  return "surface" in e && ("surfaceSecondary" in e || (a.surfaceSecondary = z(t.surface, n ? -0.04 : 0.03)), "surfaceRaised" in e || (a.surfaceRaised = z(t.surface, n ? 0 : 0.06)), "surfaceOverlay" in e || (a.surfaceOverlay = z(t.surface, n ? 0 : 0.06))), "textPrimary" in e && ("textSecondary" in e || (a.textSecondary = z(t.textPrimary, n ? 0.2 : -0.15)), "textDisabled" in e || (a.textDisabled = z(t.textPrimary, n ? 0.58 : -0.62))), "accentDefault" in e && ("accentHover" in e || (a.accentHover = z(t.accentDefault, n ? 0.05 : -0.07)), "accentSubtle" in e || (a.accentSubtle = z(t.accentDefault, n ? 0.85 : -0.6))), "successDefault" in e && ("successSubtle" in e || (a.successSubtle = ce(t.successDefault, n)), "successText" in e || (a.successText = ie(t.successDefault, n))), "warningDefault" in e && ("warningSubtle" in e || (a.warningSubtle = ce(t.warningDefault, n)), "warningText" in e || (a.warningText = ie(t.warningDefault, n))), "dangerDefault" in e && ("dangerHover" in e || (a.dangerHover = z(t.dangerDefault, n ? 0.05 : -0.07)), "dangerSubtle" in e || (a.dangerSubtle = ce(t.dangerDefault, n)), "dangerText" in e || (a.dangerText = ie(t.dangerDefault, n))), "infoDefault" in e && ("infoSubtle" in e || (a.infoSubtle = ce(t.infoDefault, n)), "infoText" in e || (a.infoText = ie(t.infoDefault, n))), a;
2234
2235
  }
2235
- function rt(e, t = "light") {
2236
- const a = { ...t === "dark" ? tt : he, ...e }, n = nt(e, a, t), r = t === "light" ? z(a.accentDefault, -0.15) : z(a.accentDefault, 0.15);
2236
+ function st(e, t = "light") {
2237
+ const a = { ...t === "dark" ? at : he, ...e }, n = rt(e, a, t), r = t === "light" ? z(a.accentDefault, -0.15) : z(a.accentDefault, 0.15);
2237
2238
  return {
2238
2239
  ...a,
2239
2240
  ...n,
2240
- accentFg: at(a.accentDefault),
2241
+ accentFg: nt(a.accentDefault),
2241
2242
  accentBorder: r
2242
2243
  };
2243
2244
  }
2244
- const st = {
2245
+ const ot = {
2245
2246
  name: "default",
2246
2247
  light: {
2248
+ navigation: "#f4f6f8",
2247
2249
  bgBase: "#ffffff",
2248
2250
  surface: "#ffffff",
2249
2251
  borderDefault: "#e5e7eb",
@@ -2254,7 +2256,8 @@ const st = {
2254
2256
  infoDefault: "#2563eb"
2255
2257
  },
2256
2258
  dark: {
2257
- bgBase: "#111318",
2259
+ navigation: "#0b0c12",
2260
+ bgBase: "#12131a",
2258
2261
  surface: "#181a20",
2259
2262
  borderDefault: "#2e3039",
2260
2263
  accentDefault: "#f9fafb",
@@ -2266,7 +2269,8 @@ const st = {
2266
2269
  }, Ca = {
2267
2270
  name: "brand",
2268
2271
  light: {
2269
- bgBase: "#fffefb",
2272
+ navigation: "#fffefb",
2273
+ bgBase: "#f2f0e8",
2270
2274
  surface: "#fffdf7",
2271
2275
  borderDefault: "#e8e3d6",
2272
2276
  accentDefault: "#e9c96b",
@@ -2276,6 +2280,7 @@ const st = {
2276
2280
  infoDefault: "#2563eb"
2277
2281
  },
2278
2282
  dark: {
2283
+ navigation: "#0c0b08",
2279
2284
  bgBase: "#151310",
2280
2285
  surface: "#1c1a15",
2281
2286
  borderDefault: "#33302a",
@@ -2288,7 +2293,8 @@ const st = {
2288
2293
  }, ve = {
2289
2294
  name: "indigo",
2290
2295
  light: {
2291
- bgBase: "#fdfcff",
2296
+ navigation: "#ffffff",
2297
+ bgBase: "#faf9fb",
2292
2298
  surface: "#faf9fe",
2293
2299
  borderDefault: "#e0dde9",
2294
2300
  accentDefault: "#6366f1",
@@ -2298,7 +2304,8 @@ const st = {
2298
2304
  infoDefault: "#2563eb"
2299
2305
  },
2300
2306
  dark: {
2301
- bgBase: "#12111a",
2307
+ navigation: "#09081a",
2308
+ bgBase: "#100e24",
2302
2309
  surface: "#191820",
2303
2310
  borderDefault: "#2e2d3a",
2304
2311
  accentDefault: "#818cf8",
@@ -2307,10 +2314,11 @@ const st = {
2307
2314
  dangerDefault: "#ef4444",
2308
2315
  infoDefault: "#3b82f6"
2309
2316
  }
2310
- }, ot = {
2317
+ }, lt = {
2311
2318
  name: "violet",
2312
2319
  light: {
2313
- bgBase: "#fdfcfe",
2320
+ navigation: "#f8f4ff",
2321
+ bgBase: "#eee8fa",
2314
2322
  surface: "#faf8fd",
2315
2323
  borderDefault: "#e2dce9",
2316
2324
  accentDefault: "#8b5cf6",
@@ -2320,7 +2328,8 @@ const st = {
2320
2328
  infoDefault: "#2563eb"
2321
2329
  },
2322
2330
  dark: {
2323
- bgBase: "#13111a",
2331
+ navigation: "#0a0818",
2332
+ bgBase: "#120e22",
2324
2333
  surface: "#1a1822",
2325
2334
  borderDefault: "#302d3b",
2326
2335
  accentDefault: "#a78bfa",
@@ -2329,10 +2338,11 @@ const st = {
2329
2338
  dangerDefault: "#ef4444",
2330
2339
  infoDefault: "#3b82f6"
2331
2340
  }
2332
- }, lt = {
2341
+ }, ct = {
2333
2342
  name: "emerald",
2334
2343
  light: {
2335
- bgBase: "#fbfefc",
2344
+ navigation: "#f4fcf9",
2345
+ bgBase: "#e9f6f1",
2336
2346
  surface: "#f7fcf9",
2337
2347
  borderDefault: "#dbe8df",
2338
2348
  accentDefault: "#10b981",
@@ -2342,7 +2352,8 @@ const st = {
2342
2352
  infoDefault: "#2563eb"
2343
2353
  },
2344
2354
  dark: {
2345
- bgBase: "#0f1512",
2355
+ navigation: "#061008",
2356
+ bgBase: "#0c1a16",
2346
2357
  surface: "#151c18",
2347
2358
  borderDefault: "#263330",
2348
2359
  accentDefault: "#34d399",
@@ -2354,7 +2365,8 @@ const st = {
2354
2365
  }, Fa = {
2355
2366
  name: "teal",
2356
2367
  light: {
2357
- bgBase: "#fbfefd",
2368
+ navigation: "#f9fbfc",
2369
+ bgBase: "#eef2f5",
2358
2370
  surface: "#f6fcfa",
2359
2371
  borderDefault: "#d4e5e0",
2360
2372
  accentDefault: "#0d9488",
@@ -2364,7 +2376,8 @@ const st = {
2364
2376
  infoDefault: "#2563eb"
2365
2377
  },
2366
2378
  dark: {
2367
- bgBase: "#0f1514",
2379
+ navigation: "#060e0c",
2380
+ bgBase: "#0c1816",
2368
2381
  surface: "#161d1c",
2369
2382
  borderDefault: "#283836",
2370
2383
  accentDefault: "#2dd4bf",
@@ -2373,10 +2386,11 @@ const st = {
2373
2386
  dangerDefault: "#ef4444",
2374
2387
  infoDefault: "#3b82f6"
2375
2388
  }
2376
- }, ct = {
2389
+ }, it = {
2377
2390
  name: "rose",
2378
2391
  light: {
2379
- bgBase: "#fffcfd",
2392
+ navigation: "#fff4f6",
2393
+ bgBase: "#f5e8ec",
2380
2394
  surface: "#fef9fa",
2381
2395
  borderDefault: "#ecdde1",
2382
2396
  accentDefault: "#f43f5e",
@@ -2386,7 +2400,8 @@ const st = {
2386
2400
  infoDefault: "#2563eb"
2387
2401
  },
2388
2402
  dark: {
2389
- bgBase: "#161012",
2403
+ navigation: "#10060a",
2404
+ bgBase: "#1a1016",
2390
2405
  surface: "#1d1518",
2391
2406
  borderDefault: "#3a282e",
2392
2407
  accentDefault: "#fb7185",
@@ -2395,10 +2410,11 @@ const st = {
2395
2410
  dangerDefault: "#ef4444",
2396
2411
  infoDefault: "#3b82f6"
2397
2412
  }
2398
- }, it = {
2413
+ }, ut = {
2399
2414
  name: "coral",
2400
2415
  light: {
2401
- bgBase: "#fffcfb",
2416
+ navigation: "#fff9f7",
2417
+ bgBase: "#f2ece8",
2402
2418
  surface: "#fef9f7",
2403
2419
  borderDefault: "#e9ddd8",
2404
2420
  accentDefault: "#e8624a",
@@ -2408,7 +2424,8 @@ const st = {
2408
2424
  infoDefault: "#2563eb"
2409
2425
  },
2410
2426
  dark: {
2411
- bgBase: "#171210",
2427
+ navigation: "#0e0806",
2428
+ bgBase: "#1a1210",
2412
2429
  surface: "#1e1816",
2413
2430
  borderDefault: "#3b312c",
2414
2431
  accentDefault: "#f38b76",
@@ -2420,7 +2437,8 @@ const st = {
2420
2437
  }, Pa = {
2421
2438
  name: "amber",
2422
2439
  light: {
2423
- bgBase: "#fffefb",
2440
+ navigation: "#fffdf6",
2441
+ bgBase: "#f2f0e6",
2424
2442
  surface: "#fefcf6",
2425
2443
  borderDefault: "#e8e1d0",
2426
2444
  accentDefault: "#d97706",
@@ -2430,7 +2448,8 @@ const st = {
2430
2448
  infoDefault: "#2563eb"
2431
2449
  },
2432
2450
  dark: {
2433
- bgBase: "#171310",
2451
+ navigation: "#0c0a06",
2452
+ bgBase: "#151310",
2434
2453
  surface: "#1e1a15",
2435
2454
  borderDefault: "#3a3329",
2436
2455
  accentDefault: "#f59e0b",
@@ -2439,10 +2458,11 @@ const st = {
2439
2458
  dangerDefault: "#ef4444",
2440
2459
  infoDefault: "#3b82f6"
2441
2460
  }
2442
- }, ut = {
2461
+ }, dt = {
2443
2462
  name: "ocean",
2444
2463
  light: {
2445
- bgBase: "#fbfdff",
2464
+ navigation: "#ebf1ff",
2465
+ bgBase: "#f1f4ff",
2446
2466
  surface: "#f6fafd",
2447
2467
  borderDefault: "#d9e4ec",
2448
2468
  accentDefault: "#0ea5e9",
@@ -2452,7 +2472,8 @@ const st = {
2452
2472
  infoDefault: "#2563eb"
2453
2473
  },
2454
2474
  dark: {
2455
- bgBase: "#0e1318",
2475
+ navigation: "#060b14",
2476
+ bgBase: "#0e1522",
2456
2477
  surface: "#141a20",
2457
2478
  borderDefault: "#243038",
2458
2479
  accentDefault: "#38bdf8",
@@ -2461,10 +2482,11 @@ const st = {
2461
2482
  dangerDefault: "#ef4444",
2462
2483
  infoDefault: "#3b82f6"
2463
2484
  }
2464
- }, dt = {
2485
+ }, ft = {
2465
2486
  name: "slate",
2466
2487
  light: {
2467
- bgBase: "#fafbfc",
2488
+ navigation: "#f7f8fa",
2489
+ bgBase: "#eceef2",
2468
2490
  surface: "#f7f8fa",
2469
2491
  borderDefault: "#dde1e6",
2470
2492
  accentDefault: "#475569",
@@ -2474,7 +2496,8 @@ const st = {
2474
2496
  infoDefault: "#2563eb"
2475
2497
  },
2476
2498
  dark: {
2477
- bgBase: "#0f1116",
2499
+ navigation: "#080a10",
2500
+ bgBase: "#0e1118",
2478
2501
  surface: "#161920",
2479
2502
  borderDefault: "#2b3040",
2480
2503
  accentDefault: "#94a3b8",
@@ -2486,7 +2509,8 @@ const st = {
2486
2509
  }, Wa = {
2487
2510
  name: "sage",
2488
2511
  light: {
2489
- bgBase: "#fbfcfb",
2512
+ navigation: "#f4f8f4",
2513
+ bgBase: "#e8efe8",
2490
2514
  surface: "#f5f7f5",
2491
2515
  borderDefault: "#d8ddd6",
2492
2516
  accentDefault: "#5f8c6e",
@@ -2496,7 +2520,8 @@ const st = {
2496
2520
  infoDefault: "#2563eb"
2497
2521
  },
2498
2522
  dark: {
2499
- bgBase: "#101410",
2523
+ navigation: "#060a06",
2524
+ bgBase: "#0e140e",
2500
2525
  surface: "#171c17",
2501
2526
  borderDefault: "#2c372c",
2502
2527
  accentDefault: "#86b394",
@@ -2602,7 +2627,7 @@ const st = {
2602
2627
  shadowLg: "none",
2603
2628
  shadowXl: "none"
2604
2629
  }
2605
- }, ft = {
2630
+ }, pt = {
2606
2631
  name: "subtle",
2607
2632
  light: {
2608
2633
  shadowNone: "none",
@@ -2618,14 +2643,14 @@ const st = {
2618
2643
  shadowLg: "0 0 40px color-mix(in srgb, var(--lucent-accent-default) 9%, transparent), inset 0 1px 0 0 rgba(255, 255, 255, 0.05)",
2619
2644
  shadowXl: "0 0 56px color-mix(in srgb, var(--lucent-accent-default) 12%, transparent), inset 0 1px 0 0 rgba(255, 255, 255, 0.06)"
2620
2645
  }
2621
- }, pt = {
2646
+ }, gt = {
2622
2647
  name: "elevated",
2623
2648
  light: {
2624
2649
  shadowNone: "none",
2625
- shadowSm: "rgba(17, 17, 26, 0.05) 0px 2px 8px, rgba(17, 17, 26, 0.03) 0px 4px 16px",
2626
- shadowMd: "rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px",
2627
- shadowLg: "rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.08) 0px 16px 48px",
2628
- shadowXl: "rgba(17, 17, 26, 0.12) 0px 12px 32px, rgba(17, 17, 26, 0.1) 0px 24px 64px"
2650
+ shadowSm: "0 2px 4px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08)",
2651
+ shadowMd: "0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.08)",
2652
+ shadowLg: "0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.08)",
2653
+ shadowXl: "0 16px 40px rgba(0, 0, 0, 0.18), 0 6px 12px rgba(0, 0, 0, 0.1)"
2629
2654
  },
2630
2655
  dark: {
2631
2656
  shadowNone: "none",
@@ -2634,7 +2659,7 @@ const st = {
2634
2659
  shadowLg: "inset 0 1px 0 0 rgba(255, 255, 255, 0.1), inset 0 0 28px rgba(255, 255, 255, 0.04), 0 0 1px rgba(255, 255, 255, 0.08)",
2635
2660
  shadowXl: "inset 0 1px 0 0 rgba(255, 255, 255, 0.12), inset 0 0 36px rgba(255, 255, 255, 0.05), 0 0 1px rgba(255, 255, 255, 0.1)"
2636
2661
  }
2637
- }, gt = {
2662
+ }, bt = {
2638
2663
  name: "liquidGlass",
2639
2664
  light: {
2640
2665
  shadowNone: "none",
@@ -2650,7 +2675,7 @@ const st = {
2650
2675
  shadowLg: "inset 0 1px 0 0 rgba(255, 255, 255, 0.1), inset 0 0 30px rgba(255, 255, 255, 0.03), 0 0 50px rgba(255, 255, 255, 0.04)",
2651
2676
  shadowXl: "inset 0 1px 0 0 rgba(255, 255, 255, 0.12), inset 0 0 40px rgba(255, 255, 255, 0.04), 0 0 70px rgba(255, 255, 255, 0.05)"
2652
2677
  }
2653
- }, bt = {
2678
+ }, xt = {
2654
2679
  name: "brutalist",
2655
2680
  light: {
2656
2681
  shadowNone: "none",
@@ -2666,30 +2691,30 @@ const st = {
2666
2691
  shadowLg: "0 0 0 3px color-mix(in srgb, var(--lucent-accent-default) 70%, transparent), 6px 6px 0 0 color-mix(in srgb, var(--lucent-accent-default) 40%, transparent)",
2667
2692
  shadowXl: "0 0 0 3px color-mix(in srgb, var(--lucent-accent-default) 75%, transparent), 8px 8px 0 0 color-mix(in srgb, var(--lucent-accent-default) 45%, transparent)"
2668
2693
  }
2669
- }, xt = {
2694
+ }, mt = {
2670
2695
  name: "neumorphic",
2671
2696
  light: {
2672
2697
  shadowNone: "none",
2673
- shadowSm: "3px 3px 8px #d1d5db, -3px -3px 8px #ffffff",
2674
- shadowMd: "5px 5px 14px #d1d5db, -5px -5px 14px #ffffff",
2675
- shadowLg: "8px 8px 20px #d1d5db, -8px -8px 20px #ffffff",
2676
- shadowXl: "12px 12px 28px #d1d5db, -12px -12px 28px #ffffff"
2698
+ shadowSm: "0 8px 16px rgba(0, 0, 0, 0.12)",
2699
+ shadowMd: "0 12px 24px rgba(0, 0, 0, 0.16)",
2700
+ shadowLg: "0 20px 30px rgba(0, 0, 0, 0.2)",
2701
+ shadowXl: "0 28px 40px rgba(0, 0, 0, 0.24)"
2677
2702
  },
2678
2703
  dark: {
2679
2704
  shadowNone: "none",
2680
- shadowSm: "3px 3px 10px color-mix(in srgb, var(--lucent-accent-default) 12%, transparent), -3px -3px 10px rgba(255, 255, 255, 0.03)",
2681
- shadowMd: "5px 5px 16px color-mix(in srgb, var(--lucent-accent-default) 15%, transparent), -5px -5px 16px rgba(255, 255, 255, 0.04)",
2682
- shadowLg: "8px 8px 24px color-mix(in srgb, var(--lucent-accent-default) 18%, transparent), -8px -8px 24px rgba(255, 255, 255, 0.05)",
2683
- shadowXl: "12px 12px 32px color-mix(in srgb, var(--lucent-accent-default) 22%, transparent), -12px -12px 32px rgba(255, 255, 255, 0.06)"
2705
+ shadowSm: "0 8px 16px rgba(0, 0, 0, 0.4)",
2706
+ shadowMd: "0 12px 24px rgba(0, 0, 0, 0.45)",
2707
+ shadowLg: "0 20px 30px rgba(0, 0, 0, 0.5)",
2708
+ shadowXl: "0 28px 40px rgba(0, 0, 0, 0.55)"
2684
2709
  }
2685
- }, mt = {
2710
+ }, ht = {
2686
2711
  name: "natural",
2687
2712
  light: {
2688
2713
  shadowNone: "none",
2689
- shadowSm: "0 1px 1px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.06)",
2690
- shadowMd: "0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.06)",
2691
- shadowLg: "0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.05), 0 4px 8px rgba(0, 0, 0, 0.05), 0 8px 16px rgba(0, 0, 0, 0.05)",
2692
- shadowXl: "0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.04), 0 8px 16px rgba(0, 0, 0, 0.04), 0 16px 32px rgba(0, 0, 0, 0.04)"
2714
+ shadowSm: "rgba(17, 17, 26, 0.05) 0px 2px 8px, rgba(17, 17, 26, 0.03) 0px 4px 16px",
2715
+ shadowMd: "rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px",
2716
+ shadowLg: "rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.08) 0px 16px 48px",
2717
+ shadowXl: "rgba(17, 17, 26, 0.12) 0px 12px 32px, rgba(17, 17, 26, 0.1) 0px 24px 64px"
2693
2718
  },
2694
2719
  dark: {
2695
2720
  shadowNone: "none",
@@ -2719,49 +2744,49 @@ const st = {
2719
2744
  palette: ve,
2720
2745
  shape: re,
2721
2746
  density: se,
2722
- shadow: ft
2747
+ shadow: pt
2723
2748
  }, Na = {
2724
2749
  name: "enterprise",
2725
- palette: st,
2750
+ palette: ot,
2726
2751
  shape: ye,
2727
2752
  density: ke,
2728
2753
  shadow: Ce
2729
2754
  }, Ea = {
2730
2755
  name: "playful",
2731
- palette: ct,
2756
+ palette: it,
2732
2757
  shape: we,
2733
2758
  density: De,
2734
- shadow: pt
2759
+ shadow: gt
2735
2760
  }, Aa = {
2736
2761
  name: "liquidGlass",
2737
- palette: ut,
2762
+ palette: dt,
2738
2763
  shape: we,
2739
2764
  density: De,
2740
- shadow: gt
2765
+ shadow: bt
2741
2766
  }, Oa = {
2742
2767
  name: "bento",
2743
2768
  palette: ve,
2744
2769
  shape: re,
2745
2770
  density: se,
2746
- shadow: mt
2771
+ shadow: ht
2747
2772
  }, Xa = {
2748
2773
  name: "brutalist",
2749
- palette: it,
2774
+ palette: ut,
2750
2775
  shape: ye,
2751
2776
  density: ke,
2752
- shadow: bt
2777
+ shadow: xt
2753
2778
  }, ja = {
2754
2779
  name: "terminal",
2755
- palette: lt,
2780
+ palette: ct,
2756
2781
  shape: ye,
2757
2782
  density: ke,
2758
2783
  shadow: Fe
2759
2784
  }, Ua = {
2760
2785
  name: "softUI",
2761
- palette: ot,
2786
+ palette: lt,
2762
2787
  shape: we,
2763
2788
  density: se,
2764
- shadow: xt
2789
+ shadow: mt
2765
2790
  }, qa = {
2766
2791
  name: "bloom",
2767
2792
  palette: ve,
@@ -2770,22 +2795,22 @@ const st = {
2770
2795
  shadow: Fe
2771
2796
  }, Ga = {
2772
2797
  name: "minimal",
2773
- palette: dt,
2798
+ palette: ft,
2774
2799
  shape: re,
2775
2800
  density: se,
2776
2801
  shadow: Ce
2777
2802
  }, _a = {
2778
- default: st,
2803
+ default: ot,
2779
2804
  brand: Ca,
2780
2805
  indigo: ve,
2781
- violet: ot,
2782
- emerald: lt,
2806
+ violet: lt,
2807
+ emerald: ct,
2783
2808
  teal: Fa,
2784
- rose: ct,
2785
- coral: it,
2809
+ rose: it,
2810
+ coral: ut,
2786
2811
  amber: Pa,
2787
- ocean: ut,
2788
- slate: dt,
2812
+ ocean: dt,
2813
+ slate: ft,
2789
2814
  sage: Wa
2790
2815
  }, Va = {
2791
2816
  sharp: ye,
@@ -2797,12 +2822,12 @@ const st = {
2797
2822
  spacious: De
2798
2823
  }, Ya = {
2799
2824
  flat: Ce,
2800
- subtle: ft,
2801
- elevated: pt,
2802
- liquidGlass: gt,
2803
- brutalist: bt,
2804
- neumorphic: xt,
2805
- natural: mt,
2825
+ subtle: pt,
2826
+ elevated: gt,
2827
+ liquidGlass: bt,
2828
+ brutalist: xt,
2829
+ neumorphic: mt,
2830
+ natural: ht,
2806
2831
  glow: Fe
2807
2832
  }, Za = {
2808
2833
  modern: Ha,
@@ -2838,12 +2863,12 @@ function an(e, t) {
2838
2863
  e.palette !== void 0 && (s = Ja(e.palette)), e.shape !== void 0 && (a = Qa(e.shape)), e.density !== void 0 && (n = en(e.density)), e.shadow !== void 0 && (r = tn(e.shadow));
2839
2864
  const o = {};
2840
2865
  if (s) {
2841
- const c = rt(s[t], t);
2866
+ const c = st(s[t], t);
2842
2867
  Object.assign(o, c);
2843
2868
  }
2844
2869
  return a && Object.assign(o, a.tokens), n && Object.assign(o, n.tokens), r && Object.assign(o, r[t]), o;
2845
2870
  }
2846
- const ht = yt({
2871
+ const vt = wt({
2847
2872
  theme: "light",
2848
2873
  tokens: he
2849
2874
  });
@@ -2854,9 +2879,9 @@ function fn({
2854
2879
  anchors: a,
2855
2880
  children: n
2856
2881
  }) {
2857
- const r = Ve().replace(/:/g, ""), o = t ? an(t, e) : void 0, c = (() => {
2882
+ const r = Ke().replace(/:/g, ""), o = t ? an(t, e) : void 0, c = (() => {
2858
2883
  if (a) {
2859
- const k = rt(a, e);
2884
+ const k = st(a, e);
2860
2885
  if (o) {
2861
2886
  const v = {};
2862
2887
  for (const [b, m] of Object.entries(o))
@@ -2865,7 +2890,7 @@ function fn({
2865
2890
  }
2866
2891
  return k;
2867
2892
  }
2868
- const i = e === "dark" ? tt : he, d = o ? { ...o, ...s } : s, g = d ? { ...i, ...d } : i, h = d ? nt(d, g, e) : {}, f = (d == null ? void 0 : d.accentBorder) ?? (e === "light" ? z(g.accentDefault, -0.15) : z(g.accentDefault, 0.15)), w = (d == null ? void 0 : d.accentFg) ?? at(g.accentDefault), S = Ra(g.accentDefault, w);
2893
+ const i = e === "dark" ? at : he, d = o ? { ...o, ...s } : s, g = d ? { ...i, ...d } : i, h = d ? rt(d, g, e) : {}, f = (d == null ? void 0 : d.accentBorder) ?? (e === "light" ? z(g.accentDefault, -0.15) : z(g.accentDefault, 0.15)), w = (d == null ? void 0 : d.accentFg) ?? nt(g.accentDefault), S = Ra(g.accentDefault, w);
2869
2894
  return {
2870
2895
  ...g,
2871
2896
  ...h,
@@ -2881,67 +2906,65 @@ function fn({
2881
2906
  var d;
2882
2907
  (d = document.getElementById(`lucent-tokens-${r}`)) == null || d.remove();
2883
2908
  };
2884
- }, [r, u]), /* @__PURE__ */ p(ht.Provider, { value: { theme: e, tokens: c }, children: n });
2909
+ }, [r, u]), /* @__PURE__ */ p(vt.Provider, { value: { theme: e, tokens: c }, children: n });
2885
2910
  }
2886
2911
  function pn() {
2887
- return vt(ht);
2912
+ return yt(vt);
2888
2913
  }
2889
2914
  export {
2890
2915
  ma as $,
2891
2916
  ve as A,
2892
- Ke as B,
2893
- ra as C,
2917
+ Ye as B,
2918
+ sa as C,
2894
2919
  he as D,
2895
2920
  Aa as E,
2896
- gt as F,
2921
+ bt as F,
2897
2922
  ha as G,
2898
2923
  Ga as H,
2899
2924
  te as I,
2900
2925
  Ha as J,
2901
- mt as K,
2926
+ ht as K,
2902
2927
  fn as L,
2903
- xt as M,
2904
- ut as N,
2928
+ mt as M,
2929
+ dt as N,
2905
2930
  we as O,
2906
2931
  Ea as P,
2907
2932
  an as Q,
2908
- ct as R,
2909
- Ze as S,
2933
+ it as R,
2934
+ Je as S,
2910
2935
  cn as T,
2911
2936
  re as U,
2912
2937
  ye as V,
2913
2938
  Ua as W,
2914
2939
  De as X,
2915
- ft as Y,
2940
+ pt as Y,
2916
2941
  ja as Z,
2917
2942
  pn as _,
2918
2943
  z as a,
2919
- ua as a0,
2920
- ia as a1,
2921
- V as a2,
2922
- _ as a3,
2923
- Ra as a4,
2944
+ da as a0,
2945
+ ua as a1,
2946
+ Ra as a2,
2924
2947
  on as b,
2925
2948
  de as c,
2926
- Ye as d,
2949
+ Ze as d,
2927
2950
  un as e,
2928
2951
  dn as f,
2929
- at as g,
2952
+ nt as g,
2930
2953
  ln as h,
2931
2954
  Oa as i,
2932
2955
  qa as j,
2933
2956
  Ca as k,
2934
2957
  Xa as l,
2935
- bt as m,
2958
+ xt as m,
2936
2959
  ke as n,
2937
- rt as o,
2938
- tt as p,
2960
+ st as o,
2961
+ at as p,
2939
2962
  se as q,
2940
- st as r,
2963
+ ot as r,
2941
2964
  xa as s,
2942
- nt as t,
2943
- pt as u,
2944
- lt as v,
2965
+ rt as t,
2966
+ gt as u,
2967
+ ct as v,
2945
2968
  Na as w,
2946
2969
  Ce as x,
2947
2970
  $a as y,