@polastack/design-system 0.1.0 → 0.1.2

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
@@ -262,14 +262,14 @@ import * as React3 from "react";
262
262
  import { cva } from "class-variance-authority";
263
263
  import { jsx as jsx2 } from "react/jsx-runtime";
264
264
  var buttonVariants = cva(
265
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors duration-fast focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[--color-ring] focus-visible:ring-offset-2 ring-offset-[--color-ring-offset] disabled:pointer-events-none disabled:opacity-50 touch:min-h-[--touch-target-min]",
265
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors duration-fast focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-ring)] focus-visible:ring-offset-2 ring-offset-[var(--color-ring-offset)] disabled:pointer-events-none disabled:opacity-50 touch:min-h-[--touch-target-min]",
266
266
  {
267
267
  variants: {
268
268
  variant: {
269
269
  default: "bg-primary-500 text-white hover:bg-primary-600 active:bg-primary-700",
270
270
  destructive: "bg-error-500 text-white hover:bg-error-600 active:bg-error-700",
271
- outline: "border border-[--color-border-input] bg-[--color-surface-raised] text-[--color-on-surface] hover:bg-[--color-surface-sunken] active:bg-[--color-surface-muted]",
272
- ghost: "text-[--color-on-surface] hover:bg-[--color-surface-muted] active:bg-neutral-200 dark:active:bg-neutral-700",
271
+ outline: "border border-[var(--color-border-input)] bg-[var(--color-surface-raised)] text-[var(--color-on-surface)] hover:bg-[var(--color-surface-sunken)] active:bg-[var(--color-surface-muted)]",
272
+ ghost: "text-[var(--color-on-surface)] hover:bg-[var(--color-surface-muted)] active:bg-neutral-200 dark:active:bg-neutral-700",
273
273
  link: "text-primary-500 underline-offset-4 hover:underline"
274
274
  },
275
275
  size: {
@@ -311,7 +311,7 @@ var badgeVariants = cva2(
311
311
  warning: "bg-warning-100 text-warning-700 dark:bg-warning-950 dark:text-warning-300",
312
312
  error: "bg-error-100 text-error-700 dark:bg-error-950 dark:text-error-300",
313
313
  info: "bg-info-100 text-info-700 dark:bg-info-950 dark:text-info-300",
314
- outline: "border border-[--color-border-input] text-[--color-on-surface-secondary]"
314
+ outline: "border border-[var(--color-border-input)] text-[var(--color-on-surface-secondary)]"
315
315
  }
316
316
  },
317
317
  defaultVariants: {
@@ -399,7 +399,7 @@ var AvatarFallback = React5.forwardRef(({ className, ...props }, ref) => {
399
399
  {
400
400
  ref,
401
401
  className: cn(
402
- "flex h-full w-full items-center justify-center rounded-full bg-[--color-surface-muted] font-medium text-[--color-on-surface-secondary]",
402
+ "flex h-full w-full items-center justify-center rounded-full bg-[var(--color-surface-muted)] font-medium text-[var(--color-on-surface-secondary)]",
403
403
  className
404
404
  ),
405
405
  ...props
@@ -419,7 +419,7 @@ var Separator = React6.forwardRef(
419
419
  role: decorative ? "none" : "separator",
420
420
  "aria-orientation": decorative ? void 0 : orientation,
421
421
  className: cn(
422
- "shrink-0 bg-[--color-border]",
422
+ "shrink-0 bg-[var(--color-border)]",
423
423
  orientation === "horizontal" ? "h-px w-full" : "w-px self-stretch",
424
424
  className
425
425
  ),
@@ -438,7 +438,7 @@ var Skeleton = React7.forwardRef(
438
438
  {
439
439
  ref,
440
440
  "aria-hidden": "true",
441
- className: cn("animate-pulse rounded-md bg-[--color-skeleton]", className),
441
+ className: cn("animate-pulse rounded-md bg-[var(--color-skeleton)]", className),
442
442
  ...props
443
443
  }
444
444
  )
@@ -506,7 +506,7 @@ var Card = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ j
506
506
  {
507
507
  ref,
508
508
  className: cn(
509
- "rounded-xl border border-[--color-border] bg-[--color-surface-raised] shadow-sm",
509
+ "rounded-xl border border-[var(--color-border)] bg-[var(--color-surface-raised)] shadow-sm",
510
510
  className
511
511
  ),
512
512
  ...props
@@ -535,7 +535,7 @@ var CardDescription = React9.forwardRef(({ className, ...props }, ref) => /* @__
535
535
  "p",
536
536
  {
537
537
  ref,
538
- className: cn("text-sm text-[--color-on-surface-muted]", className),
538
+ className: cn("text-sm text-[var(--color-on-surface-muted)]", className),
539
539
  ...props
540
540
  }
541
541
  ));
@@ -565,7 +565,7 @@ var TooltipContent = React10.forwardRef(({ className, sideOffset = 4, ...props }
565
565
  ref,
566
566
  sideOffset,
567
567
  className: cn(
568
- "z-tooltip overflow-hidden rounded-md bg-[--color-tooltip-bg] px-3 py-1.5 text-xs text-[--color-tooltip-text] shadow-md",
568
+ "z-tooltip overflow-hidden rounded-md bg-[var(--color-tooltip-bg)] px-3 py-1.5 text-xs text-[var(--color-tooltip-text)] shadow-md",
569
569
  "animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
570
570
  "data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
571
571
  "touch:hidden",
@@ -599,7 +599,7 @@ var toastVariants = cva5(
599
599
  {
600
600
  variants: {
601
601
  variant: {
602
- default: "border-[--color-border] bg-[--color-surface-raised] text-[--color-on-surface]",
602
+ default: "border-[var(--color-border)] bg-[var(--color-surface-raised)] text-[var(--color-on-surface)]",
603
603
  success: "border-success-200 bg-success-50 text-success-900 dark:border-success-800 dark:bg-success-950 dark:text-success-200",
604
604
  error: "border-error-200 bg-error-50 text-error-900 dark:border-error-800 dark:bg-error-950 dark:text-error-200"
605
605
  }
@@ -623,7 +623,7 @@ var ToastAction = React11.forwardRef(({ className, ...props }, ref) => /* @__PUR
623
623
  {
624
624
  ref,
625
625
  className: cn(
626
- "inline-flex h-8 shrink-0 items-center justify-center rounded-md border border-[--color-border] bg-transparent px-3 text-xs font-medium transition-colors hover:bg-[--color-surface-muted] focus:outline-none focus:ring-2 focus:ring-[--color-ring] focus:ring-offset-2 ring-offset-[--color-ring-offset] disabled:pointer-events-none disabled:opacity-50",
626
+ "inline-flex h-8 shrink-0 items-center justify-center rounded-md border border-[var(--color-border)] bg-transparent px-3 text-xs font-medium transition-colors hover:bg-[var(--color-surface-muted)] focus:outline-none focus:ring-2 focus:ring-[var(--color-ring)] focus:ring-offset-2 ring-offset-[var(--color-ring-offset)] disabled:pointer-events-none disabled:opacity-50",
627
627
  className
628
628
  ),
629
629
  ...props
@@ -635,7 +635,7 @@ var ToastClose = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE
635
635
  {
636
636
  ref,
637
637
  className: cn(
638
- "absolute right-2 top-2 rounded-md p-1 text-[--color-on-surface-muted] opacity-0 transition-opacity hover:text-[--color-on-surface] focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100",
638
+ "absolute right-2 top-2 rounded-md p-1 text-[var(--color-on-surface-muted)] opacity-0 transition-opacity hover:text-[var(--color-on-surface)] focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100",
639
639
  className
640
640
  ),
641
641
  "toast-close": "",
@@ -794,7 +794,7 @@ var Label = React13.forwardRef(({ className, required, children, ...props }, ref
794
794
  {
795
795
  ref,
796
796
  className: cn(
797
- "text-sm font-medium text-[--color-on-surface] peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
797
+ "text-sm font-medium text-[var(--color-on-surface)] peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
798
798
  className
799
799
  ),
800
800
  ...props,
@@ -811,7 +811,7 @@ import * as React14 from "react";
811
811
  import { cva as cva6 } from "class-variance-authority";
812
812
  import { jsx as jsx13 } from "react/jsx-runtime";
813
813
  var inputVariants = cva6(
814
- "flex w-full rounded-md border border-[--color-border-input] bg-[--color-surface-raised] px-3 text-[--color-on-surface] transition-colors duration-fast file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-[--color-on-surface-muted] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[--color-ring] focus-visible:ring-offset-2 ring-offset-[--color-ring-offset] disabled:cursor-not-allowed disabled:opacity-50 aria-[invalid=true]:border-error-500 aria-[invalid=true]:focus-visible:ring-error-500 touch:min-h-[--touch-target-min]",
814
+ "flex w-full rounded-md border border-[var(--color-border-input)] bg-[var(--color-surface-raised)] px-3 text-[var(--color-on-surface)] transition-colors duration-fast file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-[var(--color-on-surface-muted)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-ring)] focus-visible:ring-offset-2 ring-offset-[var(--color-ring-offset)] disabled:cursor-not-allowed disabled:opacity-50 aria-[invalid=true]:border-error-500 aria-[invalid=true]:focus-visible:ring-error-500 touch:min-h-[--touch-target-min]",
815
815
  {
816
816
  variants: {
817
817
  size: {
@@ -843,7 +843,7 @@ import * as React15 from "react";
843
843
  import { cva as cva7 } from "class-variance-authority";
844
844
  import { jsx as jsx14 } from "react/jsx-runtime";
845
845
  var textareaVariants = cva7(
846
- "flex w-full resize-y rounded-md border border-[--color-border-input] bg-[--color-surface-raised] px-3 py-2 text-[--color-on-surface] transition-colors duration-fast placeholder:text-[--color-on-surface-muted] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[--color-ring] focus-visible:ring-offset-2 ring-offset-[--color-ring-offset] disabled:cursor-not-allowed disabled:opacity-50 aria-[invalid=true]:border-error-500 aria-[invalid=true]:focus-visible:ring-error-500",
846
+ "flex w-full resize-y rounded-md border border-[var(--color-border-input)] bg-[var(--color-surface-raised)] px-3 py-2 text-[var(--color-on-surface)] transition-colors duration-fast placeholder:text-[var(--color-on-surface-muted)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-ring)] focus-visible:ring-offset-2 ring-offset-[var(--color-ring-offset)] disabled:cursor-not-allowed disabled:opacity-50 aria-[invalid=true]:border-error-500 aria-[invalid=true]:focus-visible:ring-error-500",
847
847
  {
848
848
  variants: {
849
849
  size: {
@@ -878,8 +878,8 @@ var Checkbox = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__
878
878
  {
879
879
  ref,
880
880
  className: cn(
881
- "peer h-4 w-4 shrink-0 rounded-sm border border-[--color-border-input] transition-colors duration-fast",
882
- "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[--color-ring] focus-visible:ring-offset-2 ring-offset-[--color-ring-offset]",
881
+ "peer h-4 w-4 shrink-0 rounded-sm border border-[var(--color-border-input)] transition-colors duration-fast",
882
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-ring)] focus-visible:ring-offset-2 ring-offset-[var(--color-ring-offset)]",
883
883
  "disabled:cursor-not-allowed disabled:opacity-50",
884
884
  "data-[state=checked]:border-primary-500 data-[state=checked]:bg-primary-500 data-[state=checked]:text-white",
885
885
  "data-[state=indeterminate]:border-primary-500 data-[state=indeterminate]:bg-primary-500 data-[state=indeterminate]:text-white",
@@ -935,8 +935,8 @@ var RadioGroupItem = React17.forwardRef(({ className, ...props }, ref) => /* @__
935
935
  {
936
936
  ref,
937
937
  className: cn(
938
- "aspect-square h-4 w-4 rounded-full border border-[--color-border-input] transition-colors duration-fast",
939
- "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[--color-ring] focus-visible:ring-offset-2 ring-offset-[--color-ring-offset]",
938
+ "aspect-square h-4 w-4 rounded-full border border-[var(--color-border-input)] transition-colors duration-fast",
939
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-ring)] focus-visible:ring-offset-2 ring-offset-[var(--color-ring-offset)]",
940
940
  "disabled:cursor-not-allowed disabled:opacity-50",
941
941
  "data-[state=checked]:border-primary-500",
942
942
  "touch:min-h-[--touch-target-min] touch:min-w-[--touch-target-min]",
@@ -964,7 +964,7 @@ import * as SwitchPrimitive from "@radix-ui/react-switch";
964
964
  import { cva as cva8 } from "class-variance-authority";
965
965
  import { jsx as jsx17 } from "react/jsx-runtime";
966
966
  var switchVariants = cva8(
967
- "peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors duration-fast focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[--color-ring] focus-visible:ring-offset-2 ring-offset-[--color-ring-offset] disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary-500 data-[state=unchecked]:bg-neutral-300 dark:data-[state=unchecked]:bg-neutral-600 touch:min-h-[--touch-target-min]",
967
+ "peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors duration-fast focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-ring)] focus-visible:ring-offset-2 ring-offset-[var(--color-ring-offset)] disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary-500 data-[state=unchecked]:bg-neutral-300 dark:data-[state=unchecked]:bg-neutral-600 touch:min-h-[--touch-target-min]",
968
968
  {
969
969
  variants: {
970
970
  size: {
@@ -1016,9 +1016,9 @@ var SelectTrigger = React19.forwardRef(({ className, children, ...props }, ref)
1016
1016
  {
1017
1017
  ref,
1018
1018
  className: cn(
1019
- "flex h-9 w-full items-center justify-between rounded-md border border-[--color-border-input] bg-[--color-surface-raised] px-3 text-sm text-[--color-on-surface] transition-colors duration-fast",
1020
- "placeholder:text-[--color-on-surface-muted]",
1021
- "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[--color-ring] focus-visible:ring-offset-2 ring-offset-[--color-ring-offset]",
1019
+ "flex h-9 w-full items-center justify-between rounded-md border border-[var(--color-border-input)] bg-[var(--color-surface-raised)] px-3 text-sm text-[var(--color-on-surface)] transition-colors duration-fast",
1020
+ "placeholder:text-[var(--color-on-surface-muted)]",
1021
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-ring)] focus-visible:ring-offset-2 ring-offset-[var(--color-ring-offset)]",
1022
1022
  "disabled:cursor-not-allowed disabled:opacity-50",
1023
1023
  "aria-[invalid=true]:border-error-500 aria-[invalid=true]:focus-visible:ring-error-500",
1024
1024
  "touch:min-h-[--touch-target-min]",
@@ -1051,7 +1051,7 @@ var SelectContent = React19.forwardRef(({ className, children, position = "poppe
1051
1051
  {
1052
1052
  ref,
1053
1053
  className: cn(
1054
- "relative z-popover max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-[--color-border] bg-[--color-surface-raised] shadow-md",
1054
+ "relative z-popover max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-[var(--color-border)] bg-[var(--color-surface-raised)] shadow-md",
1055
1055
  "animate-in fade-in-0 zoom-in-95",
1056
1056
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
1057
1057
  "data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2",
@@ -1079,7 +1079,7 @@ var SelectItem = React19.forwardRef(({ className, children, ...props }, ref) =>
1079
1079
  ref,
1080
1080
  className: cn(
1081
1081
  "relative flex w-full cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none",
1082
- "focus:bg-[--color-surface-muted]",
1082
+ "focus:bg-[var(--color-surface-muted)]",
1083
1083
  "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1084
1084
  className
1085
1085
  ),
@@ -1108,7 +1108,7 @@ var SelectLabel = React19.forwardRef(({ className, ...props }, ref) => /* @__PUR
1108
1108
  SelectPrimitive.Label,
1109
1109
  {
1110
1110
  ref,
1111
- className: cn("px-2 py-1.5 text-xs font-medium text-[--color-on-surface-muted]", className),
1111
+ className: cn("px-2 py-1.5 text-xs font-medium text-[var(--color-on-surface-muted)]", className),
1112
1112
  ...props
1113
1113
  }
1114
1114
  ));
@@ -1117,7 +1117,7 @@ var SelectSeparator = React19.forwardRef(({ className, ...props }, ref) => /* @_
1117
1117
  SelectPrimitive.Separator,
1118
1118
  {
1119
1119
  ref,
1120
- className: cn("-mx-1 my-1 h-px bg-[--color-border]", className),
1120
+ className: cn("-mx-1 my-1 h-px bg-[var(--color-border)]", className),
1121
1121
  ...props
1122
1122
  }
1123
1123
  ));
@@ -1128,7 +1128,7 @@ import * as React20 from "react";
1128
1128
  import { cva as cva9 } from "class-variance-authority";
1129
1129
  import { jsx as jsx19, jsxs as jsxs6 } from "react/jsx-runtime";
1130
1130
  var numberInputVariants = cva9(
1131
- "flex w-full rounded-md border border-[--color-border-input] bg-[--color-surface-raised] text-[--color-on-surface] transition-colors duration-fast focus-within:ring-2 focus-within:ring-[--color-ring] focus-within:ring-offset-2 ring-offset-[--color-ring-offset] aria-[invalid=true]:border-error-500 aria-[invalid=true]:focus-within:ring-error-500",
1131
+ "flex w-full rounded-md border border-[var(--color-border-input)] bg-[var(--color-surface-raised)] text-[var(--color-on-surface)] transition-colors duration-fast focus-within:ring-2 focus-within:ring-[var(--color-ring)] focus-within:ring-offset-2 ring-offset-[var(--color-ring-offset)] aria-[invalid=true]:border-error-500 aria-[invalid=true]:focus-within:ring-error-500",
1132
1132
  {
1133
1133
  variants: {
1134
1134
  size: {
@@ -1250,7 +1250,7 @@ var NumberInput = React20.forwardRef(
1250
1250
  ...props
1251
1251
  }
1252
1252
  ),
1253
- !readOnly && !disabled && /* @__PURE__ */ jsxs6("div", { className: "flex flex-col border-l border-[--color-border-input]", children: [
1253
+ !readOnly && !disabled && /* @__PURE__ */ jsxs6("div", { className: "flex flex-col border-l border-[var(--color-border-input)]", children: [
1254
1254
  /* @__PURE__ */ jsx19(
1255
1255
  "button",
1256
1256
  {
@@ -1258,7 +1258,7 @@ var NumberInput = React20.forwardRef(
1258
1258
  tabIndex: -1,
1259
1259
  onClick: increment,
1260
1260
  disabled: max != null && parseFloat(displayValue) >= max,
1261
- className: "flex flex-1 items-center justify-center px-1.5 text-[--color-on-surface-muted] hover:bg-[--color-surface-muted] disabled:opacity-30",
1261
+ className: "flex flex-1 items-center justify-center px-1.5 text-[var(--color-on-surface-muted)] hover:bg-[var(--color-surface-muted)] disabled:opacity-30",
1262
1262
  "aria-label": "Increment",
1263
1263
  children: /* @__PURE__ */ jsx19(
1264
1264
  "svg",
@@ -1283,7 +1283,7 @@ var NumberInput = React20.forwardRef(
1283
1283
  tabIndex: -1,
1284
1284
  onClick: decrement,
1285
1285
  disabled: min != null && parseFloat(displayValue) <= min,
1286
- className: "flex flex-1 items-center justify-center border-t border-[--color-border-input] px-1.5 text-[--color-on-surface-muted] hover:bg-[--color-surface-muted] disabled:opacity-30",
1286
+ className: "flex flex-1 items-center justify-center border-t border-[var(--color-border-input)] px-1.5 text-[var(--color-on-surface-muted)] hover:bg-[var(--color-surface-muted)] disabled:opacity-30",
1287
1287
  "aria-label": "Decrement",
1288
1288
  children: /* @__PURE__ */ jsx19(
1289
1289
  "svg",
@@ -1358,7 +1358,7 @@ var Combobox = React22.forwardRef(
1358
1358
  "aria-expanded": open,
1359
1359
  disabled,
1360
1360
  className: cn(
1361
- "flex h-9 w-full items-center justify-between rounded-md border border-[--color-border-input] bg-[--color-surface-raised] px-3 text-sm text-[--color-on-surface] transition-colors duration-fast",
1361
+ "flex h-9 w-full items-center justify-between rounded-md border border-[var(--color-border-input)] bg-[var(--color-surface-raised)] px-3 text-sm text-[var(--color-on-surface)] transition-colors duration-fast",
1362
1362
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2",
1363
1363
  "disabled:cursor-not-allowed disabled:opacity-50",
1364
1364
  "aria-[invalid=true]:border-error-500 aria-[invalid=true]:focus-visible:ring-error-500",
@@ -1367,7 +1367,7 @@ var Combobox = React22.forwardRef(
1367
1367
  ),
1368
1368
  ...props,
1369
1369
  children: [
1370
- /* @__PURE__ */ jsx21("span", { className: cn(!selectedOption && "text-[--color-on-surface-muted]"), children: selectedOption?.label ?? placeholder }),
1370
+ /* @__PURE__ */ jsx21("span", { className: cn(!selectedOption && "text-[var(--color-on-surface-muted)]"), children: selectedOption?.label ?? placeholder }),
1371
1371
  /* @__PURE__ */ jsxs7(
1372
1372
  "svg",
1373
1373
  {
@@ -1392,7 +1392,7 @@ var Combobox = React22.forwardRef(
1392
1392
  /* @__PURE__ */ jsx21(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx21(
1393
1393
  PopoverPrimitive.Content,
1394
1394
  {
1395
- className: "z-popover w-[var(--radix-popover-trigger-width)] rounded-md border border-[--color-border] bg-[--color-surface-raised] p-0 shadow-md animate-in fade-in-0 zoom-in-95",
1395
+ className: "z-popover w-[var(--radix-popover-trigger-width)] rounded-md border border-[var(--color-border)] bg-[var(--color-surface-raised)] p-0 shadow-md animate-in fade-in-0 zoom-in-95",
1396
1396
  sideOffset: 4,
1397
1397
  align: "start",
1398
1398
  children: /* @__PURE__ */ jsxs7(Command, { shouldFilter: true, children: [
@@ -1402,11 +1402,11 @@ var Combobox = React22.forwardRef(
1402
1402
  value: search,
1403
1403
  onValueChange: setSearch,
1404
1404
  placeholder: searchPlaceholder,
1405
- className: "flex h-9 w-full border-b border-[--color-border] bg-transparent px-3 text-sm outline-none placeholder:text-[--color-on-surface-muted]"
1405
+ className: "flex h-9 w-full border-b border-[var(--color-border)] bg-transparent px-3 text-sm outline-none placeholder:text-[var(--color-on-surface-muted)]"
1406
1406
  }
1407
1407
  ),
1408
1408
  /* @__PURE__ */ jsxs7(Command.List, { className: "max-h-60 overflow-auto p-1", children: [
1409
- /* @__PURE__ */ jsx21(Command.Empty, { className: "px-2 py-6 text-center text-sm text-[--color-on-surface-muted]", children: emptyMessage }),
1409
+ /* @__PURE__ */ jsx21(Command.Empty, { className: "px-2 py-6 text-center text-sm text-[var(--color-on-surface-muted)]", children: emptyMessage }),
1410
1410
  options.map((option) => /* @__PURE__ */ jsxs7(
1411
1411
  Command.Item,
1412
1412
  {
@@ -1421,7 +1421,7 @@ var Combobox = React22.forwardRef(
1421
1421
  },
1422
1422
  className: cn(
1423
1423
  "relative flex w-full cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none",
1424
- "data-[selected=true]:bg-[--color-surface-muted]",
1424
+ "data-[selected=true]:bg-[var(--color-surface-muted)]",
1425
1425
  "data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50"
1426
1426
  ),
1427
1427
  children: [
@@ -1511,7 +1511,7 @@ var FormDescription = React23.forwardRef(({ className, ...props }, ref) => {
1511
1511
  {
1512
1512
  ref,
1513
1513
  id: descriptionId,
1514
- className: cn("text-xs text-[--color-on-surface-muted]", className),
1514
+ className: cn("text-xs text-[var(--color-on-surface-muted)]", className),
1515
1515
  ...props
1516
1516
  }
1517
1517
  );
@@ -1763,8 +1763,8 @@ var FormSection = React25.forwardRef(({ className, title, description, children,
1763
1763
  className: cn("space-y-4 border-0 p-0", className),
1764
1764
  ...props,
1765
1765
  children: [
1766
- /* @__PURE__ */ jsx24("legend", { className: "text-sm font-semibold text-[--color-on-surface]", children: title }),
1767
- description && /* @__PURE__ */ jsx24("p", { className: "-mt-2 text-xs text-[--color-on-surface-muted]", children: description }),
1766
+ /* @__PURE__ */ jsx24("legend", { className: "text-sm font-semibold text-[var(--color-on-surface)]", children: title }),
1767
+ description && /* @__PURE__ */ jsx24("p", { className: "-mt-2 text-xs text-[var(--color-on-surface-muted)]", children: description }),
1768
1768
  children
1769
1769
  ]
1770
1770
  }
@@ -1782,7 +1782,7 @@ var FormActions = React25.forwardRef(
1782
1782
  {
1783
1783
  ref,
1784
1784
  className: cn(
1785
- "flex items-center gap-3 pt-4 border-t border-[--color-border]",
1785
+ "flex items-center gap-3 pt-4 border-t border-[var(--color-border)]",
1786
1786
  alignClasses[align],
1787
1787
  className
1788
1788
  ),
@@ -1804,8 +1804,8 @@ var tabsListVariants = cva11(
1804
1804
  {
1805
1805
  variants: {
1806
1806
  variant: {
1807
- default: "rounded-lg bg-[--color-surface-muted] p-1",
1808
- underline: "border-b border-[--color-border] bg-transparent"
1807
+ default: "rounded-lg bg-[var(--color-surface-muted)] p-1",
1808
+ underline: "border-b border-[var(--color-border)] bg-transparent"
1809
1809
  }
1810
1810
  },
1811
1811
  defaultVariants: { variant: "default" }
@@ -1822,8 +1822,8 @@ var TabsList = React26.forwardRef(({ className, variant = "default", ...props },
1822
1822
  TabsList.displayName = "TabsList";
1823
1823
  var tabsTriggerBase = "inline-flex items-center justify-center whitespace-nowrap px-3 py-1.5 text-sm font-medium transition-all duration-fast focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 touch:min-h-[--touch-target-min]";
1824
1824
  var tabsTriggerVariantStyles = {
1825
- default: "rounded-md data-[state=active]:bg-[--color-surface-raised] data-[state=active]:shadow-sm data-[state=active]:text-[--color-on-surface] text-[--color-on-surface-secondary]",
1826
- underline: "border-b-2 border-transparent rounded-none data-[state=active]:border-primary-500 data-[state=active]:text-[--color-on-surface] text-[--color-on-surface-secondary]"
1825
+ default: "rounded-md data-[state=active]:bg-[var(--color-surface-raised)] data-[state=active]:shadow-sm data-[state=active]:text-[var(--color-on-surface)] text-[var(--color-on-surface-secondary)]",
1826
+ underline: "border-b-2 border-transparent rounded-none data-[state=active]:border-primary-500 data-[state=active]:text-[var(--color-on-surface)] text-[var(--color-on-surface-secondary)]"
1827
1827
  };
1828
1828
  var TabsTrigger = React26.forwardRef(({ className, ...props }, ref) => {
1829
1829
  const { variant } = useTabsVariant();
@@ -1886,7 +1886,7 @@ var EmptyStateIcon = React27.forwardRef(({ className, ...props }, ref) => /* @__
1886
1886
  "div",
1887
1887
  {
1888
1888
  ref,
1889
- className: cn("text-[--color-on-surface-muted] [&>svg]:h-10 [&>svg]:w-10", className),
1889
+ className: cn("text-[var(--color-on-surface-muted)] [&>svg]:h-10 [&>svg]:w-10", className),
1890
1890
  ...props
1891
1891
  }
1892
1892
  ));
@@ -1895,7 +1895,7 @@ var EmptyStateTitle = React27.forwardRef(({ className, ...props }, ref) => /* @_
1895
1895
  "h3",
1896
1896
  {
1897
1897
  ref,
1898
- className: cn("text-base font-semibold text-[--color-on-surface]", className),
1898
+ className: cn("text-base font-semibold text-[var(--color-on-surface)]", className),
1899
1899
  ...props
1900
1900
  }
1901
1901
  ));
@@ -1904,7 +1904,7 @@ var EmptyStateDescription = React27.forwardRef(({ className, ...props }, ref) =>
1904
1904
  "p",
1905
1905
  {
1906
1906
  ref,
1907
- className: cn("text-sm text-[--color-on-surface-muted] max-w-sm", className),
1907
+ className: cn("text-sm text-[var(--color-on-surface-muted)] max-w-sm", className),
1908
1908
  ...props
1909
1909
  }
1910
1910
  ));
@@ -1947,7 +1947,7 @@ var TableFooter = React28.forwardRef(({ className, ...props }, ref) => /* @__PUR
1947
1947
  {
1948
1948
  ref,
1949
1949
  className: cn(
1950
- "border-t bg-[--color-surface-sunken] font-medium [&>tr]:last:border-b-0",
1950
+ "border-t bg-[var(--color-surface-sunken)] font-medium [&>tr]:last:border-b-0",
1951
1951
  className
1952
1952
  ),
1953
1953
  ...props
@@ -1959,7 +1959,7 @@ var TableRow = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__
1959
1959
  {
1960
1960
  ref,
1961
1961
  className: cn(
1962
- "border-b border-[--color-border] transition-colors hover:bg-[--color-surface-sunken] data-[state=selected]:bg-primary-50 dark:data-[state=selected]:bg-primary-950",
1962
+ "border-b border-[var(--color-border)] transition-colors hover:bg-[var(--color-surface-sunken)] data-[state=selected]:bg-primary-50 dark:data-[state=selected]:bg-primary-950",
1963
1963
  className
1964
1964
  ),
1965
1965
  ...props
@@ -1971,7 +1971,7 @@ var TableHead = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE_
1971
1971
  {
1972
1972
  ref,
1973
1973
  className: cn(
1974
- "h-10 px-3 text-left align-middle text-xs font-medium text-[--color-on-surface-muted] uppercase tracking-wider [&:has([role=checkbox])]:pr-0",
1974
+ "h-10 px-3 text-left align-middle text-xs font-medium text-[var(--color-on-surface-muted)] uppercase tracking-wider [&:has([role=checkbox])]:pr-0",
1975
1975
  className
1976
1976
  ),
1977
1977
  ...props
@@ -1994,7 +1994,7 @@ var TableCaption = React28.forwardRef(({ className, ...props }, ref) => /* @__PU
1994
1994
  "caption",
1995
1995
  {
1996
1996
  ref,
1997
- className: cn("mt-4 text-sm text-[--color-on-surface-muted]", className),
1997
+ className: cn("mt-4 text-sm text-[var(--color-on-surface-muted)]", className),
1998
1998
  ...props
1999
1999
  }
2000
2000
  ));
@@ -2025,7 +2025,7 @@ function DataTablePagination({
2025
2025
  "div",
2026
2026
  {
2027
2027
  className: cn(
2028
- "flex items-center justify-between px-3 py-3 text-sm text-[--color-on-surface-secondary]",
2028
+ "flex items-center justify-between px-3 py-3 text-sm text-[var(--color-on-surface-secondary)]",
2029
2029
  className
2030
2030
  ),
2031
2031
  children: [
@@ -2036,7 +2036,7 @@ function DataTablePagination({
2036
2036
  {
2037
2037
  value: pageSize,
2038
2038
  onChange: (e) => table.setPageSize(Number(e.target.value)),
2039
- className: "h-8 rounded-md border border-[--color-border-input] bg-[--color-surface-raised] px-2 text-sm",
2039
+ className: "h-8 rounded-md border border-[var(--color-border-input)] bg-[var(--color-surface-raised)] px-2 text-sm",
2040
2040
  "aria-label": "Rows per page",
2041
2041
  children: pageSizeOptions.map((size) => /* @__PURE__ */ jsx28("option", { value: size, children: size }, size))
2042
2042
  }
@@ -2048,7 +2048,7 @@ function DataTablePagination({
2048
2048
  /* @__PURE__ */ jsx28(
2049
2049
  "button",
2050
2050
  {
2051
- className: "inline-flex h-8 w-8 items-center justify-center rounded-md border border-[--color-border-input] bg-[--color-surface-raised] transition-colors hover:bg-[--color-surface-sunken] disabled:opacity-50 disabled:pointer-events-none",
2051
+ className: "inline-flex h-8 w-8 items-center justify-center rounded-md border border-[var(--color-border-input)] bg-[var(--color-surface-raised)] transition-colors hover:bg-[var(--color-surface-sunken)] disabled:opacity-50 disabled:pointer-events-none",
2052
2052
  onClick: () => table.previousPage(),
2053
2053
  disabled: !table.getCanPreviousPage(),
2054
2054
  "aria-label": "Previous page",
@@ -2071,7 +2071,7 @@ function DataTablePagination({
2071
2071
  /* @__PURE__ */ jsx28(
2072
2072
  "button",
2073
2073
  {
2074
- className: "inline-flex h-8 w-8 items-center justify-center rounded-md border border-[--color-border-input] bg-[--color-surface-raised] transition-colors hover:bg-[--color-surface-sunken] disabled:opacity-50 disabled:pointer-events-none",
2074
+ className: "inline-flex h-8 w-8 items-center justify-center rounded-md border border-[var(--color-border-input)] bg-[var(--color-surface-raised)] transition-colors hover:bg-[var(--color-surface-sunken)] disabled:opacity-50 disabled:pointer-events-none",
2075
2075
  onClick: () => table.nextPage(),
2076
2076
  disabled: !table.getCanNextPage(),
2077
2077
  "aria-label": "Next page",
@@ -2131,7 +2131,7 @@ function DataTableToolbar({
2131
2131
  ),
2132
2132
  children: [
2133
2133
  /* @__PURE__ */ jsxs11("div", { className: "flex items-center gap-2", children: [
2134
- selectedCount > 0 && /* @__PURE__ */ jsxs11("span", { className: "text-sm text-[--color-on-surface-secondary]", children: [
2134
+ selectedCount > 0 && /* @__PURE__ */ jsxs11("span", { className: "text-sm text-[var(--color-on-surface-secondary)]", children: [
2135
2135
  selectedCount,
2136
2136
  " selected"
2137
2137
  ] }),
@@ -2141,7 +2141,7 @@ function DataTableToolbar({
2141
2141
  /* @__PURE__ */ jsxs11(
2142
2142
  "button",
2143
2143
  {
2144
- className: "inline-flex items-center gap-1 rounded-md border border-[--color-border-input] bg-[--color-surface-raised] px-3 py-1.5 text-sm transition-colors hover:bg-[--color-surface-sunken]",
2144
+ className: "inline-flex items-center gap-1 rounded-md border border-[var(--color-border-input)] bg-[var(--color-surface-raised)] px-3 py-1.5 text-sm transition-colors hover:bg-[var(--color-surface-sunken)]",
2145
2145
  onClick: () => setShowColumnMenu(!showColumnMenu),
2146
2146
  "aria-label": "Toggle columns",
2147
2147
  "aria-expanded": showColumnMenu,
@@ -2164,10 +2164,10 @@ function DataTableToolbar({
2164
2164
  ]
2165
2165
  }
2166
2166
  ),
2167
- showColumnMenu && /* @__PURE__ */ jsx29("div", { className: "absolute right-0 top-full z-popover mt-1 min-w-[10rem] rounded-md border border-[--color-border] bg-[--color-surface-raised] p-2 shadow-md", children: table.getAllColumns().filter((col) => col.getCanHide()).map((col) => /* @__PURE__ */ jsxs11(
2167
+ showColumnMenu && /* @__PURE__ */ jsx29("div", { className: "absolute right-0 top-full z-popover mt-1 min-w-[10rem] rounded-md border border-[var(--color-border)] bg-[var(--color-surface-raised)] p-2 shadow-md", children: table.getAllColumns().filter((col) => col.getCanHide()).map((col) => /* @__PURE__ */ jsxs11(
2168
2168
  "label",
2169
2169
  {
2170
- className: "flex items-center gap-2 rounded px-2 py-1 text-sm hover:bg-[--color-surface-sunken] cursor-pointer capitalize",
2170
+ className: "flex items-center gap-2 rounded px-2 py-1 text-sm hover:bg-[var(--color-surface-sunken)] cursor-pointer capitalize",
2171
2171
  children: [
2172
2172
  /* @__PURE__ */ jsx29(
2173
2173
  "input",
@@ -2256,7 +2256,7 @@ function DataTable({
2256
2256
  }
2257
2257
  }, [rowSelection, table, onRowSelectionChange]);
2258
2258
  const showToolbar = enableRowSelection || enableColumnVisibility;
2259
- return /* @__PURE__ */ jsxs12("div", { className: cn("rounded-md border border-[--color-border]", className), children: [
2259
+ return /* @__PURE__ */ jsxs12("div", { className: cn("rounded-md border border-[var(--color-border)]", className), children: [
2260
2260
  showToolbar && /* @__PURE__ */ jsx30(
2261
2261
  DataTableToolbar,
2262
2262
  {
@@ -2268,7 +2268,7 @@ function DataTable({
2268
2268
  /* @__PURE__ */ jsx30(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx30(TableRow, { children: headerGroup.headers.map((header) => /* @__PURE__ */ jsx30(TableHead, { children: header.isPlaceholder ? null : header.column.getCanSort() ? /* @__PURE__ */ jsxs12(
2269
2269
  "button",
2270
2270
  {
2271
- className: "flex items-center gap-1 -ml-2 px-2 py-1 rounded-md hover:bg-[--color-surface-muted] transition-colors duration-fast",
2271
+ className: "flex items-center gap-1 -ml-2 px-2 py-1 rounded-md hover:bg-[var(--color-surface-muted)] transition-colors duration-fast",
2272
2272
  onClick: header.column.getToggleSortingHandler(),
2273
2273
  "aria-label": `Sort by ${typeof header.column.columnDef.header === "string" ? header.column.columnDef.header : header.column.id}`,
2274
2274
  children: [
@@ -2342,7 +2342,7 @@ function DataTableColumnHeader({
2342
2342
  "button",
2343
2343
  {
2344
2344
  className: cn(
2345
- "flex items-center gap-1 -ml-2 px-2 py-1 rounded-md hover:bg-[--color-surface-muted] transition-colors duration-fast",
2345
+ "flex items-center gap-1 -ml-2 px-2 py-1 rounded-md hover:bg-[var(--color-surface-muted)] transition-colors duration-fast",
2346
2346
  className
2347
2347
  ),
2348
2348
  onClick: () => column.toggleSorting(sorted === "asc"),
@@ -2384,7 +2384,7 @@ var FilterBar = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE_
2384
2384
  {
2385
2385
  ref,
2386
2386
  className: cn(
2387
- "flex flex-wrap items-center gap-2 rounded-lg border border-[--color-border] bg-[--color-surface-raised] p-3",
2387
+ "flex flex-wrap items-center gap-2 rounded-lg border border-[var(--color-border)] bg-[var(--color-surface-raised)] p-3",
2388
2388
  className
2389
2389
  ),
2390
2390
  role: "toolbar",
@@ -2409,7 +2409,7 @@ var filterChipVariants = cva13(
2409
2409
  variants: {
2410
2410
  variant: {
2411
2411
  default: "bg-primary-50 text-primary-700",
2412
- outline: "border border-[--color-border-input] text-[--color-on-surface-secondary]"
2412
+ outline: "border border-[var(--color-border-input)] text-[var(--color-on-surface-secondary)]"
2413
2413
  }
2414
2414
  },
2415
2415
  defaultVariants: { variant: "default" }
@@ -2469,7 +2469,7 @@ var ActiveFilters = React31.forwardRef(({ className, onClearAll, clearAllLabel =
2469
2469
  {
2470
2470
  type: "button",
2471
2471
  onClick: onClearAll,
2472
- className: "text-sm text-[--color-on-surface-muted] hover:text-[--color-on-surface-secondary] underline transition-colors",
2472
+ className: "text-sm text-[var(--color-on-surface-muted)] hover:text-[var(--color-on-surface-secondary)] underline transition-colors",
2473
2473
  children: clearAllLabel
2474
2474
  }
2475
2475
  )
@@ -2501,7 +2501,7 @@ var PopoverContent = React32.forwardRef(({ className, align = "center", sideOffs
2501
2501
  align,
2502
2502
  sideOffset,
2503
2503
  className: cn(
2504
- "z-popover w-72 rounded-md border border-[--color-border] bg-[--color-surface-raised] p-4 shadow-md outline-none",
2504
+ "z-popover w-72 rounded-md border border-[var(--color-border)] bg-[var(--color-surface-raised)] p-4 shadow-md outline-none",
2505
2505
  "animate-in fade-in-0 zoom-in-95",
2506
2506
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
2507
2507
  "data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2",
@@ -2529,7 +2529,7 @@ var DropdownMenuContent = React33.forwardRef(({ className, sideOffset = 4, ...pr
2529
2529
  ref,
2530
2530
  sideOffset,
2531
2531
  className: cn(
2532
- "z-dropdown min-w-[8rem] overflow-hidden rounded-md border border-[--color-border] bg-[--color-surface-raised] p-1 shadow-md",
2532
+ "z-dropdown min-w-[8rem] overflow-hidden rounded-md border border-[var(--color-border)] bg-[var(--color-surface-raised)] p-1 shadow-md",
2533
2533
  "animate-in fade-in-0 zoom-in-95",
2534
2534
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
2535
2535
  "data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2",
@@ -2546,8 +2546,8 @@ var DropdownMenuSubTrigger = React33.forwardRef(({ className, inset, children, .
2546
2546
  ref,
2547
2547
  className: cn(
2548
2548
  "flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none",
2549
- "focus:bg-[--color-surface-muted]",
2550
- "data-[state=open]:bg-[--color-surface-muted]",
2549
+ "focus:bg-[var(--color-surface-muted)]",
2550
+ "data-[state=open]:bg-[var(--color-surface-muted)]",
2551
2551
  "touch:min-h-[--touch-target-min]",
2552
2552
  inset && "pl-8",
2553
2553
  className
@@ -2579,7 +2579,7 @@ var DropdownMenuSubContent = React33.forwardRef(({ className, ...props }, ref) =
2579
2579
  {
2580
2580
  ref,
2581
2581
  className: cn(
2582
- "z-dropdown min-w-[8rem] overflow-hidden rounded-md border border-[--color-border] bg-[--color-surface-raised] p-1 shadow-md",
2582
+ "z-dropdown min-w-[8rem] overflow-hidden rounded-md border border-[var(--color-border)] bg-[var(--color-surface-raised)] p-1 shadow-md",
2583
2583
  "animate-in fade-in-0 zoom-in-95",
2584
2584
  "data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2",
2585
2585
  "data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2",
@@ -2595,7 +2595,7 @@ var DropdownMenuItem = React33.forwardRef(({ className, inset, destructive, ...p
2595
2595
  ref,
2596
2596
  className: cn(
2597
2597
  "relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors",
2598
- "focus:bg-[--color-surface-muted] focus:text-[--color-on-surface]",
2598
+ "focus:bg-[var(--color-surface-muted)] focus:text-[var(--color-on-surface)]",
2599
2599
  "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
2600
2600
  "touch:min-h-[--touch-target-min]",
2601
2601
  destructive && "text-error-600 focus:bg-error-50 focus:text-error-600",
@@ -2612,7 +2612,7 @@ var DropdownMenuCheckboxItem = React33.forwardRef(({ className, children, checke
2612
2612
  ref,
2613
2613
  className: cn(
2614
2614
  "relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors",
2615
- "focus:bg-[--color-surface-muted]",
2615
+ "focus:bg-[var(--color-surface-muted)]",
2616
2616
  "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
2617
2617
  "touch:min-h-[--touch-target-min]",
2618
2618
  className
@@ -2645,7 +2645,7 @@ var DropdownMenuRadioItem = React33.forwardRef(({ className, children, ...props
2645
2645
  ref,
2646
2646
  className: cn(
2647
2647
  "relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors",
2648
- "focus:bg-[--color-surface-muted]",
2648
+ "focus:bg-[var(--color-surface-muted)]",
2649
2649
  "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
2650
2650
  "touch:min-h-[--touch-target-min]",
2651
2651
  className
@@ -2663,7 +2663,7 @@ var DropdownMenuLabel = React33.forwardRef(({ className, inset, ...props }, ref)
2663
2663
  {
2664
2664
  ref,
2665
2665
  className: cn(
2666
- "px-2 py-1.5 text-xs font-medium text-[--color-on-surface-muted]",
2666
+ "px-2 py-1.5 text-xs font-medium text-[var(--color-on-surface-muted)]",
2667
2667
  inset && "pl-8",
2668
2668
  className
2669
2669
  ),
@@ -2675,7 +2675,7 @@ var DropdownMenuSeparator = React33.forwardRef(({ className, ...props }, ref) =>
2675
2675
  DropdownMenuPrimitive.Separator,
2676
2676
  {
2677
2677
  ref,
2678
- className: cn("-mx-1 my-1 h-px bg-[--color-border]", className),
2678
+ className: cn("-mx-1 my-1 h-px bg-[var(--color-border)]", className),
2679
2679
  ...props
2680
2680
  }
2681
2681
  ));
@@ -2687,7 +2687,7 @@ var DropdownMenuShortcut = ({
2687
2687
  "span",
2688
2688
  {
2689
2689
  className: cn(
2690
- "ml-auto text-xs tracking-widest text-[--color-on-surface-muted]",
2690
+ "ml-auto text-xs tracking-widest text-[var(--color-on-surface-muted)]",
2691
2691
  className
2692
2692
  ),
2693
2693
  ...props
@@ -2707,7 +2707,7 @@ var DialogOverlay = React34.forwardRef(({ className, ...props }, ref) => /* @__P
2707
2707
  {
2708
2708
  ref,
2709
2709
  className: cn(
2710
- "fixed inset-0 z-modal bg-black/50",
2710
+ "fixed inset-0 z-modal bg-[var(--color-surface-overlay)]",
2711
2711
  "animate-in fade-in-0",
2712
2712
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
2713
2713
  className
@@ -2723,13 +2723,13 @@ var DialogContent = React34.forwardRef(({ className, children, ...props }, ref)
2723
2723
  {
2724
2724
  ref,
2725
2725
  className: cn(
2726
- "fixed z-modal bg-[--color-surface-raised] p-6 shadow-xl",
2726
+ "fixed z-modal bg-[var(--color-surface-raised)] p-6 shadow-xl",
2727
2727
  "focus-visible:outline-none",
2728
2728
  // Mobile: full-screen
2729
2729
  "inset-0",
2730
2730
  // Desktop: centered modal
2731
2731
  "sm:inset-auto sm:left-1/2 sm:top-1/2 sm:-translate-x-1/2 sm:-translate-y-1/2",
2732
- "sm:w-full sm:max-w-lg sm:rounded-xl sm:border sm:border-[--color-border]",
2732
+ "sm:w-full sm:max-w-lg sm:rounded-xl sm:border sm:border-[var(--color-border)]",
2733
2733
  // Animations
2734
2734
  "animate-in fade-in-0",
2735
2735
  "sm:zoom-in-95 sm:slide-in-from-left-1/2 sm:slide-in-from-top-[48%]",
@@ -2800,7 +2800,7 @@ var DialogDescription = React34.forwardRef(({ className, ...props }, ref) => /*
2800
2800
  DialogPrimitive.Description,
2801
2801
  {
2802
2802
  ref,
2803
- className: cn("text-sm text-[--color-on-surface-muted]", className),
2803
+ className: cn("text-sm text-[var(--color-on-surface-muted)]", className),
2804
2804
  ...props
2805
2805
  }
2806
2806
  ));
@@ -2818,18 +2818,18 @@ function CommandPalette({
2818
2818
  children
2819
2819
  }) {
2820
2820
  return /* @__PURE__ */ jsx36(DialogPrimitive2.Root, { open, onOpenChange, children: /* @__PURE__ */ jsxs17(DialogPrimitive2.Portal, { children: [
2821
- /* @__PURE__ */ jsx36(DialogPrimitive2.Overlay, { className: "fixed inset-0 z-modal bg-black/50 animate-in fade-in-0 data-[state=closed]:animate-out data-[state=closed]:fade-out-0" }),
2821
+ /* @__PURE__ */ jsx36(DialogPrimitive2.Overlay, { className: "fixed inset-0 z-modal bg-[var(--color-surface-overlay)] animate-in fade-in-0 data-[state=closed]:animate-out data-[state=closed]:fade-out-0" }),
2822
2822
  /* @__PURE__ */ jsx36(
2823
2823
  DialogPrimitive2.Content,
2824
2824
  {
2825
2825
  className: cn(
2826
- "fixed left-1/2 top-[20%] z-modal w-full max-w-xl -translate-x-1/2 overflow-hidden rounded-xl border border-[--color-border] bg-[--color-surface-raised] shadow-2xl",
2826
+ "fixed left-1/2 top-[20%] z-modal w-full max-w-xl -translate-x-1/2 overflow-hidden rounded-xl border border-[var(--color-border)] bg-[var(--color-surface-raised)] shadow-2xl",
2827
2827
  "animate-in fade-in-0 zoom-in-95 slide-in-from-left-1/2",
2828
2828
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
2829
2829
  className
2830
2830
  ),
2831
2831
  children: /* @__PURE__ */ jsxs17(Command2, { shouldFilter: true, className: "flex flex-col", children: [
2832
- /* @__PURE__ */ jsxs17("div", { className: "flex items-center border-b border-[--color-border] px-4", children: [
2832
+ /* @__PURE__ */ jsxs17("div", { className: "flex items-center border-b border-[var(--color-border)] px-4", children: [
2833
2833
  /* @__PURE__ */ jsxs17(
2834
2834
  "svg",
2835
2835
  {
@@ -2841,7 +2841,7 @@ function CommandPalette({
2841
2841
  strokeWidth: "2",
2842
2842
  strokeLinecap: "round",
2843
2843
  strokeLinejoin: "round",
2844
- className: "shrink-0 text-[--color-on-surface-muted]",
2844
+ className: "shrink-0 text-[var(--color-on-surface-muted)]",
2845
2845
  children: [
2846
2846
  /* @__PURE__ */ jsx36("circle", { cx: "11", cy: "11", r: "8" }),
2847
2847
  /* @__PURE__ */ jsx36("path", { d: "m21 21-4.3-4.3" })
@@ -2852,7 +2852,7 @@ function CommandPalette({
2852
2852
  Command2.Input,
2853
2853
  {
2854
2854
  placeholder,
2855
- className: "flex h-12 w-full bg-transparent px-3 text-base outline-none placeholder:text-[--color-on-surface-muted]"
2855
+ className: "flex h-12 w-full bg-transparent px-3 text-base outline-none placeholder:text-[var(--color-on-surface-muted)]"
2856
2856
  }
2857
2857
  )
2858
2858
  ] }),
@@ -2871,7 +2871,7 @@ function CommandPaletteGroup({
2871
2871
  Command2.Group,
2872
2872
  {
2873
2873
  heading,
2874
- className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-[--color-on-surface-muted]",
2874
+ className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-[var(--color-on-surface-muted)]",
2875
2875
  children
2876
2876
  }
2877
2877
  );
@@ -2892,12 +2892,12 @@ function CommandPaletteItem({
2892
2892
  disabled,
2893
2893
  className: cn(
2894
2894
  "relative flex cursor-pointer select-none items-center rounded-md px-2 py-2 text-sm outline-none",
2895
- "data-[selected=true]:bg-[--color-surface-muted]",
2895
+ "data-[selected=true]:bg-[var(--color-surface-muted)]",
2896
2896
  "data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50",
2897
2897
  className
2898
2898
  ),
2899
2899
  children: [
2900
- icon && /* @__PURE__ */ jsx36("span", { className: "mr-2 flex h-4 w-4 items-center justify-center text-[--color-on-surface-muted]", children: icon }),
2900
+ icon && /* @__PURE__ */ jsx36("span", { className: "mr-2 flex h-4 w-4 items-center justify-center text-[var(--color-on-surface-muted)]", children: icon }),
2901
2901
  /* @__PURE__ */ jsx36("span", { className: "flex-1", children }),
2902
2902
  shortcut && /* @__PURE__ */ jsx36(CommandPaletteShortcut, { children: shortcut })
2903
2903
  ]
@@ -2912,7 +2912,7 @@ function CommandPaletteSeparator({
2912
2912
  return /* @__PURE__ */ jsx36(
2913
2913
  Command2.Separator,
2914
2914
  {
2915
- className: cn("-mx-1 my-1 h-px bg-[--color-border]", className),
2915
+ className: cn("-mx-1 my-1 h-px bg-[var(--color-border)]", className),
2916
2916
  ...props
2917
2917
  }
2918
2918
  );
@@ -2926,7 +2926,7 @@ function CommandPaletteEmpty({
2926
2926
  return /* @__PURE__ */ jsx36(
2927
2927
  Command2.Empty,
2928
2928
  {
2929
- className: cn("px-2 py-6 text-center text-sm text-[--color-on-surface-muted]", className),
2929
+ className: cn("px-2 py-6 text-center text-sm text-[var(--color-on-surface-muted)]", className),
2930
2930
  ...props,
2931
2931
  children
2932
2932
  }
@@ -2941,7 +2941,7 @@ function CommandPaletteShortcut({
2941
2941
  "span",
2942
2942
  {
2943
2943
  className: cn(
2944
- "ml-auto text-xs tracking-widest text-[--color-on-surface-muted]",
2944
+ "ml-auto text-xs tracking-widest text-[var(--color-on-surface-muted)]",
2945
2945
  className
2946
2946
  ),
2947
2947
  ...props
@@ -3023,7 +3023,7 @@ var DrawerContent = React35.forwardRef(({ className, size, children, ...props },
3023
3023
  "div",
3024
3024
  {
3025
3025
  className: cn(
3026
- "flex flex-col border-[--color-border] bg-[--color-surface-raised]",
3026
+ "flex flex-col border-[var(--color-border)] bg-[var(--color-surface-raised)]",
3027
3027
  side === "right" ? "border-l" : "border-r",
3028
3028
  drawerSizeVariants({ size }),
3029
3029
  className
@@ -3037,7 +3037,7 @@ var DrawerContent = React35.forwardRef(({ className, size, children, ...props },
3037
3037
  DialogPrimitive3.Overlay,
3038
3038
  {
3039
3039
  className: cn(
3040
- "fixed inset-0 bg-black/30",
3040
+ "fixed inset-0 bg-[var(--color-surface-overlay)]",
3041
3041
  "animate-in fade-in-0",
3042
3042
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
3043
3043
  ),
@@ -3049,10 +3049,10 @@ var DrawerContent = React35.forwardRef(({ className, size, children, ...props },
3049
3049
  {
3050
3050
  ref,
3051
3051
  className: cn(
3052
- "fixed top-0 h-full bg-[--color-surface-raised] shadow-xl",
3052
+ "fixed top-0 h-full bg-[var(--color-surface-raised)] shadow-xl",
3053
3053
  "focus-visible:outline-none",
3054
- side === "right" && "right-0 border-l border-[--color-border] animate-slide-in-right data-[state=closed]:animate-slide-out-right",
3055
- side === "left" && "left-0 border-r border-[--color-border] animate-slide-in-left data-[state=closed]:animate-slide-out-left",
3054
+ side === "right" && "right-0 border-l border-[var(--color-border)] animate-slide-in-right data-[state=closed]:animate-slide-out-right",
3055
+ side === "left" && "left-0 border-r border-[var(--color-border)] animate-slide-in-left data-[state=closed]:animate-slide-out-left",
3056
3056
  drawerSizeVariants({ size }),
3057
3057
  className
3058
3058
  ),
@@ -3071,7 +3071,7 @@ var DrawerHeader = React35.forwardRef(({ className, ...props }, ref) => {
3071
3071
  {
3072
3072
  ref,
3073
3073
  className: cn(
3074
- "flex items-center justify-between border-b border-[--color-border] px-6 py-4",
3074
+ "flex items-center justify-between border-b border-[var(--color-border)] px-6 py-4",
3075
3075
  className
3076
3076
  ),
3077
3077
  ...props,
@@ -3140,7 +3140,7 @@ var DrawerDescription = React35.forwardRef(({ className, ...props }, ref) => /*
3140
3140
  DialogPrimitive3.Description,
3141
3141
  {
3142
3142
  ref,
3143
- className: cn("text-sm text-[--color-on-surface-muted]", className),
3143
+ className: cn("text-sm text-[var(--color-on-surface-muted)]", className),
3144
3144
  ...props
3145
3145
  }
3146
3146
  ));
@@ -3150,7 +3150,7 @@ var DrawerFooter = React35.forwardRef(({ className, ...props }, ref) => /* @__PU
3150
3150
  {
3151
3151
  ref,
3152
3152
  className: cn(
3153
- "flex items-center justify-end gap-2 border-t border-[--color-border] px-6 py-4",
3153
+ "flex items-center justify-end gap-2 border-t border-[var(--color-border)] px-6 py-4",
3154
3154
  className
3155
3155
  ),
3156
3156
  ...props
@@ -3225,7 +3225,7 @@ var AppShellSidebar = React36.forwardRef(({ className, children, ...props }, ref
3225
3225
  {
3226
3226
  ref,
3227
3227
  className: cn(
3228
- "hidden md:flex md:flex-col shrink-0 border-r border-[--color-border] bg-[--color-surface-raised] overflow-y-auto transition-[width] duration-slow",
3228
+ "hidden md:flex md:flex-col shrink-0 border-r border-[var(--color-border)] bg-[var(--color-surface-raised)] overflow-y-auto transition-[width] duration-slow",
3229
3229
  className
3230
3230
  ),
3231
3231
  style: {
@@ -3244,7 +3244,7 @@ var AppShellHeader = React36.forwardRef(({ className, children, ...props }, ref)
3244
3244
  {
3245
3245
  ref,
3246
3246
  className: cn(
3247
- "flex h-14 items-center gap-3 border-b border-[--color-border] bg-[--color-surface-raised] px-4 shrink-0",
3247
+ "flex h-14 items-center gap-3 border-b border-[var(--color-border)] bg-[var(--color-surface-raised)] px-4 shrink-0",
3248
3248
  className
3249
3249
  ),
3250
3250
  ...props,
@@ -3254,7 +3254,7 @@ var AppShellHeader = React36.forwardRef(({ className, children, ...props }, ref)
3254
3254
  {
3255
3255
  type: "button",
3256
3256
  onClick: () => setMobileSidebarOpen(true),
3257
- className: "rounded-md p-1.5 hover:bg-[--color-surface-muted] transition-colors touch:min-h-[--touch-target-min] touch:min-w-[--touch-target-min] flex items-center justify-center",
3257
+ className: "rounded-md p-1.5 hover:bg-[var(--color-surface-muted)] transition-colors touch:min-h-[--touch-target-min] touch:min-w-[--touch-target-min] flex items-center justify-center",
3258
3258
  "aria-label": "Open menu",
3259
3259
  children: /* @__PURE__ */ jsx38(
3260
3260
  "svg",
@@ -3299,7 +3299,7 @@ var AppShellFooter = React36.forwardRef(({ className, ...props }, ref) => /* @__
3299
3299
  {
3300
3300
  ref,
3301
3301
  className: cn(
3302
- "flex items-center border-t border-[--color-border] bg-[--color-surface-raised] px-4 py-2 shrink-0",
3302
+ "flex items-center border-t border-[var(--color-border)] bg-[var(--color-surface-raised)] px-4 py-2 shrink-0",
3303
3303
  className
3304
3304
  ),
3305
3305
  ...props
@@ -3315,7 +3315,7 @@ var BottomNavigation = React37.forwardRef(({ className, ...props }, ref) => /* @
3315
3315
  {
3316
3316
  ref,
3317
3317
  className: cn(
3318
- "fixed bottom-0 left-0 right-0 z-sticky flex items-center justify-around border-t border-[--color-border] bg-[--color-surface-raised] pb-[--safe-area-bottom]",
3318
+ "fixed bottom-0 left-0 right-0 z-sticky flex items-center justify-around border-t border-[var(--color-border)] bg-[var(--color-surface-raised)] pb-[var(--safe-area-bottom)]",
3319
3319
  "h-[calc(var(--bottom-nav-height)+var(--safe-area-bottom))]",
3320
3320
  className
3321
3321
  ),
@@ -3329,7 +3329,7 @@ var BottomNavigationItem = React37.forwardRef(({ className, icon, label, active
3329
3329
  ref,
3330
3330
  className: cn(
3331
3331
  "flex min-w-[--touch-target-min] flex-1 flex-col items-center justify-center gap-0.5 py-1 text-xs transition-colors",
3332
- active ? "text-primary-500 font-medium" : "text-[--color-on-surface-muted] hover:text-[--color-on-surface-secondary]",
3332
+ active ? "text-primary-500 font-medium" : "text-[var(--color-on-surface-muted)] hover:text-[var(--color-on-surface-secondary)]",
3333
3333
  className
3334
3334
  ),
3335
3335
  "aria-current": active ? "page" : void 0,
@@ -3420,13 +3420,13 @@ var InstallPrompt = React39.forwardRef(
3420
3420
  role: "dialog",
3421
3421
  "aria-label": title,
3422
3422
  className: cn(
3423
- "fixed bottom-0 left-0 right-0 z-modal border-t border-[--color-border] bg-[--color-surface-raised] p-4 shadow-lg pb-[calc(1rem+var(--safe-area-bottom))]",
3423
+ "fixed bottom-0 left-0 right-0 z-modal border-t border-[var(--color-border)] bg-[var(--color-surface-raised)] p-4 shadow-lg pb-[calc(1rem+var(--safe-area-bottom))]",
3424
3424
  className
3425
3425
  ),
3426
3426
  ...props,
3427
3427
  children: /* @__PURE__ */ jsxs22("div", { className: "mx-auto max-w-md", children: [
3428
- /* @__PURE__ */ jsx41("p", { className: "text-sm font-semibold text-[--color-on-surface]", children: title }),
3429
- /* @__PURE__ */ jsx41("p", { className: "mt-1 text-xs text-[--color-on-surface-muted]", children: description }),
3428
+ /* @__PURE__ */ jsx41("p", { className: "text-sm font-semibold text-[var(--color-on-surface)]", children: title }),
3429
+ /* @__PURE__ */ jsx41("p", { className: "mt-1 text-xs text-[var(--color-on-surface-muted)]", children: description }),
3430
3430
  /* @__PURE__ */ jsxs22("div", { className: "mt-3 flex gap-2", children: [
3431
3431
  /* @__PURE__ */ jsx41(Button, { size: "sm", onClick: onInstall, className: "flex-1", children: installLabel }),
3432
3432
  /* @__PURE__ */ jsx41(
@@ -3529,7 +3529,7 @@ var PullToRefresh = React40.forwardRef(
3529
3529
  strokeLinecap: "round",
3530
3530
  strokeLinejoin: "round",
3531
3531
  className: cn(
3532
- "text-[--color-on-surface-muted] transition-transform duration-normal",
3532
+ "text-[var(--color-on-surface-muted)] transition-transform duration-normal",
3533
3533
  shouldTrigger && "rotate-180 text-primary-500"
3534
3534
  ),
3535
3535
  children: [