@almadar/ui 2.25.3 → 2.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2614,28 +2614,28 @@ var marginYStyles = {
2614
2614
  };
2615
2615
  var bgStyles = {
2616
2616
  transparent: "bg-transparent",
2617
- primary: "bg-[var(--color-primary)] text-[var(--color-primary-foreground)]",
2618
- secondary: "bg-[var(--color-secondary)] text-[var(--color-secondary-foreground)]",
2619
- muted: "bg-[var(--color-muted)] text-[var(--color-foreground)]",
2620
- accent: "bg-[var(--color-accent)] text-[var(--color-accent-foreground)]",
2621
- surface: "bg-[var(--color-card)]",
2622
- overlay: "bg-[var(--color-card)]/80 backdrop-blur-sm"
2617
+ primary: "bg-primary text-primary-foreground",
2618
+ secondary: "bg-secondary text-secondary-foreground",
2619
+ muted: "bg-muted text-foreground",
2620
+ accent: "bg-accent text-accent-foreground",
2621
+ surface: "bg-card",
2622
+ overlay: "bg-card/80 backdrop-blur-sm"
2623
2623
  };
2624
2624
  var roundedStyles = {
2625
2625
  none: "rounded-none",
2626
- sm: "rounded-[var(--radius-sm)]",
2627
- md: "rounded-[var(--radius-md)]",
2628
- lg: "rounded-[var(--radius-lg)]",
2629
- xl: "rounded-[var(--radius-xl)]",
2630
- "2xl": "rounded-[var(--radius-xl)]",
2631
- full: "rounded-[var(--radius-full)]"
2626
+ sm: "rounded-sm",
2627
+ md: "rounded-md",
2628
+ lg: "rounded-lg",
2629
+ xl: "rounded-xl",
2630
+ "2xl": "rounded-xl",
2631
+ full: "rounded-full"
2632
2632
  };
2633
2633
  var shadowStyles = {
2634
2634
  none: "shadow-none",
2635
- sm: "shadow-[var(--shadow-sm)]",
2636
- md: "shadow-[var(--shadow-main)]",
2637
- lg: "shadow-[var(--shadow-lg)]",
2638
- xl: "shadow-[var(--shadow-lg)]"
2635
+ sm: "shadow-sm",
2636
+ md: "shadow",
2637
+ lg: "shadow-lg",
2638
+ xl: "shadow-lg"
2639
2639
  };
2640
2640
  var displayStyles = {
2641
2641
  block: "block",
@@ -2723,7 +2723,7 @@ var Box = React4.forwardRef(
2723
2723
  // Background
2724
2724
  bgStyles[bg],
2725
2725
  // Border - uses theme variables
2726
- border && "border-[length:var(--border-width)] border-[var(--color-border)]",
2726
+ border && "border-[length:var(--border-width)] border-border",
2727
2727
  // Rounded
2728
2728
  roundedStyles[rounded],
2729
2729
  // Shadow
@@ -2830,30 +2830,30 @@ var Stack = ({
2830
2830
  var VStack = (props) => /* @__PURE__ */ jsx(Stack, { direction: "vertical", ...props });
2831
2831
  var HStack = (props) => /* @__PURE__ */ jsx(Stack, { direction: "horizontal", ...props });
2832
2832
  var variantStyles = {
2833
- h1: "text-4xl font-bold tracking-tight text-[var(--color-foreground)]",
2834
- h2: "text-3xl font-bold tracking-tight text-[var(--color-foreground)]",
2835
- h3: "text-2xl font-bold text-[var(--color-foreground)]",
2836
- h4: "text-xl font-bold text-[var(--color-foreground)]",
2837
- h5: "text-lg font-bold text-[var(--color-foreground)]",
2838
- h6: "text-base font-bold text-[var(--color-foreground)]",
2839
- heading: "text-2xl font-bold text-[var(--color-foreground)]",
2840
- subheading: "text-lg font-semibold text-[var(--color-foreground)]",
2841
- body1: "text-base font-normal text-[var(--color-foreground)]",
2842
- body2: "text-sm font-normal text-[var(--color-foreground)]",
2843
- body: "text-base font-normal text-[var(--color-foreground)]",
2844
- caption: "text-xs font-normal text-[var(--color-muted-foreground)]",
2845
- overline: "text-xs uppercase tracking-wide font-bold text-[var(--color-muted-foreground)]",
2846
- small: "text-sm font-normal text-[var(--color-foreground)]",
2847
- large: "text-lg font-medium text-[var(--color-foreground)]",
2848
- label: "text-sm font-medium text-[var(--color-foreground)]"
2833
+ h1: "text-4xl font-bold tracking-tight text-foreground",
2834
+ h2: "text-3xl font-bold tracking-tight text-foreground",
2835
+ h3: "text-2xl font-bold text-foreground",
2836
+ h4: "text-xl font-bold text-foreground",
2837
+ h5: "text-lg font-bold text-foreground",
2838
+ h6: "text-base font-bold text-foreground",
2839
+ heading: "text-2xl font-bold text-foreground",
2840
+ subheading: "text-lg font-semibold text-foreground",
2841
+ body1: "text-base font-normal text-foreground",
2842
+ body2: "text-sm font-normal text-foreground",
2843
+ body: "text-base font-normal text-foreground",
2844
+ caption: "text-xs font-normal text-muted-foreground",
2845
+ overline: "text-xs uppercase tracking-wide font-bold text-muted-foreground",
2846
+ small: "text-sm font-normal text-foreground",
2847
+ large: "text-lg font-medium text-foreground",
2848
+ label: "text-sm font-medium text-foreground"
2849
2849
  };
2850
2850
  var colorStyles = {
2851
- primary: "text-[var(--color-foreground)]",
2852
- secondary: "text-[var(--color-muted-foreground)]",
2853
- muted: "text-[var(--color-muted-foreground)]",
2854
- error: "text-[var(--color-error)]",
2855
- success: "text-[var(--color-success)]",
2856
- warning: "text-[var(--color-warning)]",
2851
+ primary: "text-foreground",
2852
+ secondary: "text-muted-foreground",
2853
+ muted: "text-muted-foreground",
2854
+ error: "text-error",
2855
+ success: "text-success",
2856
+ warning: "text-warning",
2857
2857
  inherit: "text-inherit"
2858
2858
  };
2859
2859
  var weightStyles = {
@@ -3016,49 +3016,49 @@ var Icon = ({
3016
3016
  Icon.displayName = "Icon";
3017
3017
  var variantStyles2 = {
3018
3018
  primary: [
3019
- "bg-[var(--color-primary)] text-[var(--color-primary-foreground)]",
3019
+ "bg-primary text-primary-foreground",
3020
3020
  "border-none",
3021
- "shadow-[var(--shadow-sm)]",
3022
- "hover:bg-[var(--color-primary-hover)] hover:shadow-[var(--shadow-hover)]",
3023
- "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
3021
+ "shadow-sm",
3022
+ "hover:bg-primary-hover hover:shadow-lg",
3023
+ "active:scale-[var(--active-scale)] active:shadow-sm"
3024
3024
  ].join(" "),
3025
3025
  secondary: [
3026
- "bg-transparent text-[var(--color-accent)]",
3027
- "border border-[var(--color-accent)]",
3028
- "hover:bg-[var(--color-accent)] hover:text-white hover:border-[var(--color-accent)]",
3026
+ "bg-transparent text-accent",
3027
+ "border border-accent",
3028
+ "hover:bg-accent hover:text-white hover:border-accent",
3029
3029
  "active:scale-[var(--active-scale)]"
3030
3030
  ].join(" "),
3031
3031
  ghost: [
3032
- "bg-transparent text-[var(--color-muted-foreground)]",
3033
- "hover:text-[var(--color-foreground)] hover:bg-[var(--color-muted)]",
3032
+ "bg-transparent text-muted-foreground",
3033
+ "hover:text-foreground hover:bg-muted",
3034
3034
  "active:scale-[var(--active-scale)]"
3035
3035
  ].join(" "),
3036
3036
  danger: [
3037
- "bg-[var(--color-surface)] text-[var(--color-error)]",
3038
- "border-[length:var(--border-width)] border-[var(--color-error)]",
3039
- "shadow-[var(--shadow-sm)]",
3040
- "hover:bg-[var(--color-error)] hover:text-[var(--color-error-foreground)] hover:shadow-[var(--shadow-hover)]",
3041
- "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
3037
+ "bg-surface text-error",
3038
+ "border-[length:var(--border-width)] border-error",
3039
+ "shadow-sm",
3040
+ "hover:bg-error hover:text-error-foreground hover:shadow-lg",
3041
+ "active:scale-[var(--active-scale)] active:shadow-sm"
3042
3042
  ].join(" "),
3043
3043
  success: [
3044
- "bg-[var(--color-surface)] text-[var(--color-success)]",
3045
- "border-[length:var(--border-width)] border-[var(--color-success)]",
3046
- "shadow-[var(--shadow-sm)]",
3047
- "hover:bg-[var(--color-success)] hover:text-[var(--color-success-foreground)] hover:shadow-[var(--shadow-hover)]",
3048
- "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
3044
+ "bg-surface text-success",
3045
+ "border-[length:var(--border-width)] border-success",
3046
+ "shadow-sm",
3047
+ "hover:bg-success hover:text-success-foreground hover:shadow-lg",
3048
+ "active:scale-[var(--active-scale)] active:shadow-sm"
3049
3049
  ].join(" "),
3050
3050
  warning: [
3051
- "bg-[var(--color-surface)] text-[var(--color-warning)]",
3052
- "border-[length:var(--border-width)] border-[var(--color-warning)]",
3053
- "shadow-[var(--shadow-sm)]",
3054
- "hover:bg-[var(--color-warning)] hover:text-[var(--color-warning-foreground)] hover:shadow-[var(--shadow-hover)]",
3055
- "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
3051
+ "bg-surface text-warning",
3052
+ "border-[length:var(--border-width)] border-warning",
3053
+ "shadow-sm",
3054
+ "hover:bg-warning hover:text-warning-foreground hover:shadow-lg",
3055
+ "active:scale-[var(--active-scale)] active:shadow-sm"
3056
3056
  ].join(" "),
3057
3057
  // "default" is an alias for secondary
3058
3058
  default: [
3059
- "bg-[var(--color-secondary)] text-[var(--color-secondary-foreground)]",
3060
- "border-[length:var(--border-width-thin)] border-[var(--color-border)]",
3061
- "hover:bg-[var(--color-secondary-hover)]",
3059
+ "bg-secondary text-secondary-foreground",
3060
+ "border-[length:var(--border-width-thin)] border-border",
3061
+ "hover:bg-secondary-hover",
3062
3062
  "active:scale-[var(--active-scale)]"
3063
3063
  ].join(" ")
3064
3064
  };
@@ -3129,10 +3129,10 @@ var Button = React4.forwardRef(
3129
3129
  className: cn(
3130
3130
  "inline-flex items-center justify-center gap-2",
3131
3131
  "font-[var(--font-weight-medium)]",
3132
- "rounded-[var(--radius-sm)]",
3132
+ "rounded-sm",
3133
3133
  "cursor-pointer",
3134
3134
  "transition-all duration-[var(--transition-normal)]",
3135
- "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-[var(--color-ring)] focus:ring-offset-[length:var(--focus-ring-offset)]",
3135
+ "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-ring focus:ring-offset-[length:var(--focus-ring-offset)]",
3136
3136
  "disabled:opacity-50 disabled:cursor-not-allowed",
3137
3137
  variantStyles2[variant],
3138
3138
  sizeStyles2[size],
@@ -3153,34 +3153,34 @@ var Button = React4.forwardRef(
3153
3153
  Button.displayName = "Button";
3154
3154
  var variantStyles3 = {
3155
3155
  default: [
3156
- "bg-[var(--color-card)]",
3157
- "border-[length:var(--border-width)] border-[var(--color-border)]",
3158
- "shadow-[var(--shadow-sm)]",
3156
+ "bg-card",
3157
+ "border-[length:var(--border-width)] border-border",
3158
+ "shadow-sm",
3159
3159
  "transition-all duration-[var(--transition-normal)]",
3160
- "hover:shadow-[var(--shadow-hover)] hover:-translate-y-0.5"
3160
+ "hover:shadow-lg hover:-translate-y-0.5"
3161
3161
  ].join(" "),
3162
3162
  bordered: [
3163
- "bg-[var(--color-card)]",
3164
- "border-[length:var(--border-width)] border-[var(--color-border)]",
3165
- "shadow-[var(--shadow-sm)]",
3163
+ "bg-card",
3164
+ "border-[length:var(--border-width)] border-border",
3165
+ "shadow-sm",
3166
3166
  "transition-all duration-[var(--transition-normal)]",
3167
- "hover:shadow-[var(--shadow-hover)] hover:-translate-y-0.5"
3167
+ "hover:shadow-lg hover:-translate-y-0.5"
3168
3168
  ].join(" "),
3169
3169
  elevated: [
3170
- "bg-[var(--color-card)]",
3171
- "border-[length:var(--border-width)] border-[var(--color-border)]",
3172
- "shadow-[var(--shadow-main)]",
3170
+ "bg-card",
3171
+ "border-[length:var(--border-width)] border-border",
3172
+ "shadow",
3173
3173
  "transition-all duration-[var(--transition-normal)]",
3174
- "hover:shadow-[var(--shadow-hover)] hover:-translate-y-0.5"
3174
+ "hover:shadow-lg hover:-translate-y-0.5"
3175
3175
  ].join(" "),
3176
3176
  // Interactive variant with theme-specific hover effects
3177
3177
  interactive: [
3178
- "bg-[var(--color-card)]",
3179
- "border-[length:var(--border-width)] border-[var(--color-border)]",
3180
- "shadow-[var(--shadow-main)]",
3178
+ "bg-card",
3179
+ "border-[length:var(--border-width)] border-border",
3180
+ "shadow",
3181
3181
  "cursor-pointer",
3182
3182
  "transition-all duration-[var(--transition-normal)]",
3183
- "hover:shadow-[var(--shadow-hover)]"
3183
+ "hover:shadow-lg"
3184
3184
  ].join(" ")
3185
3185
  };
3186
3186
  var paddingStyles2 = {
@@ -3191,9 +3191,9 @@ var paddingStyles2 = {
3191
3191
  };
3192
3192
  var shadowStyles2 = {
3193
3193
  none: "shadow-none",
3194
- sm: "shadow-[var(--shadow-sm)]",
3195
- md: "shadow-[var(--shadow-main)]",
3196
- lg: "shadow-[var(--shadow-lg)]"
3194
+ sm: "shadow-sm",
3195
+ md: "shadow",
3196
+ lg: "shadow-lg"
3197
3197
  };
3198
3198
  var Card = React4.forwardRef(
3199
3199
  ({
@@ -3211,7 +3211,7 @@ var Card = React4.forwardRef(
3211
3211
  {
3212
3212
  ref,
3213
3213
  className: cn(
3214
- "rounded-[var(--radius-md)]",
3214
+ "rounded-md",
3215
3215
  "transition-all duration-[var(--transition-normal)]",
3216
3216
  variantStyles3[variant],
3217
3217
  paddingStyles2[padding],
@@ -3221,8 +3221,8 @@ var Card = React4.forwardRef(
3221
3221
  ...props,
3222
3222
  children: [
3223
3223
  (title || subtitle) && /* @__PURE__ */ jsxs("div", { className: "mb-4", children: [
3224
- title && /* @__PURE__ */ jsx("h3", { className: "text-lg text-[var(--color-card-foreground)] font-[var(--font-weight-bold)]", children: title }),
3225
- subtitle && /* @__PURE__ */ jsx("p", { className: "text-sm text-[var(--color-muted-foreground)] mt-1", children: subtitle })
3224
+ title && /* @__PURE__ */ jsx("h3", { className: "text-lg text-card-foreground font-[var(--font-weight-bold)]", children: title }),
3225
+ subtitle && /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground mt-1", children: subtitle })
3226
3226
  ] }),
3227
3227
  children
3228
3228
  ]
@@ -3238,7 +3238,7 @@ var CardTitle = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3238
3238
  {
3239
3239
  ref,
3240
3240
  className: cn(
3241
- "text-lg text-[var(--color-card-foreground)]",
3241
+ "text-lg text-card-foreground",
3242
3242
  "font-[var(--font-weight-bold)]",
3243
3243
  className
3244
3244
  ),
@@ -3275,7 +3275,7 @@ var Divider = ({
3275
3275
  "div",
3276
3276
  {
3277
3277
  className: cn(
3278
- "w-0 h-full border-l border-[var(--color-border)]",
3278
+ "w-0 h-full border-l border-border",
3279
3279
  variantStyles4[variant],
3280
3280
  className
3281
3281
  ),
@@ -3296,17 +3296,17 @@ var Divider = ({
3296
3296
  "div",
3297
3297
  {
3298
3298
  className: cn(
3299
- "flex-1 h-0 border-t border-[var(--color-border)]",
3299
+ "flex-1 h-0 border-t border-border",
3300
3300
  variantStyles4[variant]
3301
3301
  )
3302
3302
  }
3303
3303
  ),
3304
- /* @__PURE__ */ jsx("span", { className: "text-sm text-[var(--color-foreground)] font-bold uppercase tracking-wide", children: label }),
3304
+ /* @__PURE__ */ jsx("span", { className: "text-sm text-foreground font-bold uppercase tracking-wide", children: label }),
3305
3305
  /* @__PURE__ */ jsx(
3306
3306
  "div",
3307
3307
  {
3308
3308
  className: cn(
3309
- "flex-1 h-0 border-t border-[var(--color-border)]",
3309
+ "flex-1 h-0 border-t border-border",
3310
3310
  variantStyles4[variant]
3311
3311
  )
3312
3312
  }
@@ -3319,7 +3319,7 @@ var Divider = ({
3319
3319
  "div",
3320
3320
  {
3321
3321
  className: cn(
3322
- "w-full h-0 border-t border-[var(--color-border)] my-4",
3322
+ "w-full h-0 border-t border-border my-4",
3323
3323
  variantStyles4[variant],
3324
3324
  className
3325
3325
  ),
@@ -3350,21 +3350,21 @@ var Input = React4.forwardRef(
3350
3350
  const resolvedLeftIcon = leftIcon || IconComponent && /* @__PURE__ */ jsx(IconComponent, { className: "h-4 w-4" });
3351
3351
  const showClearButton = clearable && value && String(value).length > 0;
3352
3352
  const baseClassName = cn(
3353
- "block w-full rounded-[var(--radius-sm)] transition-all duration-[var(--transition-fast)]",
3354
- "border-[length:var(--border-width-thin)] border-[var(--color-border)]",
3353
+ "block w-full rounded-sm transition-all duration-[var(--transition-fast)]",
3354
+ "border-[length:var(--border-width-thin)] border-border",
3355
3355
  "px-3 py-2 text-sm",
3356
- "bg-[var(--color-card)] hover:bg-[var(--color-muted)] focus:bg-[var(--color-card)]",
3357
- "text-[var(--color-foreground)] placeholder:text-[var(--color-muted-foreground)]",
3358
- "focus:outline-none focus:ring-1 focus:ring-[var(--color-ring)] focus:border-[var(--color-ring)]",
3359
- "disabled:opacity-50 disabled:cursor-not-allowed disabled:bg-[var(--color-muted)]",
3360
- error ? "border-[var(--color-error)] focus:border-[var(--color-error)] focus:ring-[var(--color-error)]" : "",
3356
+ "bg-card hover:bg-muted focus:bg-card",
3357
+ "text-foreground placeholder:text-muted-foreground",
3358
+ "focus:outline-none focus:ring-1 focus:ring-ring focus:border-ring",
3359
+ "disabled:opacity-50 disabled:cursor-not-allowed disabled:bg-muted",
3360
+ error ? "border-error focus:border-error focus:ring-error" : "",
3361
3361
  resolvedLeftIcon && "pl-10",
3362
3362
  (rightIcon || showClearButton) && "pr-10",
3363
3363
  className
3364
3364
  );
3365
3365
  if (type === "select") {
3366
3366
  return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
3367
- resolvedLeftIcon && /* @__PURE__ */ jsx("div", { className: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none text-[var(--color-muted-foreground)]", children: resolvedLeftIcon }),
3367
+ resolvedLeftIcon && /* @__PURE__ */ jsx("div", { className: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none text-muted-foreground", children: resolvedLeftIcon }),
3368
3368
  /* @__PURE__ */ jsxs(
3369
3369
  "select",
3370
3370
  {
@@ -3379,7 +3379,7 @@ var Input = React4.forwardRef(
3379
3379
  ]
3380
3380
  }
3381
3381
  ),
3382
- /* @__PURE__ */ jsx("div", { className: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none text-[var(--color-muted-foreground)]", children: /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" }) })
3382
+ /* @__PURE__ */ jsx("div", { className: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none text-muted-foreground", children: /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" }) })
3383
3383
  ] });
3384
3384
  }
3385
3385
  if (type === "textarea") {
@@ -3404,9 +3404,9 @@ var Input = React4.forwardRef(
3404
3404
  checked: props.checked,
3405
3405
  onChange,
3406
3406
  className: cn(
3407
- "h-4 w-4 rounded-[var(--radius-sm)]",
3408
- "border-[var(--color-border)]",
3409
- "text-[var(--color-primary)] focus:ring-[var(--color-ring)]",
3407
+ "h-4 w-4 rounded-sm",
3408
+ "border-border",
3409
+ "text-primary focus:ring-ring",
3410
3410
  "disabled:opacity-50 disabled:cursor-not-allowed",
3411
3411
  className
3412
3412
  ),
@@ -3415,7 +3415,7 @@ var Input = React4.forwardRef(
3415
3415
  );
3416
3416
  }
3417
3417
  return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
3418
- resolvedLeftIcon && /* @__PURE__ */ jsx("div", { className: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none text-[var(--color-muted-foreground)]", children: resolvedLeftIcon }),
3418
+ resolvedLeftIcon && /* @__PURE__ */ jsx("div", { className: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none text-muted-foreground", children: resolvedLeftIcon }),
3419
3419
  /* @__PURE__ */ jsx(
3420
3420
  "input",
3421
3421
  {
@@ -3432,11 +3432,11 @@ var Input = React4.forwardRef(
3432
3432
  {
3433
3433
  type: "button",
3434
3434
  onClick: onClear,
3435
- className: "absolute inset-y-0 right-0 pr-3 flex items-center text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)]",
3435
+ className: "absolute inset-y-0 right-0 pr-3 flex items-center text-muted-foreground hover:text-foreground",
3436
3436
  children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
3437
3437
  }
3438
3438
  ),
3439
- rightIcon && !showClearButton && /* @__PURE__ */ jsx("div", { className: "absolute inset-y-0 right-0 pr-3 flex items-center text-[var(--color-muted-foreground)]", children: rightIcon })
3439
+ rightIcon && !showClearButton && /* @__PURE__ */ jsx("div", { className: "absolute inset-y-0 right-0 pr-3 flex items-center text-muted-foreground", children: rightIcon })
3440
3440
  ] });
3441
3441
  }
3442
3442
  );
@@ -3456,8 +3456,8 @@ var DocSidebarCategory = ({ item, depth }) => {
3456
3456
  gap: "sm",
3457
3457
  align: "center",
3458
3458
  className: cn(
3459
- "cursor-pointer select-none rounded-[var(--radius-sm)] px-2 py-1.5",
3460
- "hover:bg-[var(--color-muted)]",
3459
+ "cursor-pointer select-none rounded-sm px-2 py-1.5",
3460
+ "hover:bg-muted",
3461
3461
  depth > 0 && "pl-4"
3462
3462
  ),
3463
3463
  onClick: () => setExpanded((prev) => !prev),
@@ -3475,14 +3475,14 @@ var DocSidebarCategory = ({ item, depth }) => {
3475
3475
  {
3476
3476
  name: expanded ? "chevron-down" : "chevron-right",
3477
3477
  size: "xs",
3478
- className: "text-[var(--color-muted-foreground)] shrink-0"
3478
+ className: "text-muted-foreground shrink-0"
3479
3479
  }
3480
3480
  ),
3481
3481
  /* @__PURE__ */ jsx(
3482
3482
  Typography,
3483
3483
  {
3484
3484
  variant: "caption",
3485
- className: "text-xs uppercase tracking-wider text-[var(--color-muted-foreground)] font-semibold",
3485
+ className: "text-xs uppercase tracking-wider text-muted-foreground font-semibold",
3486
3486
  as: "span",
3487
3487
  children: item.label
3488
3488
  }
@@ -3497,10 +3497,10 @@ var DocSidebarCategory = ({ item, depth }) => {
3497
3497
  Box,
3498
3498
  {
3499
3499
  className: cn(
3500
- "block rounded-[var(--radius-sm)] px-3 py-1.5 text-sm transition-colors no-underline cursor-pointer",
3501
- "hover:bg-[var(--color-muted)]",
3500
+ "block rounded-sm px-3 py-1.5 text-sm transition-colors no-underline cursor-pointer",
3501
+ "hover:bg-muted",
3502
3502
  depth > 0 && "ml-2",
3503
- item.active ? "bg-[var(--color-primary)]/8 text-[var(--color-primary)] font-semibold" : "text-[var(--color-muted-foreground)]"
3503
+ item.active ? "bg-primary/8 text-primary font-semibold" : "text-muted-foreground"
3504
3504
  ),
3505
3505
  onClick: () => {
3506
3506
  if (item.href) window.location.href = item.href;
@@ -3512,7 +3512,7 @@ var DocSidebarCategory = ({ item, depth }) => {
3512
3512
  {
3513
3513
  variant: "body2",
3514
3514
  className: cn(
3515
- item.active ? "text-[var(--color-primary)] font-semibold" : "text-[var(--color-muted-foreground)]"
3515
+ item.active ? "text-primary font-semibold" : "text-muted-foreground"
3516
3516
  ),
3517
3517
  as: "span",
3518
3518
  children: item.label
@@ -3557,7 +3557,7 @@ var DocTOC = ({
3557
3557
  "block py-1.5 no-underline transition-colors border-l-2 cursor-pointer",
3558
3558
  "pl-3",
3559
3559
  indent,
3560
- isActive ? "border-l-[var(--color-primary)]" : "border-l-transparent hover:border-l-[var(--color-muted)]"
3560
+ isActive ? "border-l-primary" : "border-l-transparent hover:border-l-[var(--color-muted)]"
3561
3561
  ),
3562
3562
  onClick: () => {
3563
3563
  const el = document.getElementById(item.id);
@@ -3571,7 +3571,7 @@ var DocTOC = ({
3571
3571
  variant: "caption",
3572
3572
  className: cn(
3573
3573
  "transition-colors",
3574
- isActive ? "text-[var(--color-primary)] font-medium" : "text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)]"
3574
+ isActive ? "text-primary font-medium" : "text-muted-foreground hover:text-foreground"
3575
3575
  ),
3576
3576
  as: "span",
3577
3577
  children: item.label
@@ -3603,7 +3603,7 @@ var DocBreadcrumb = ({
3603
3603
  {
3604
3604
  name: "chevron-right",
3605
3605
  size: "xs",
3606
- className: "text-[var(--color-muted-foreground)] shrink-0"
3606
+ className: "text-muted-foreground shrink-0"
3607
3607
  }
3608
3608
  ),
3609
3609
  isLast || !item.href ? /* @__PURE__ */ jsx(
@@ -3611,7 +3611,7 @@ var DocBreadcrumb = ({
3611
3611
  {
3612
3612
  variant: "caption",
3613
3613
  className: cn(
3614
- isLast ? "text-[var(--color-foreground)] font-medium" : "text-[var(--color-muted-foreground)]"
3614
+ isLast ? "text-foreground font-medium" : "text-muted-foreground"
3615
3615
  ),
3616
3616
  as: "span",
3617
3617
  children: item.label
@@ -3629,7 +3629,7 @@ var DocBreadcrumb = ({
3629
3629
  Typography,
3630
3630
  {
3631
3631
  variant: "caption",
3632
- className: "text-[var(--color-muted-foreground)] hover:text-[var(--color-primary)] transition-colors cursor-pointer",
3632
+ className: "text-muted-foreground hover:text-primary transition-colors cursor-pointer",
3633
3633
  as: "span",
3634
3634
  children: item.label
3635
3635
  }
@@ -3661,7 +3661,7 @@ function DocCodeBlock({
3661
3661
  Box,
3662
3662
  {
3663
3663
  className: cn(
3664
- "rounded-[var(--radius-md)] border border-[var(--color-border)] overflow-hidden",
3664
+ "rounded-md border border-border overflow-hidden",
3665
3665
  className
3666
3666
  ),
3667
3667
  position: "relative",
@@ -3671,7 +3671,7 @@ function DocCodeBlock({
3671
3671
  {
3672
3672
  align: "center",
3673
3673
  justify: "between",
3674
- className: "bg-[var(--color-muted)] px-4 py-2 border-b border-[var(--color-border)]",
3674
+ className: "bg-muted px-4 py-2 border-b border-border",
3675
3675
  children: [
3676
3676
  /* @__PURE__ */ jsxs(HStack, { align: "center", gap: "sm", children: [
3677
3677
  /* @__PURE__ */ jsx(Typography, { variant: "caption", color: "muted", children: title }),
@@ -3700,11 +3700,11 @@ function DocCodeBlock({
3700
3700
  children: copied ? "Copied!" : "Copy"
3701
3701
  }
3702
3702
  ) }) : null,
3703
- /* @__PURE__ */ jsxs(HStack, { gap: "none", className: "bg-[var(--color-foreground)] overflow-x-auto", children: [
3703
+ /* @__PURE__ */ jsxs(HStack, { gap: "none", className: "bg-foreground overflow-x-auto", children: [
3704
3704
  showLineNumbers ? /* @__PURE__ */ jsx(
3705
3705
  Box,
3706
3706
  {
3707
- className: "py-4 pl-4 pr-3 select-none border-r border-[var(--color-border)] flex-shrink-0",
3707
+ className: "py-4 pl-4 pr-3 select-none border-r border-border flex-shrink-0",
3708
3708
  children: lines.map((_, i) => /* @__PURE__ */ jsx(
3709
3709
  Typography,
3710
3710
  {
@@ -3723,7 +3723,7 @@ function DocCodeBlock({
3723
3723
  {
3724
3724
  as: "pre",
3725
3725
  className: cn(
3726
- "p-4 font-mono text-sm text-[var(--color-background)] leading-6 flex-1 min-w-0",
3726
+ "p-4 font-mono text-sm text-background leading-6 flex-1 min-w-0",
3727
3727
  !title && "pr-24"
3728
3728
  ),
3729
3729
  children: /* @__PURE__ */ jsx(Box, { as: "code", className: "whitespace-pre", children: code })
@@ -3735,12 +3735,12 @@ function DocCodeBlock({
3735
3735
  );
3736
3736
  }
3737
3737
  var linkCardStyles = [
3738
- "border border-[var(--color-border)]",
3739
- "rounded-[var(--radius-md)]",
3738
+ "border border-border",
3739
+ "rounded-md",
3740
3740
  "p-4",
3741
3741
  "transition-all",
3742
- "hover:border-[var(--color-primary)]",
3743
- "hover:shadow-[var(--shadow-hover)]",
3742
+ "hover:border-primary",
3743
+ "hover:shadow-lg",
3744
3744
  "no-underline",
3745
3745
  "flex-1",
3746
3746
  "min-w-0",
@@ -3766,14 +3766,14 @@ function DocPagination({ prev, next, className }) {
3766
3766
  role: "link",
3767
3767
  tabIndex: 0,
3768
3768
  children: /* @__PURE__ */ jsxs(HStack, { align: "center", gap: "sm", children: [
3769
- /* @__PURE__ */ jsx(Icon, { name: "arrow-left", size: "md", className: "text-[var(--color-muted-foreground)] group-hover:text-[var(--color-primary)] transition-colors flex-shrink-0" }),
3769
+ /* @__PURE__ */ jsx(Icon, { name: "arrow-left", size: "md", className: "text-muted-foreground group-hover:text-primary transition-colors flex-shrink-0" }),
3770
3770
  /* @__PURE__ */ jsxs(VStack, { gap: "none", align: "start", children: [
3771
3771
  prev.category ? /* @__PURE__ */ jsx(Typography, { variant: "caption", color: "muted", children: prev.category }) : null,
3772
3772
  /* @__PURE__ */ jsx(
3773
3773
  Typography,
3774
3774
  {
3775
3775
  variant: "body",
3776
- className: "group-hover:text-[var(--color-primary)] transition-colors",
3776
+ className: "group-hover:text-primary transition-colors",
3777
3777
  children: prev.label
3778
3778
  }
3779
3779
  )
@@ -3797,12 +3797,12 @@ function DocPagination({ prev, next, className }) {
3797
3797
  Typography,
3798
3798
  {
3799
3799
  variant: "body",
3800
- className: "group-hover:text-[var(--color-primary)] transition-colors",
3800
+ className: "group-hover:text-primary transition-colors",
3801
3801
  children: next.label
3802
3802
  }
3803
3803
  )
3804
3804
  ] }),
3805
- /* @__PURE__ */ jsx(Icon, { name: "arrow-right", size: "md", className: "text-[var(--color-muted-foreground)] group-hover:text-[var(--color-primary)] transition-colors flex-shrink-0" })
3805
+ /* @__PURE__ */ jsx(Icon, { name: "arrow-right", size: "md", className: "text-muted-foreground group-hover:text-primary transition-colors flex-shrink-0" })
3806
3806
  ] })
3807
3807
  }
3808
3808
  ) : /* @__PURE__ */ jsx(Box, { className: "flex-1" })
@@ -3926,7 +3926,7 @@ function DocSearch({
3926
3926
  onChange: handleChange,
3927
3927
  onFocus: handleFocus,
3928
3928
  onKeyDown: handleKeyDown,
3929
- leftIcon: /* @__PURE__ */ jsx(Icon, { name: "search", size: "sm", className: "text-[var(--color-muted-foreground)]" }),
3929
+ leftIcon: /* @__PURE__ */ jsx(Icon, { name: "search", size: "sm", className: "text-muted-foreground" }),
3930
3930
  clearable: query.length > 0,
3931
3931
  onClear: () => {
3932
3932
  setQuery("");
@@ -3939,15 +3939,15 @@ function DocSearch({
3939
3939
  Box,
3940
3940
  {
3941
3941
  position: "absolute",
3942
- className: "top-full left-0 right-0 mt-1 z-50 bg-[var(--color-card)] border border-[var(--color-border)] rounded-[var(--radius-md)] shadow-[var(--shadow-lg)] max-h-80 overflow-y-auto",
3942
+ className: "top-full left-0 right-0 mt-1 z-50 bg-card border border-border rounded-md shadow-lg max-h-80 overflow-y-auto",
3943
3943
  children: /* @__PURE__ */ jsx(VStack, { gap: "none", children: results.map((result, index) => /* @__PURE__ */ jsx(
3944
3944
  Box,
3945
3945
  {
3946
3946
  className: cn(
3947
3947
  "px-4 py-3 cursor-pointer transition-colors",
3948
- "hover:bg-[var(--color-muted)]",
3949
- index === activeIndex && "bg-[var(--color-muted)]",
3950
- index < results.length - 1 && "border-b border-[var(--color-border)]"
3948
+ "hover:bg-muted",
3949
+ index === activeIndex && "bg-muted",
3950
+ index < results.length - 1 && "border-b border-border"
3951
3951
  ),
3952
3952
  onClick: () => navigateTo(result.href),
3953
3953
  role: "option",