@almadar/ui 2.24.4 → 2.24.8

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)]",
3020
- "border-[length:var(--border-width)] border-[var(--color-border)]",
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)]"
3019
+ "bg-primary text-primary-foreground",
3020
+ "border-none",
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-[length:var(--border-width)] border-[var(--color-accent)]",
3028
- "hover:bg-[var(--color-accent)] hover:text-white",
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,9 +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
+ "cursor-pointer",
3133
3134
  "transition-all duration-[var(--transition-normal)]",
3134
- "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)]",
3135
3136
  "disabled:opacity-50 disabled:cursor-not-allowed",
3136
3137
  variantStyles2[variant],
3137
3138
  sizeStyles2[size],
@@ -3152,32 +3153,34 @@ var Button = React4.forwardRef(
3152
3153
  Button.displayName = "Button";
3153
3154
  var variantStyles3 = {
3154
3155
  default: [
3155
- "bg-[var(--color-card)] border-none",
3156
+ "bg-card",
3157
+ "border-[length:var(--border-width)] border-border",
3158
+ "shadow-sm",
3156
3159
  "transition-all duration-[var(--transition-normal)]",
3157
- "hover:shadow-[var(--shadow-hover)] hover:-translate-y-0.5"
3160
+ "hover:shadow-lg hover:-translate-y-0.5"
3158
3161
  ].join(" "),
3159
3162
  bordered: [
3160
- "bg-[var(--color-card)]",
3161
- "border-[length:var(--border-width)] border-[var(--color-border)]",
3162
- "shadow-none",
3163
+ "bg-card",
3164
+ "border-[length:var(--border-width)] border-border",
3165
+ "shadow-sm",
3163
3166
  "transition-all duration-[var(--transition-normal)]",
3164
- "hover:shadow-[var(--shadow-hover)] hover:-translate-y-0.5"
3167
+ "hover:shadow-lg hover:-translate-y-0.5"
3165
3168
  ].join(" "),
3166
3169
  elevated: [
3167
- "bg-[var(--color-card)]",
3168
- "border-[length:var(--border-width)] border-[var(--color-border)]",
3169
- "shadow-[var(--shadow-main)]",
3170
+ "bg-card",
3171
+ "border-[length:var(--border-width)] border-border",
3172
+ "shadow",
3170
3173
  "transition-all duration-[var(--transition-normal)]",
3171
- "hover:shadow-[var(--shadow-hover)] hover:-translate-y-0.5"
3174
+ "hover:shadow-lg hover:-translate-y-0.5"
3172
3175
  ].join(" "),
3173
3176
  // Interactive variant with theme-specific hover effects
3174
3177
  interactive: [
3175
- "bg-[var(--color-card)]",
3176
- "border-[length:var(--border-width)] border-[var(--color-border)]",
3177
- "shadow-[var(--shadow-main)]",
3178
+ "bg-card",
3179
+ "border-[length:var(--border-width)] border-border",
3180
+ "shadow",
3178
3181
  "cursor-pointer",
3179
3182
  "transition-all duration-[var(--transition-normal)]",
3180
- "hover:shadow-[var(--shadow-hover)]"
3183
+ "hover:shadow-lg"
3181
3184
  ].join(" ")
3182
3185
  };
3183
3186
  var paddingStyles2 = {
@@ -3188,9 +3191,9 @@ var paddingStyles2 = {
3188
3191
  };
3189
3192
  var shadowStyles2 = {
3190
3193
  none: "shadow-none",
3191
- sm: "shadow-[var(--shadow-sm)]",
3192
- md: "shadow-[var(--shadow-main)]",
3193
- lg: "shadow-[var(--shadow-lg)]"
3194
+ sm: "shadow-sm",
3195
+ md: "shadow",
3196
+ lg: "shadow-lg"
3194
3197
  };
3195
3198
  var Card = React4.forwardRef(
3196
3199
  ({
@@ -3208,7 +3211,7 @@ var Card = React4.forwardRef(
3208
3211
  {
3209
3212
  ref,
3210
3213
  className: cn(
3211
- "rounded-[var(--radius-md)]",
3214
+ "rounded-md",
3212
3215
  "transition-all duration-[var(--transition-normal)]",
3213
3216
  variantStyles3[variant],
3214
3217
  paddingStyles2[padding],
@@ -3218,8 +3221,8 @@ var Card = React4.forwardRef(
3218
3221
  ...props,
3219
3222
  children: [
3220
3223
  (title || subtitle) && /* @__PURE__ */ jsxs("div", { className: "mb-4", children: [
3221
- title && /* @__PURE__ */ jsx("h3", { className: "text-lg text-[var(--color-card-foreground)] font-[var(--font-weight-bold)]", children: title }),
3222
- 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 })
3223
3226
  ] }),
3224
3227
  children
3225
3228
  ]
@@ -3235,7 +3238,7 @@ var CardTitle = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3235
3238
  {
3236
3239
  ref,
3237
3240
  className: cn(
3238
- "text-lg text-[var(--color-card-foreground)]",
3241
+ "text-lg text-card-foreground",
3239
3242
  "font-[var(--font-weight-bold)]",
3240
3243
  className
3241
3244
  ),
@@ -3272,7 +3275,7 @@ var Divider = ({
3272
3275
  "div",
3273
3276
  {
3274
3277
  className: cn(
3275
- "w-0 h-full border-l border-[var(--color-border)]",
3278
+ "w-0 h-full border-l border-border",
3276
3279
  variantStyles4[variant],
3277
3280
  className
3278
3281
  ),
@@ -3293,17 +3296,17 @@ var Divider = ({
3293
3296
  "div",
3294
3297
  {
3295
3298
  className: cn(
3296
- "flex-1 h-0 border-t border-[var(--color-border)]",
3299
+ "flex-1 h-0 border-t border-border",
3297
3300
  variantStyles4[variant]
3298
3301
  )
3299
3302
  }
3300
3303
  ),
3301
- /* @__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 }),
3302
3305
  /* @__PURE__ */ jsx(
3303
3306
  "div",
3304
3307
  {
3305
3308
  className: cn(
3306
- "flex-1 h-0 border-t border-[var(--color-border)]",
3309
+ "flex-1 h-0 border-t border-border",
3307
3310
  variantStyles4[variant]
3308
3311
  )
3309
3312
  }
@@ -3316,7 +3319,7 @@ var Divider = ({
3316
3319
  "div",
3317
3320
  {
3318
3321
  className: cn(
3319
- "w-full h-0 border-t border-[var(--color-border)] my-4",
3322
+ "w-full h-0 border-t border-border my-4",
3320
3323
  variantStyles4[variant],
3321
3324
  className
3322
3325
  ),
@@ -3347,21 +3350,21 @@ var Input = React4.forwardRef(
3347
3350
  const resolvedLeftIcon = leftIcon || IconComponent && /* @__PURE__ */ jsx(IconComponent, { className: "h-4 w-4" });
3348
3351
  const showClearButton = clearable && value && String(value).length > 0;
3349
3352
  const baseClassName = cn(
3350
- "block w-full rounded-[var(--radius-sm)] transition-all duration-[var(--transition-fast)]",
3351
- "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",
3352
3355
  "px-3 py-2 text-sm",
3353
- "bg-[var(--color-card)] hover:bg-[var(--color-muted)] focus:bg-[var(--color-card)]",
3354
- "text-[var(--color-foreground)] placeholder:text-[var(--color-muted-foreground)]",
3355
- "focus:outline-none focus:ring-1 focus:ring-[var(--color-ring)] focus:border-[var(--color-ring)]",
3356
- "disabled:opacity-50 disabled:cursor-not-allowed disabled:bg-[var(--color-muted)]",
3357
- 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" : "",
3358
3361
  resolvedLeftIcon && "pl-10",
3359
3362
  (rightIcon || showClearButton) && "pr-10",
3360
3363
  className
3361
3364
  );
3362
3365
  if (type === "select") {
3363
3366
  return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
3364
- 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 }),
3365
3368
  /* @__PURE__ */ jsxs(
3366
3369
  "select",
3367
3370
  {
@@ -3376,7 +3379,7 @@ var Input = React4.forwardRef(
3376
3379
  ]
3377
3380
  }
3378
3381
  ),
3379
- /* @__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" }) })
3380
3383
  ] });
3381
3384
  }
3382
3385
  if (type === "textarea") {
@@ -3401,9 +3404,9 @@ var Input = React4.forwardRef(
3401
3404
  checked: props.checked,
3402
3405
  onChange,
3403
3406
  className: cn(
3404
- "h-4 w-4 rounded-[var(--radius-sm)]",
3405
- "border-[var(--color-border)]",
3406
- "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",
3407
3410
  "disabled:opacity-50 disabled:cursor-not-allowed",
3408
3411
  className
3409
3412
  ),
@@ -3412,7 +3415,7 @@ var Input = React4.forwardRef(
3412
3415
  );
3413
3416
  }
3414
3417
  return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
3415
- 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 }),
3416
3419
  /* @__PURE__ */ jsx(
3417
3420
  "input",
3418
3421
  {
@@ -3429,11 +3432,11 @@ var Input = React4.forwardRef(
3429
3432
  {
3430
3433
  type: "button",
3431
3434
  onClick: onClear,
3432
- 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",
3433
3436
  children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
3434
3437
  }
3435
3438
  ),
3436
- 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 })
3437
3440
  ] });
3438
3441
  }
3439
3442
  );
@@ -3453,8 +3456,8 @@ var DocSidebarCategory = ({ item, depth }) => {
3453
3456
  gap: "sm",
3454
3457
  align: "center",
3455
3458
  className: cn(
3456
- "cursor-pointer select-none rounded-[var(--radius-sm)] px-2 py-1.5",
3457
- "hover:bg-[var(--color-muted)]",
3459
+ "cursor-pointer select-none rounded-sm px-2 py-1.5",
3460
+ "hover:bg-muted",
3458
3461
  depth > 0 && "pl-4"
3459
3462
  ),
3460
3463
  onClick: () => setExpanded((prev) => !prev),
@@ -3472,14 +3475,14 @@ var DocSidebarCategory = ({ item, depth }) => {
3472
3475
  {
3473
3476
  name: expanded ? "chevron-down" : "chevron-right",
3474
3477
  size: "xs",
3475
- className: "text-[var(--color-muted-foreground)] shrink-0"
3478
+ className: "text-muted-foreground shrink-0"
3476
3479
  }
3477
3480
  ),
3478
3481
  /* @__PURE__ */ jsx(
3479
3482
  Typography,
3480
3483
  {
3481
3484
  variant: "caption",
3482
- 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",
3483
3486
  as: "span",
3484
3487
  children: item.label
3485
3488
  }
@@ -3494,10 +3497,10 @@ var DocSidebarCategory = ({ item, depth }) => {
3494
3497
  Box,
3495
3498
  {
3496
3499
  className: cn(
3497
- "block rounded-[var(--radius-sm)] px-3 py-1.5 text-sm transition-colors no-underline cursor-pointer",
3498
- "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",
3499
3502
  depth > 0 && "ml-2",
3500
- 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"
3501
3504
  ),
3502
3505
  onClick: () => {
3503
3506
  if (item.href) window.location.href = item.href;
@@ -3509,7 +3512,7 @@ var DocSidebarCategory = ({ item, depth }) => {
3509
3512
  {
3510
3513
  variant: "body2",
3511
3514
  className: cn(
3512
- item.active ? "text-[var(--color-primary)] font-semibold" : "text-[var(--color-muted-foreground)]"
3515
+ item.active ? "text-primary font-semibold" : "text-muted-foreground"
3513
3516
  ),
3514
3517
  as: "span",
3515
3518
  children: item.label
@@ -3554,7 +3557,7 @@ var DocTOC = ({
3554
3557
  "block py-1.5 no-underline transition-colors border-l-2 cursor-pointer",
3555
3558
  "pl-3",
3556
3559
  indent,
3557
- 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)]"
3558
3561
  ),
3559
3562
  onClick: () => {
3560
3563
  const el = document.getElementById(item.id);
@@ -3568,7 +3571,7 @@ var DocTOC = ({
3568
3571
  variant: "caption",
3569
3572
  className: cn(
3570
3573
  "transition-colors",
3571
- 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"
3572
3575
  ),
3573
3576
  as: "span",
3574
3577
  children: item.label
@@ -3600,7 +3603,7 @@ var DocBreadcrumb = ({
3600
3603
  {
3601
3604
  name: "chevron-right",
3602
3605
  size: "xs",
3603
- className: "text-[var(--color-muted-foreground)] shrink-0"
3606
+ className: "text-muted-foreground shrink-0"
3604
3607
  }
3605
3608
  ),
3606
3609
  isLast || !item.href ? /* @__PURE__ */ jsx(
@@ -3608,7 +3611,7 @@ var DocBreadcrumb = ({
3608
3611
  {
3609
3612
  variant: "caption",
3610
3613
  className: cn(
3611
- isLast ? "text-[var(--color-foreground)] font-medium" : "text-[var(--color-muted-foreground)]"
3614
+ isLast ? "text-foreground font-medium" : "text-muted-foreground"
3612
3615
  ),
3613
3616
  as: "span",
3614
3617
  children: item.label
@@ -3626,7 +3629,7 @@ var DocBreadcrumb = ({
3626
3629
  Typography,
3627
3630
  {
3628
3631
  variant: "caption",
3629
- 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",
3630
3633
  as: "span",
3631
3634
  children: item.label
3632
3635
  }
@@ -3658,7 +3661,7 @@ function DocCodeBlock({
3658
3661
  Box,
3659
3662
  {
3660
3663
  className: cn(
3661
- "rounded-[var(--radius-md)] border border-[var(--color-border)] overflow-hidden",
3664
+ "rounded-md border border-border overflow-hidden",
3662
3665
  className
3663
3666
  ),
3664
3667
  position: "relative",
@@ -3668,7 +3671,7 @@ function DocCodeBlock({
3668
3671
  {
3669
3672
  align: "center",
3670
3673
  justify: "between",
3671
- 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",
3672
3675
  children: [
3673
3676
  /* @__PURE__ */ jsxs(HStack, { align: "center", gap: "sm", children: [
3674
3677
  /* @__PURE__ */ jsx(Typography, { variant: "caption", color: "muted", children: title }),
@@ -3697,11 +3700,11 @@ function DocCodeBlock({
3697
3700
  children: copied ? "Copied!" : "Copy"
3698
3701
  }
3699
3702
  ) }) : null,
3700
- /* @__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: [
3701
3704
  showLineNumbers ? /* @__PURE__ */ jsx(
3702
3705
  Box,
3703
3706
  {
3704
- 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",
3705
3708
  children: lines.map((_, i) => /* @__PURE__ */ jsx(
3706
3709
  Typography,
3707
3710
  {
@@ -3720,7 +3723,7 @@ function DocCodeBlock({
3720
3723
  {
3721
3724
  as: "pre",
3722
3725
  className: cn(
3723
- "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",
3724
3727
  !title && "pr-24"
3725
3728
  ),
3726
3729
  children: /* @__PURE__ */ jsx(Box, { as: "code", className: "whitespace-pre", children: code })
@@ -3732,12 +3735,12 @@ function DocCodeBlock({
3732
3735
  );
3733
3736
  }
3734
3737
  var linkCardStyles = [
3735
- "border border-[var(--color-border)]",
3736
- "rounded-[var(--radius-md)]",
3738
+ "border border-border",
3739
+ "rounded-md",
3737
3740
  "p-4",
3738
3741
  "transition-all",
3739
- "hover:border-[var(--color-primary)]",
3740
- "hover:shadow-[var(--shadow-hover)]",
3742
+ "hover:border-primary",
3743
+ "hover:shadow-lg",
3741
3744
  "no-underline",
3742
3745
  "flex-1",
3743
3746
  "min-w-0",
@@ -3763,14 +3766,14 @@ function DocPagination({ prev, next, className }) {
3763
3766
  role: "link",
3764
3767
  tabIndex: 0,
3765
3768
  children: /* @__PURE__ */ jsxs(HStack, { align: "center", gap: "sm", children: [
3766
- /* @__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" }),
3767
3770
  /* @__PURE__ */ jsxs(VStack, { gap: "none", align: "start", children: [
3768
3771
  prev.category ? /* @__PURE__ */ jsx(Typography, { variant: "caption", color: "muted", children: prev.category }) : null,
3769
3772
  /* @__PURE__ */ jsx(
3770
3773
  Typography,
3771
3774
  {
3772
3775
  variant: "body",
3773
- className: "group-hover:text-[var(--color-primary)] transition-colors",
3776
+ className: "group-hover:text-primary transition-colors",
3774
3777
  children: prev.label
3775
3778
  }
3776
3779
  )
@@ -3794,12 +3797,12 @@ function DocPagination({ prev, next, className }) {
3794
3797
  Typography,
3795
3798
  {
3796
3799
  variant: "body",
3797
- className: "group-hover:text-[var(--color-primary)] transition-colors",
3800
+ className: "group-hover:text-primary transition-colors",
3798
3801
  children: next.label
3799
3802
  }
3800
3803
  )
3801
3804
  ] }),
3802
- /* @__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" })
3803
3806
  ] })
3804
3807
  }
3805
3808
  ) : /* @__PURE__ */ jsx(Box, { className: "flex-1" })
@@ -3923,7 +3926,7 @@ function DocSearch({
3923
3926
  onChange: handleChange,
3924
3927
  onFocus: handleFocus,
3925
3928
  onKeyDown: handleKeyDown,
3926
- 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" }),
3927
3930
  clearable: query.length > 0,
3928
3931
  onClear: () => {
3929
3932
  setQuery("");
@@ -3936,15 +3939,15 @@ function DocSearch({
3936
3939
  Box,
3937
3940
  {
3938
3941
  position: "absolute",
3939
- 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",
3940
3943
  children: /* @__PURE__ */ jsx(VStack, { gap: "none", children: results.map((result, index) => /* @__PURE__ */ jsx(
3941
3944
  Box,
3942
3945
  {
3943
3946
  className: cn(
3944
3947
  "px-4 py-3 cursor-pointer transition-colors",
3945
- "hover:bg-[var(--color-muted)]",
3946
- index === activeIndex && "bg-[var(--color-muted)]",
3947
- 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"
3948
3951
  ),
3949
3952
  onClick: () => navigateTo(result.href),
3950
3953
  role: "option",