@classic-homes/theme-react 0.8.2 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -203,7 +203,8 @@ var badge = recipe({
203
203
  variant: {
204
204
  default: "border-transparent bg-primary text-primary-foreground",
205
205
  secondary: "border-secondary-border bg-secondary text-secondary-foreground",
206
- outline: "text-foreground",
206
+ // Fern edge (3.81:1 on White): the border is what sets it apart
207
+ outline: "border-outline text-foreground",
207
208
  // v2.5 status treatments: choose by what the person needs to do.
208
209
  /** Live: available, active or operating normally. */
209
210
  live: "border-transparent bg-live text-live-foreground font-bold",
@@ -261,7 +262,8 @@ var card = recipe({
261
262
  borderColor: {
262
263
  default: "border-border",
263
264
  primary: "border-primary",
264
- muted: "border-gray-200"
265
+ // Soft Linen edge for a card that is not a control (decorative)
266
+ muted: "border-accent"
265
267
  },
266
268
  variant: {
267
269
  default: "border",
@@ -282,8 +284,8 @@ var cardHeader = recipe({
282
284
  variant: {
283
285
  default: "p-6",
284
286
  compact: "p-4",
285
- bordered: "p-6 border-b",
286
- shaded: "p-6 bg-muted/50"
287
+ bordered: "p-6 border-b border-border",
288
+ shaded: "p-6 bg-muted"
287
289
  }
288
290
  },
289
291
  defaultVariants: { variant: "default" }
@@ -322,7 +324,7 @@ var input = recipe({
322
324
  defaultVariants: { invalid: false }
323
325
  });
324
326
  var textarea = recipe({
325
- base: `flex min-h-[80px] w-full rounded-md border border-input bg-background text-foreground px-3 py-2 text-base sm:text-sm ${focusRing} placeholder:text-gray-500 dark:placeholder:text-gray-400 disabled:cursor-not-allowed disabled:opacity-50 resize-y`,
327
+ base: `flex min-h-[80px] w-full rounded-md border border-input bg-background text-foreground px-3 py-2 text-base sm:text-sm ${focusRing} placeholder:text-muted-foreground dark:placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50 resize-y`,
326
328
  variants: { invalid },
327
329
  defaultVariants: { invalid: false }
328
330
  });
@@ -391,10 +393,10 @@ var avatar = recipe({
391
393
  });
392
394
  var avatarImage = recipe({ base: "aspect-square h-full w-full object-cover" });
393
395
  var avatarFallback = recipe({
394
- base: "flex h-full w-full items-center justify-center rounded-full bg-primary/20 text-sm font-medium"
396
+ base: "flex h-full w-full items-center justify-center rounded-full bg-accent text-accent-foreground text-sm font-medium"
395
397
  });
396
398
  var progress = recipe({
397
- base: "w-full overflow-hidden rounded-full bg-muted",
399
+ base: "w-full overflow-hidden rounded-full bg-muted ring-1 ring-inset ring-outline",
398
400
  variants: {
399
401
  size: { sm: "h-1", md: "h-2", lg: "h-3" }
400
402
  },
@@ -471,10 +473,12 @@ var emptyStateDescription = recipe({
471
473
  variants: { size: { sm: "text-xs", md: "text-sm" } },
472
474
  defaultVariants: { size: "md" }
473
475
  });
474
- var tableContainer = recipe({ base: "relative overflow-x-auto rounded-lg border" });
476
+ var tableContainer = recipe({
477
+ base: "relative overflow-x-auto rounded-lg border border-border"
478
+ });
475
479
  var table = recipe({ base: "w-full text-sm" });
476
- var tableHeader = recipe({ base: "border-b bg-accent" });
477
- var tableBody = recipe({ base: "divide-y" });
480
+ var tableHeader = recipe({ base: "border-b border-border bg-accent" });
481
+ var tableBody = recipe({ base: "divide-y divide-border" });
478
482
  var tableRow = recipe({
479
483
  base: "bg-card",
480
484
  // v2.5: Paper hover on White tables, Linen hover on zebra tables; selection
@@ -526,7 +530,7 @@ var radioGroupItem = recipe({
526
530
  });
527
531
  var radioGroupIndicator = recipe({ base: "h-2.5 w-2.5 rounded-full bg-primary" });
528
532
  var sliderRoot = recipe({
529
- base: "relative flex w-full touch-none select-none items-center data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-40 data-[orientation=vertical]:flex-col rounded-full bg-muted",
533
+ base: "relative flex w-full touch-none select-none items-center data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-40 data-[orientation=vertical]:flex-col rounded-full bg-muted ring-1 ring-inset ring-outline",
530
534
  variants: {
531
535
  size: {
532
536
  sm: "h-1.5 data-[orientation=vertical]:w-1.5",
@@ -597,7 +601,7 @@ var dropdownMenuCheckboxItem = recipe({
597
601
  var dropdownMenuLabel = recipe({ base: "px-2 py-1.5 text-sm font-semibold" });
598
602
  var dropdownMenuSeparator = recipe({ base: "-mx-1 my-1 h-px bg-muted" });
599
603
  var collapsibleTrigger = recipe({
600
- base: "group inline-flex items-center gap-1.5 rounded-md text-sm font-medium text-foreground hover:text-foreground/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50"
604
+ base: "group inline-flex items-center gap-1.5 rounded-md text-sm font-medium text-foreground underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50"
601
605
  });
602
606
  var collapsibleChevron = recipe({
603
607
  base: "shrink-0 transition-transform duration-200 group-data-[state=open]:rotate-90 motion-reduce:transition-none"
@@ -1626,7 +1630,7 @@ var pageHeaderTitleVariants = (0, import_class_variance_authority7.cva)("text-fo
1626
1630
  default: "mb-2",
1627
1631
  hero: "font-sans text-5xl font-black not-italic uppercase tracking-tight mb-2",
1628
1632
  centered: "mb-3",
1629
- form: "font-sans text-3xl md:text-4xl font-light not-italic tracking-tight text-brand-core-2"
1633
+ form: "font-sans text-3xl md:text-4xl font-light not-italic tracking-tight text-primary"
1630
1634
  }
1631
1635
  },
1632
1636
  defaultVariants: {
@@ -1639,7 +1643,7 @@ var pageHeaderSubtitleVariants = (0, import_class_variance_authority7.cva)("text
1639
1643
  default: "text-lg",
1640
1644
  hero: "text-lg font-serif",
1641
1645
  centered: "text-xl max-w-2xl mx-auto",
1642
- form: "mt-3 text-base md:text-lg text-gray-600"
1646
+ form: "mt-3 text-base md:text-lg text-foreground"
1643
1647
  }
1644
1648
  },
1645
1649
  defaultVariants: {
@@ -1723,6 +1727,7 @@ var PATHS = {
1723
1727
  edit: "M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z",
1724
1728
  "wifi-off": "M2 2l20 20M8.5 16.5a5 5 0 0 1 7 0M2 8.82a15 15 0 0 1 4.17-2.65M10.66 5c4.01-.36 8.14.9 11.34 3.76M16.85 11.25a10 10 0 0 1 2.22 1.68M5 13a10 10 0 0 1 5.24-2.76M12 20h.01",
1725
1729
  eye: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7ZM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",
1730
+ "eye-off": "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24M1 1l22 22",
1726
1731
  refresh: "M3 12a9 9 0 0 1 15-6.7L21 8M21 3v5h-5M21 12a9 9 0 0 1-15 6.7L3 16M3 21v-5h5",
1727
1732
  list: "M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01",
1728
1733
  settings: "M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z",
@@ -2270,8 +2275,10 @@ function ModeSwitch({
2270
2275
  onClick: () => onChange(m.value),
2271
2276
  onKeyDown: (e) => keyDown(e, i),
2272
2277
  className: cn(
2273
- "inline-flex h-7 flex-1 items-center justify-center gap-1.5 whitespace-nowrap rounded-md px-2.5 text-sm font-medium hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring md:flex-none",
2274
- checked && "bg-background text-foreground shadow-sm"
2278
+ // segmentedControlItem look (parity with Svelte's SegmentedControl):
2279
+ // a White pill on the Paper track is 1.12:1, Heritage Teal 11.30:1
2280
+ "inline-flex h-7 flex-1 items-center justify-center gap-1.5 whitespace-nowrap rounded-md px-2.5 text-sm font-medium ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 md:flex-none",
2281
+ checked ? "bg-primary text-primary-foreground shadow-sm" : "hover:bg-muted-hover hover:text-foreground"
2275
2282
  ),
2276
2283
  children: [
2277
2284
  m.icon,
@@ -2343,7 +2350,7 @@ function StudioBar({
2343
2350
  value: draft,
2344
2351
  "aria-label": "Title",
2345
2352
  placeholder: titlePlaceholder,
2346
- className: "block w-full max-w-md truncate rounded-md border border-transparent bg-transparent px-1.5 py-0.5 text-base font-semibold leading-tight outline-none hover:border-border focus:border-input focus:bg-background focus:ring-2 focus:ring-ring",
2353
+ className: "block w-full max-w-md truncate rounded-md border border-transparent border-b-outline bg-transparent px-1.5 py-0.5 text-base font-semibold leading-tight outline-none hover:border-border focus:border-input focus:bg-background focus:ring-2 focus:ring-ring",
2347
2354
  onChange: (e) => {
2348
2355
  setDraft(e.target.value);
2349
2356
  onTitleInput?.(e.target.value);
@@ -2463,7 +2470,9 @@ function StudioOutline({
2463
2470
  "data-outline-id": entry.id,
2464
2471
  className: cn(
2465
2472
  "group relative flex items-stretch gap-0.5 rounded-md",
2466
- active ? "bg-primary/10 ring-1 ring-inset ring-primary/40" : "hover:bg-muted-hover"
2473
+ // Selected: Linen + a 3px Heritage Teal edge + bold title (a teal tint
2474
+ // alone is 1.05:1). Linen remaps muted text to Grey 01 (base.css).
2475
+ active ? "bg-accent shadow-[inset_3px_0_0_hsl(var(--primary))]" : "hover:bg-muted"
2467
2476
  ),
2468
2477
  children: [
2469
2478
  handle && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
@@ -2486,8 +2495,7 @@ function StudioOutline({
2486
2495
  "aria-current": active ? "true" : void 0,
2487
2496
  className: cn(
2488
2497
  "flex min-w-0 flex-1 flex-col gap-1.5 rounded-md py-2 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
2489
- !handle && "pl-2",
2490
- entry.muted && "opacity-60"
2498
+ !handle && "pl-2"
2491
2499
  ),
2492
2500
  onClick: () => select(entry.id),
2493
2501
  onKeyDown: (e) => rowKeyDown(e, index),
@@ -2497,11 +2505,20 @@ function StudioOutline({
2497
2505
  numbered && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "w-5 shrink-0 pt-px text-right text-xs tabular-nums text-muted-foreground", children: index + 1 }),
2498
2506
  entry.icon && !renderThumbnail && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "mt-px shrink-0 text-muted-foreground", "aria-hidden": "true", children: entry.icon }),
2499
2507
  /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("span", { className: "min-w-0 flex-1", children: [
2500
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2508
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
2501
2509
  "span",
2502
2510
  {
2503
- className: cn("block truncate text-sm text-foreground", active && "font-medium"),
2504
- children: entry.title || "Untitled"
2511
+ className: cn(
2512
+ "block truncate text-sm",
2513
+ active && "font-semibold",
2514
+ // Hidden entries: muted italic title + an eye-off icon (5.74:1; an
2515
+ // opacity fade was 2.96:1)
2516
+ entry.muted ? "italic text-muted-foreground" : "text-foreground"
2517
+ ),
2518
+ children: [
2519
+ entry.muted && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(StudioIcon, { name: "eye-off", size: 12, className: "mr-1 inline-block align-[-1px]" }),
2520
+ entry.title || "Untitled"
2521
+ ]
2505
2522
  }
2506
2523
  ),
2507
2524
  entry.subtitle && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "block truncate text-xs text-muted-foreground", children: entry.subtitle })
@@ -2564,7 +2581,7 @@ function StudioOutline({
2564
2581
  {
2565
2582
  type: "button",
2566
2583
  onClick: onAdd,
2567
- className: "flex h-9 w-full items-center justify-center gap-2 rounded-md border border-dashed border-border text-sm font-medium text-muted-foreground hover:border-primary hover:bg-primary/5 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
2584
+ className: "flex h-9 w-full items-center justify-center gap-2 rounded-md border border-dashed border-border text-sm font-medium text-muted-foreground hover:border-primary hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
2568
2585
  children: [
2569
2586
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(StudioIcon, { name: "plus" }),
2570
2587
  addLabel
@@ -2639,8 +2656,10 @@ function StudioCanvas({
2639
2656
  onClick: () => setDevice(d),
2640
2657
  onKeyDown: (e) => deviceKeyDown(e, i),
2641
2658
  className: cn(
2642
- "inline-flex h-7 items-center gap-1.5 rounded-md px-2.5 text-sm font-medium hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
2643
- device === d && "bg-background text-foreground shadow-sm"
2659
+ // segmentedControlItem look (parity with Svelte's SegmentedControl):
2660
+ // a White pill on the Paper track is 1.12:1, Heritage Teal 11.30:1
2661
+ "inline-flex h-7 items-center gap-1.5 rounded-md px-2.5 text-sm font-medium ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
2662
+ device === d ? "bg-primary text-primary-foreground shadow-sm" : "hover:bg-muted-hover hover:text-foreground"
2644
2663
  ),
2645
2664
  children: [
2646
2665
  /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(StudioIcon, { name: d === "desktop" ? "monitor" : "smartphone" }),
@@ -2721,7 +2740,7 @@ function StudioCanvasItem({
2721
2740
  // Problems are a dashed amber outline: with a red brand primary, a red
2722
2741
  // ring would read as "selected"
2723
2742
  selected ? "ring-2 ring-primary" : "hover:ring-1 hover:ring-border",
2724
- invalid2 && "-outline-offset-2 outline-dashed outline-2 outline-warning/70",
2743
+ invalid2 && "-outline-offset-2 outline-dashed outline-2 outline-destructive",
2725
2744
  className
2726
2745
  ),
2727
2746
  onPointerDownCapture: (e) => {
@@ -3054,7 +3073,7 @@ function IssuesButton({
3054
3073
  "button",
3055
3074
  {
3056
3075
  type: "button",
3057
- className: "flex w-full items-start gap-2 px-3 py-2 text-left text-sm hover:bg-muted-hover focus-visible:bg-muted-hover focus-visible:outline-none",
3076
+ className: "flex w-full items-start gap-2 px-3 py-2 text-left text-sm hover:bg-muted focus-visible:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",
3058
3077
  onClick: () => {
3059
3078
  setOpen(false);
3060
3079
  onSelect?.(issue);
@@ -3240,7 +3259,7 @@ function InsertPalette({
3240
3259
  else all[Math.min(next, all.length - 1)]?.focus();
3241
3260
  },
3242
3261
  className: cn(
3243
- "flex h-full w-full gap-3 rounded-md border border-border p-3 text-left hover:border-primary hover:bg-primary/5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
3262
+ "flex h-full w-full gap-3 rounded-md border border-border p-3 text-left hover:border-primary hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
3244
3263
  renderThumbnail ? "flex-col" : "items-start"
3245
3264
  ),
3246
3265
  children: [
@@ -3767,7 +3786,7 @@ function DataPanelCardHeader({
3767
3786
  showDragHandle && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3768
3787
  "div",
3769
3788
  {
3770
- className: "absolute top-1.5 left-1/2 -translate-x-1/2 w-10 h-1.5 rounded-full bg-muted-foreground/30 cursor-pointer touch-none",
3789
+ className: "absolute top-1.5 left-1/2 -translate-x-1/2 w-10 h-1.5 rounded-full bg-outline cursor-pointer touch-none",
3771
3790
  role: "button",
3772
3791
  tabIndex: 0,
3773
3792
  "aria-label": isExpanded ? "Collapse panel" : "Expand panel",
@@ -4037,7 +4056,7 @@ var DataPanelTab = React27.forwardRef(
4037
4056
  {
4038
4057
  type: "button",
4039
4058
  "aria-label": `Expand ${title} panel`,
4040
- className: "flex min-w-0 flex-1 flex-col text-left leading-tight hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
4059
+ className: "flex min-w-0 flex-1 flex-col text-left leading-tight underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
4041
4060
  onClick: () => {
4042
4061
  if (pointerHandledRef.current) {
4043
4062
  pointerHandledRef.current = false;
@@ -5164,7 +5183,7 @@ var DataPanel = React27.forwardRef(
5164
5183
  "div",
5165
5184
  {
5166
5185
  className: cn(
5167
- "fixed z-40 bg-primary/20 border-2 border-primary border-dashed transition-all",
5186
+ "fixed z-40 bg-accent/50 border-2 border-primary border-dashed transition-all",
5168
5187
  snapPreview === "left" && "left-0 top-0 bottom-0 w-80",
5169
5188
  snapPreview === "right" && "right-0 top-0 bottom-0 w-80",
5170
5189
  snapPreview === "top" && "top-0 left-0 right-0 h-64",
@@ -5175,7 +5194,7 @@ var DataPanel = React27.forwardRef(
5175
5194
  variant === "card" && isExpanded && isMobile && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5176
5195
  "div",
5177
5196
  {
5178
- className: "fixed inset-0 z-40 bg-black/50 transition-opacity",
5197
+ className: "fixed inset-0 z-40 bg-foreground/60 transition-opacity",
5179
5198
  "aria-hidden": "true",
5180
5199
  onClick: handleToggleExpand
5181
5200
  }
@@ -5589,7 +5608,7 @@ var LoadingOverlay = React32.forwardRef(
5589
5608
  }
5590
5609
  );
5591
5610
  }
5592
- const bgClass = opaque ? "bg-background" : mode === "fullscreen" ? "bg-background/80" : "bg-background/60";
5611
+ const bgClass = opaque ? "bg-background" : "bg-background/90";
5593
5612
  const positionClass = mode === "fullscreen" ? "fixed inset-0 z-50" : "absolute inset-0 z-10";
5594
5613
  return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_jsx_runtime31.Fragment, { children: [
5595
5614
  children,
@@ -6594,7 +6613,7 @@ var ChevronIcon = () => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6594
6613
  strokeWidth: "2",
6595
6614
  strokeLinecap: "round",
6596
6615
  strokeLinejoin: "round",
6597
- className: "h-4 w-4 opacity-50",
6616
+ className: "h-4 w-4 text-muted-foreground",
6598
6617
  "aria-hidden": "true",
6599
6618
  children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("path", { d: "m6 9 6 6 6-6" })
6600
6619
  }
@@ -6627,7 +6646,7 @@ function Item3({ option }) {
6627
6646
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CheckIcon, {}) }) }),
6628
6647
  option.description ? /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("span", { className: "flex min-w-0 flex-col", children: [
6629
6648
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(SelectPrimitive.ItemText, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "truncate", children: option.label }) }),
6630
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "truncate text-xs text-muted-foreground group-data-[highlighted]:text-accent-foreground/80", children: option.description })
6649
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "truncate text-xs text-muted-foreground group-data-[highlighted]:text-accent-foreground", children: option.description })
6631
6650
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(SelectPrimitive.ItemText, { children: option.label })
6632
6651
  ]
6633
6652
  }
@@ -6866,7 +6885,7 @@ function Tabs({
6866
6885
  {
6867
6886
  className: cn(
6868
6887
  "min-w-5 rounded-full px-1.5 py-0.5 text-center text-xs font-medium leading-none tabular-nums",
6869
- active ? "bg-muted text-foreground" : "bg-muted-foreground/20"
6888
+ active ? "bg-muted text-foreground" : "bg-accent text-accent-foreground"
6870
6889
  ),
6871
6890
  "aria-hidden": "true",
6872
6891
  "data-tab-badge": "",
@@ -7655,7 +7674,14 @@ function ItemContent({ item }) {
7655
7674
  item.icon && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { name: item.icon, size: 16, className: "mr-2 shrink-0" }),
7656
7675
  item.label,
7657
7676
  item.shortcut && /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
7658
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "ml-auto pl-4 text-xs tracking-widest opacity-60", "aria-hidden": "true", children: item.shortcut }),
7677
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
7678
+ "span",
7679
+ {
7680
+ className: "ml-auto pl-4 text-xs tracking-widest text-muted-foreground",
7681
+ "aria-hidden": "true",
7682
+ children: item.shortcut
7683
+ }
7684
+ ),
7659
7685
  /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("span", { className: "sr-only", children: [
7660
7686
  ", keyboard shortcut ",
7661
7687
  item.shortcut
@@ -7755,7 +7781,7 @@ function DropdownMenu({
7755
7781
  name: "chevron-down",
7756
7782
  size: 16,
7757
7783
  className: cn(
7758
- "ml-1 shrink-0 opacity-60 transition-transform duration-200 motion-reduce:transition-none",
7784
+ "ml-1 shrink-0 transition-transform duration-200 motion-reduce:transition-none",
7759
7785
  open && "rotate-180"
7760
7786
  )
7761
7787
  }
package/dist/index.mjs CHANGED
@@ -46,7 +46,8 @@ var badge = recipe({
46
46
  variant: {
47
47
  default: "border-transparent bg-primary text-primary-foreground",
48
48
  secondary: "border-secondary-border bg-secondary text-secondary-foreground",
49
- outline: "text-foreground",
49
+ // Fern edge (3.81:1 on White): the border is what sets it apart
50
+ outline: "border-outline text-foreground",
50
51
  // v2.5 status treatments: choose by what the person needs to do.
51
52
  /** Live: available, active or operating normally. */
52
53
  live: "border-transparent bg-live text-live-foreground font-bold",
@@ -104,7 +105,8 @@ var card = recipe({
104
105
  borderColor: {
105
106
  default: "border-border",
106
107
  primary: "border-primary",
107
- muted: "border-gray-200"
108
+ // Soft Linen edge for a card that is not a control (decorative)
109
+ muted: "border-accent"
108
110
  },
109
111
  variant: {
110
112
  default: "border",
@@ -125,8 +127,8 @@ var cardHeader = recipe({
125
127
  variant: {
126
128
  default: "p-6",
127
129
  compact: "p-4",
128
- bordered: "p-6 border-b",
129
- shaded: "p-6 bg-muted/50"
130
+ bordered: "p-6 border-b border-border",
131
+ shaded: "p-6 bg-muted"
130
132
  }
131
133
  },
132
134
  defaultVariants: { variant: "default" }
@@ -165,7 +167,7 @@ var input = recipe({
165
167
  defaultVariants: { invalid: false }
166
168
  });
167
169
  var textarea = recipe({
168
- base: `flex min-h-[80px] w-full rounded-md border border-input bg-background text-foreground px-3 py-2 text-base sm:text-sm ${focusRing} placeholder:text-gray-500 dark:placeholder:text-gray-400 disabled:cursor-not-allowed disabled:opacity-50 resize-y`,
170
+ base: `flex min-h-[80px] w-full rounded-md border border-input bg-background text-foreground px-3 py-2 text-base sm:text-sm ${focusRing} placeholder:text-muted-foreground dark:placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50 resize-y`,
169
171
  variants: { invalid },
170
172
  defaultVariants: { invalid: false }
171
173
  });
@@ -234,10 +236,10 @@ var avatar = recipe({
234
236
  });
235
237
  var avatarImage = recipe({ base: "aspect-square h-full w-full object-cover" });
236
238
  var avatarFallback = recipe({
237
- base: "flex h-full w-full items-center justify-center rounded-full bg-primary/20 text-sm font-medium"
239
+ base: "flex h-full w-full items-center justify-center rounded-full bg-accent text-accent-foreground text-sm font-medium"
238
240
  });
239
241
  var progress = recipe({
240
- base: "w-full overflow-hidden rounded-full bg-muted",
242
+ base: "w-full overflow-hidden rounded-full bg-muted ring-1 ring-inset ring-outline",
241
243
  variants: {
242
244
  size: { sm: "h-1", md: "h-2", lg: "h-3" }
243
245
  },
@@ -314,10 +316,12 @@ var emptyStateDescription = recipe({
314
316
  variants: { size: { sm: "text-xs", md: "text-sm" } },
315
317
  defaultVariants: { size: "md" }
316
318
  });
317
- var tableContainer = recipe({ base: "relative overflow-x-auto rounded-lg border" });
319
+ var tableContainer = recipe({
320
+ base: "relative overflow-x-auto rounded-lg border border-border"
321
+ });
318
322
  var table = recipe({ base: "w-full text-sm" });
319
- var tableHeader = recipe({ base: "border-b bg-accent" });
320
- var tableBody = recipe({ base: "divide-y" });
323
+ var tableHeader = recipe({ base: "border-b border-border bg-accent" });
324
+ var tableBody = recipe({ base: "divide-y divide-border" });
321
325
  var tableRow = recipe({
322
326
  base: "bg-card",
323
327
  // v2.5: Paper hover on White tables, Linen hover on zebra tables; selection
@@ -369,7 +373,7 @@ var radioGroupItem = recipe({
369
373
  });
370
374
  var radioGroupIndicator = recipe({ base: "h-2.5 w-2.5 rounded-full bg-primary" });
371
375
  var sliderRoot = recipe({
372
- base: "relative flex w-full touch-none select-none items-center data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-40 data-[orientation=vertical]:flex-col rounded-full bg-muted",
376
+ base: "relative flex w-full touch-none select-none items-center data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-40 data-[orientation=vertical]:flex-col rounded-full bg-muted ring-1 ring-inset ring-outline",
373
377
  variants: {
374
378
  size: {
375
379
  sm: "h-1.5 data-[orientation=vertical]:w-1.5",
@@ -440,7 +444,7 @@ var dropdownMenuCheckboxItem = recipe({
440
444
  var dropdownMenuLabel = recipe({ base: "px-2 py-1.5 text-sm font-semibold" });
441
445
  var dropdownMenuSeparator = recipe({ base: "-mx-1 my-1 h-px bg-muted" });
442
446
  var collapsibleTrigger = recipe({
443
- base: "group inline-flex items-center gap-1.5 rounded-md text-sm font-medium text-foreground hover:text-foreground/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50"
447
+ base: "group inline-flex items-center gap-1.5 rounded-md text-sm font-medium text-foreground underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50"
444
448
  });
445
449
  var collapsibleChevron = recipe({
446
450
  base: "shrink-0 transition-transform duration-200 group-data-[state=open]:rotate-90 motion-reduce:transition-none"
@@ -1469,7 +1473,7 @@ var pageHeaderTitleVariants = cva7("text-foreground", {
1469
1473
  default: "mb-2",
1470
1474
  hero: "font-sans text-5xl font-black not-italic uppercase tracking-tight mb-2",
1471
1475
  centered: "mb-3",
1472
- form: "font-sans text-3xl md:text-4xl font-light not-italic tracking-tight text-brand-core-2"
1476
+ form: "font-sans text-3xl md:text-4xl font-light not-italic tracking-tight text-primary"
1473
1477
  }
1474
1478
  },
1475
1479
  defaultVariants: {
@@ -1482,7 +1486,7 @@ var pageHeaderSubtitleVariants = cva7("text-muted-foreground", {
1482
1486
  default: "text-lg",
1483
1487
  hero: "text-lg font-serif",
1484
1488
  centered: "text-xl max-w-2xl mx-auto",
1485
- form: "mt-3 text-base md:text-lg text-gray-600"
1489
+ form: "mt-3 text-base md:text-lg text-foreground"
1486
1490
  }
1487
1491
  },
1488
1492
  defaultVariants: {
@@ -1566,6 +1570,7 @@ var PATHS = {
1566
1570
  edit: "M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z",
1567
1571
  "wifi-off": "M2 2l20 20M8.5 16.5a5 5 0 0 1 7 0M2 8.82a15 15 0 0 1 4.17-2.65M10.66 5c4.01-.36 8.14.9 11.34 3.76M16.85 11.25a10 10 0 0 1 2.22 1.68M5 13a10 10 0 0 1 5.24-2.76M12 20h.01",
1568
1572
  eye: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7ZM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",
1573
+ "eye-off": "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24M1 1l22 22",
1569
1574
  refresh: "M3 12a9 9 0 0 1 15-6.7L21 8M21 3v5h-5M21 12a9 9 0 0 1-15 6.7L3 16M3 21v-5h5",
1570
1575
  list: "M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01",
1571
1576
  settings: "M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z",
@@ -2113,8 +2118,10 @@ function ModeSwitch({
2113
2118
  onClick: () => onChange(m.value),
2114
2119
  onKeyDown: (e) => keyDown(e, i),
2115
2120
  className: cn(
2116
- "inline-flex h-7 flex-1 items-center justify-center gap-1.5 whitespace-nowrap rounded-md px-2.5 text-sm font-medium hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring md:flex-none",
2117
- checked && "bg-background text-foreground shadow-sm"
2121
+ // segmentedControlItem look (parity with Svelte's SegmentedControl):
2122
+ // a White pill on the Paper track is 1.12:1, Heritage Teal 11.30:1
2123
+ "inline-flex h-7 flex-1 items-center justify-center gap-1.5 whitespace-nowrap rounded-md px-2.5 text-sm font-medium ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 md:flex-none",
2124
+ checked ? "bg-primary text-primary-foreground shadow-sm" : "hover:bg-muted-hover hover:text-foreground"
2118
2125
  ),
2119
2126
  children: [
2120
2127
  m.icon,
@@ -2186,7 +2193,7 @@ function StudioBar({
2186
2193
  value: draft,
2187
2194
  "aria-label": "Title",
2188
2195
  placeholder: titlePlaceholder,
2189
- className: "block w-full max-w-md truncate rounded-md border border-transparent bg-transparent px-1.5 py-0.5 text-base font-semibold leading-tight outline-none hover:border-border focus:border-input focus:bg-background focus:ring-2 focus:ring-ring",
2196
+ className: "block w-full max-w-md truncate rounded-md border border-transparent border-b-outline bg-transparent px-1.5 py-0.5 text-base font-semibold leading-tight outline-none hover:border-border focus:border-input focus:bg-background focus:ring-2 focus:ring-ring",
2190
2197
  onChange: (e) => {
2191
2198
  setDraft(e.target.value);
2192
2199
  onTitleInput?.(e.target.value);
@@ -2306,7 +2313,9 @@ function StudioOutline({
2306
2313
  "data-outline-id": entry.id,
2307
2314
  className: cn(
2308
2315
  "group relative flex items-stretch gap-0.5 rounded-md",
2309
- active ? "bg-primary/10 ring-1 ring-inset ring-primary/40" : "hover:bg-muted-hover"
2316
+ // Selected: Linen + a 3px Heritage Teal edge + bold title (a teal tint
2317
+ // alone is 1.05:1). Linen remaps muted text to Grey 01 (base.css).
2318
+ active ? "bg-accent shadow-[inset_3px_0_0_hsl(var(--primary))]" : "hover:bg-muted"
2310
2319
  ),
2311
2320
  children: [
2312
2321
  handle && /* @__PURE__ */ jsx19(
@@ -2329,8 +2338,7 @@ function StudioOutline({
2329
2338
  "aria-current": active ? "true" : void 0,
2330
2339
  className: cn(
2331
2340
  "flex min-w-0 flex-1 flex-col gap-1.5 rounded-md py-2 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
2332
- !handle && "pl-2",
2333
- entry.muted && "opacity-60"
2341
+ !handle && "pl-2"
2334
2342
  ),
2335
2343
  onClick: () => select(entry.id),
2336
2344
  onKeyDown: (e) => rowKeyDown(e, index),
@@ -2340,11 +2348,20 @@ function StudioOutline({
2340
2348
  numbered && /* @__PURE__ */ jsx19("span", { className: "w-5 shrink-0 pt-px text-right text-xs tabular-nums text-muted-foreground", children: index + 1 }),
2341
2349
  entry.icon && !renderThumbnail && /* @__PURE__ */ jsx19("span", { className: "mt-px shrink-0 text-muted-foreground", "aria-hidden": "true", children: entry.icon }),
2342
2350
  /* @__PURE__ */ jsxs14("span", { className: "min-w-0 flex-1", children: [
2343
- /* @__PURE__ */ jsx19(
2351
+ /* @__PURE__ */ jsxs14(
2344
2352
  "span",
2345
2353
  {
2346
- className: cn("block truncate text-sm text-foreground", active && "font-medium"),
2347
- children: entry.title || "Untitled"
2354
+ className: cn(
2355
+ "block truncate text-sm",
2356
+ active && "font-semibold",
2357
+ // Hidden entries: muted italic title + an eye-off icon (5.74:1; an
2358
+ // opacity fade was 2.96:1)
2359
+ entry.muted ? "italic text-muted-foreground" : "text-foreground"
2360
+ ),
2361
+ children: [
2362
+ entry.muted && /* @__PURE__ */ jsx19(StudioIcon, { name: "eye-off", size: 12, className: "mr-1 inline-block align-[-1px]" }),
2363
+ entry.title || "Untitled"
2364
+ ]
2348
2365
  }
2349
2366
  ),
2350
2367
  entry.subtitle && /* @__PURE__ */ jsx19("span", { className: "block truncate text-xs text-muted-foreground", children: entry.subtitle })
@@ -2407,7 +2424,7 @@ function StudioOutline({
2407
2424
  {
2408
2425
  type: "button",
2409
2426
  onClick: onAdd,
2410
- className: "flex h-9 w-full items-center justify-center gap-2 rounded-md border border-dashed border-border text-sm font-medium text-muted-foreground hover:border-primary hover:bg-primary/5 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
2427
+ className: "flex h-9 w-full items-center justify-center gap-2 rounded-md border border-dashed border-border text-sm font-medium text-muted-foreground hover:border-primary hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
2411
2428
  children: [
2412
2429
  /* @__PURE__ */ jsx19(StudioIcon, { name: "plus" }),
2413
2430
  addLabel
@@ -2482,8 +2499,10 @@ function StudioCanvas({
2482
2499
  onClick: () => setDevice(d),
2483
2500
  onKeyDown: (e) => deviceKeyDown(e, i),
2484
2501
  className: cn(
2485
- "inline-flex h-7 items-center gap-1.5 rounded-md px-2.5 text-sm font-medium hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
2486
- device === d && "bg-background text-foreground shadow-sm"
2502
+ // segmentedControlItem look (parity with Svelte's SegmentedControl):
2503
+ // a White pill on the Paper track is 1.12:1, Heritage Teal 11.30:1
2504
+ "inline-flex h-7 items-center gap-1.5 rounded-md px-2.5 text-sm font-medium ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
2505
+ device === d ? "bg-primary text-primary-foreground shadow-sm" : "hover:bg-muted-hover hover:text-foreground"
2487
2506
  ),
2488
2507
  children: [
2489
2508
  /* @__PURE__ */ jsx20(StudioIcon, { name: d === "desktop" ? "monitor" : "smartphone" }),
@@ -2564,7 +2583,7 @@ function StudioCanvasItem({
2564
2583
  // Problems are a dashed amber outline: with a red brand primary, a red
2565
2584
  // ring would read as "selected"
2566
2585
  selected ? "ring-2 ring-primary" : "hover:ring-1 hover:ring-border",
2567
- invalid2 && "-outline-offset-2 outline-dashed outline-2 outline-warning/70",
2586
+ invalid2 && "-outline-offset-2 outline-dashed outline-2 outline-destructive",
2568
2587
  className
2569
2588
  ),
2570
2589
  onPointerDownCapture: (e) => {
@@ -2897,7 +2916,7 @@ function IssuesButton({
2897
2916
  "button",
2898
2917
  {
2899
2918
  type: "button",
2900
- className: "flex w-full items-start gap-2 px-3 py-2 text-left text-sm hover:bg-muted-hover focus-visible:bg-muted-hover focus-visible:outline-none",
2919
+ className: "flex w-full items-start gap-2 px-3 py-2 text-left text-sm hover:bg-muted focus-visible:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",
2901
2920
  onClick: () => {
2902
2921
  setOpen(false);
2903
2922
  onSelect?.(issue);
@@ -3083,7 +3102,7 @@ function InsertPalette({
3083
3102
  else all[Math.min(next, all.length - 1)]?.focus();
3084
3103
  },
3085
3104
  className: cn(
3086
- "flex h-full w-full gap-3 rounded-md border border-border p-3 text-left hover:border-primary hover:bg-primary/5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
3105
+ "flex h-full w-full gap-3 rounded-md border border-border p-3 text-left hover:border-primary hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
3087
3106
  renderThumbnail ? "flex-col" : "items-start"
3088
3107
  ),
3089
3108
  children: [
@@ -3642,7 +3661,7 @@ function DataPanelCardHeader({
3642
3661
  showDragHandle && /* @__PURE__ */ jsx26(
3643
3662
  "div",
3644
3663
  {
3645
- className: "absolute top-1.5 left-1/2 -translate-x-1/2 w-10 h-1.5 rounded-full bg-muted-foreground/30 cursor-pointer touch-none",
3664
+ className: "absolute top-1.5 left-1/2 -translate-x-1/2 w-10 h-1.5 rounded-full bg-outline cursor-pointer touch-none",
3646
3665
  role: "button",
3647
3666
  tabIndex: 0,
3648
3667
  "aria-label": isExpanded ? "Collapse panel" : "Expand panel",
@@ -3912,7 +3931,7 @@ var DataPanelTab = React27.forwardRef(
3912
3931
  {
3913
3932
  type: "button",
3914
3933
  "aria-label": `Expand ${title} panel`,
3915
- className: "flex min-w-0 flex-1 flex-col text-left leading-tight hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
3934
+ className: "flex min-w-0 flex-1 flex-col text-left leading-tight underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
3916
3935
  onClick: () => {
3917
3936
  if (pointerHandledRef.current) {
3918
3937
  pointerHandledRef.current = false;
@@ -5039,7 +5058,7 @@ var DataPanel = React27.forwardRef(
5039
5058
  "div",
5040
5059
  {
5041
5060
  className: cn(
5042
- "fixed z-40 bg-primary/20 border-2 border-primary border-dashed transition-all",
5061
+ "fixed z-40 bg-accent/50 border-2 border-primary border-dashed transition-all",
5043
5062
  snapPreview === "left" && "left-0 top-0 bottom-0 w-80",
5044
5063
  snapPreview === "right" && "right-0 top-0 bottom-0 w-80",
5045
5064
  snapPreview === "top" && "top-0 left-0 right-0 h-64",
@@ -5050,7 +5069,7 @@ var DataPanel = React27.forwardRef(
5050
5069
  variant === "card" && isExpanded && isMobile && /* @__PURE__ */ jsx26(
5051
5070
  "div",
5052
5071
  {
5053
- className: "fixed inset-0 z-40 bg-black/50 transition-opacity",
5072
+ className: "fixed inset-0 z-40 bg-foreground/60 transition-opacity",
5054
5073
  "aria-hidden": "true",
5055
5074
  onClick: handleToggleExpand
5056
5075
  }
@@ -5464,7 +5483,7 @@ var LoadingOverlay = React32.forwardRef(
5464
5483
  }
5465
5484
  );
5466
5485
  }
5467
- const bgClass = opaque ? "bg-background" : mode === "fullscreen" ? "bg-background/80" : "bg-background/60";
5486
+ const bgClass = opaque ? "bg-background" : "bg-background/90";
5468
5487
  const positionClass = mode === "fullscreen" ? "fixed inset-0 z-50" : "absolute inset-0 z-10";
5469
5488
  return /* @__PURE__ */ jsxs25(Fragment9, { children: [
5470
5489
  children,
@@ -6469,7 +6488,7 @@ var ChevronIcon = () => /* @__PURE__ */ jsx41(
6469
6488
  strokeWidth: "2",
6470
6489
  strokeLinecap: "round",
6471
6490
  strokeLinejoin: "round",
6472
- className: "h-4 w-4 opacity-50",
6491
+ className: "h-4 w-4 text-muted-foreground",
6473
6492
  "aria-hidden": "true",
6474
6493
  children: /* @__PURE__ */ jsx41("path", { d: "m6 9 6 6 6-6" })
6475
6494
  }
@@ -6502,7 +6521,7 @@ function Item3({ option }) {
6502
6521
  /* @__PURE__ */ jsx41("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx41(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx41(CheckIcon, {}) }) }),
6503
6522
  option.description ? /* @__PURE__ */ jsxs32("span", { className: "flex min-w-0 flex-col", children: [
6504
6523
  /* @__PURE__ */ jsx41(SelectPrimitive.ItemText, { children: /* @__PURE__ */ jsx41("span", { className: "truncate", children: option.label }) }),
6505
- /* @__PURE__ */ jsx41("span", { className: "truncate text-xs text-muted-foreground group-data-[highlighted]:text-accent-foreground/80", children: option.description })
6524
+ /* @__PURE__ */ jsx41("span", { className: "truncate text-xs text-muted-foreground group-data-[highlighted]:text-accent-foreground", children: option.description })
6506
6525
  ] }) : /* @__PURE__ */ jsx41(SelectPrimitive.ItemText, { children: option.label })
6507
6526
  ]
6508
6527
  }
@@ -6741,7 +6760,7 @@ function Tabs({
6741
6760
  {
6742
6761
  className: cn(
6743
6762
  "min-w-5 rounded-full px-1.5 py-0.5 text-center text-xs font-medium leading-none tabular-nums",
6744
- active ? "bg-muted text-foreground" : "bg-muted-foreground/20"
6763
+ active ? "bg-muted text-foreground" : "bg-accent text-accent-foreground"
6745
6764
  ),
6746
6765
  "aria-hidden": "true",
6747
6766
  "data-tab-badge": "",
@@ -7530,7 +7549,14 @@ function ItemContent({ item }) {
7530
7549
  item.icon && /* @__PURE__ */ jsx51(Icon, { name: item.icon, size: 16, className: "mr-2 shrink-0" }),
7531
7550
  item.label,
7532
7551
  item.shortcut && /* @__PURE__ */ jsxs42(Fragment15, { children: [
7533
- /* @__PURE__ */ jsx51("span", { className: "ml-auto pl-4 text-xs tracking-widest opacity-60", "aria-hidden": "true", children: item.shortcut }),
7552
+ /* @__PURE__ */ jsx51(
7553
+ "span",
7554
+ {
7555
+ className: "ml-auto pl-4 text-xs tracking-widest text-muted-foreground",
7556
+ "aria-hidden": "true",
7557
+ children: item.shortcut
7558
+ }
7559
+ ),
7534
7560
  /* @__PURE__ */ jsxs42("span", { className: "sr-only", children: [
7535
7561
  ", keyboard shortcut ",
7536
7562
  item.shortcut
@@ -7630,7 +7656,7 @@ function DropdownMenu({
7630
7656
  name: "chevron-down",
7631
7657
  size: 16,
7632
7658
  className: cn(
7633
- "ml-1 shrink-0 opacity-60 transition-transform duration-200 motion-reduce:transition-none",
7659
+ "ml-1 shrink-0 transition-transform duration-200 motion-reduce:transition-none",
7634
7660
  open && "rotate-180"
7635
7661
  )
7636
7662
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classic-homes/theme-react",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "React components for the Classic theme system",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",