@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.
@@ -661,28 +661,28 @@ var marginYStyles = {
661
661
  };
662
662
  var bgStyles = {
663
663
  transparent: "bg-transparent",
664
- primary: "bg-[var(--color-primary)] text-[var(--color-primary-foreground)]",
665
- secondary: "bg-[var(--color-secondary)] text-[var(--color-secondary-foreground)]",
666
- muted: "bg-[var(--color-muted)] text-[var(--color-foreground)]",
667
- accent: "bg-[var(--color-accent)] text-[var(--color-accent-foreground)]",
668
- surface: "bg-[var(--color-card)]",
669
- overlay: "bg-[var(--color-card)]/80 backdrop-blur-sm"
664
+ primary: "bg-primary text-primary-foreground",
665
+ secondary: "bg-secondary text-secondary-foreground",
666
+ muted: "bg-muted text-foreground",
667
+ accent: "bg-accent text-accent-foreground",
668
+ surface: "bg-card",
669
+ overlay: "bg-card/80 backdrop-blur-sm"
670
670
  };
671
671
  var roundedStyles = {
672
672
  none: "rounded-none",
673
- sm: "rounded-[var(--radius-sm)]",
674
- md: "rounded-[var(--radius-md)]",
675
- lg: "rounded-[var(--radius-lg)]",
676
- xl: "rounded-[var(--radius-xl)]",
677
- "2xl": "rounded-[var(--radius-xl)]",
678
- full: "rounded-[var(--radius-full)]"
673
+ sm: "rounded-sm",
674
+ md: "rounded-md",
675
+ lg: "rounded-lg",
676
+ xl: "rounded-xl",
677
+ "2xl": "rounded-xl",
678
+ full: "rounded-full"
679
679
  };
680
680
  var shadowStyles = {
681
681
  none: "shadow-none",
682
- sm: "shadow-[var(--shadow-sm)]",
683
- md: "shadow-[var(--shadow-main)]",
684
- lg: "shadow-[var(--shadow-lg)]",
685
- xl: "shadow-[var(--shadow-lg)]"
682
+ sm: "shadow-sm",
683
+ md: "shadow",
684
+ lg: "shadow-lg",
685
+ xl: "shadow-lg"
686
686
  };
687
687
  var displayStyles = {
688
688
  block: "block",
@@ -770,7 +770,7 @@ var Box = React110__namespace.default.forwardRef(
770
770
  // Background
771
771
  bgStyles[bg],
772
772
  // Border - uses theme variables
773
- border && "border-[length:var(--border-width)] border-[var(--color-border)]",
773
+ border && "border-[length:var(--border-width)] border-border",
774
774
  // Rounded
775
775
  roundedStyles[rounded],
776
776
  // Shadow
@@ -799,30 +799,30 @@ var Box = React110__namespace.default.forwardRef(
799
799
  );
800
800
  Box.displayName = "Box";
801
801
  var variantStyles = {
802
- h1: "text-4xl font-bold tracking-tight text-[var(--color-foreground)]",
803
- h2: "text-3xl font-bold tracking-tight text-[var(--color-foreground)]",
804
- h3: "text-2xl font-bold text-[var(--color-foreground)]",
805
- h4: "text-xl font-bold text-[var(--color-foreground)]",
806
- h5: "text-lg font-bold text-[var(--color-foreground)]",
807
- h6: "text-base font-bold text-[var(--color-foreground)]",
808
- heading: "text-2xl font-bold text-[var(--color-foreground)]",
809
- subheading: "text-lg font-semibold text-[var(--color-foreground)]",
810
- body1: "text-base font-normal text-[var(--color-foreground)]",
811
- body2: "text-sm font-normal text-[var(--color-foreground)]",
812
- body: "text-base font-normal text-[var(--color-foreground)]",
813
- caption: "text-xs font-normal text-[var(--color-muted-foreground)]",
814
- overline: "text-xs uppercase tracking-wide font-bold text-[var(--color-muted-foreground)]",
815
- small: "text-sm font-normal text-[var(--color-foreground)]",
816
- large: "text-lg font-medium text-[var(--color-foreground)]",
817
- label: "text-sm font-medium text-[var(--color-foreground)]"
802
+ h1: "text-4xl font-bold tracking-tight text-foreground",
803
+ h2: "text-3xl font-bold tracking-tight text-foreground",
804
+ h3: "text-2xl font-bold text-foreground",
805
+ h4: "text-xl font-bold text-foreground",
806
+ h5: "text-lg font-bold text-foreground",
807
+ h6: "text-base font-bold text-foreground",
808
+ heading: "text-2xl font-bold text-foreground",
809
+ subheading: "text-lg font-semibold text-foreground",
810
+ body1: "text-base font-normal text-foreground",
811
+ body2: "text-sm font-normal text-foreground",
812
+ body: "text-base font-normal text-foreground",
813
+ caption: "text-xs font-normal text-muted-foreground",
814
+ overline: "text-xs uppercase tracking-wide font-bold text-muted-foreground",
815
+ small: "text-sm font-normal text-foreground",
816
+ large: "text-lg font-medium text-foreground",
817
+ label: "text-sm font-medium text-foreground"
818
818
  };
819
819
  var colorStyles = {
820
- primary: "text-[var(--color-foreground)]",
821
- secondary: "text-[var(--color-muted-foreground)]",
822
- muted: "text-[var(--color-muted-foreground)]",
823
- error: "text-[var(--color-error)]",
824
- success: "text-[var(--color-success)]",
825
- warning: "text-[var(--color-warning)]",
820
+ primary: "text-foreground",
821
+ secondary: "text-muted-foreground",
822
+ muted: "text-muted-foreground",
823
+ error: "text-error",
824
+ success: "text-success",
825
+ warning: "text-warning",
826
826
  inherit: "text-inherit"
827
827
  };
828
828
  var weightStyles = {
@@ -907,49 +907,49 @@ var Typography = ({
907
907
  Typography.displayName = "Typography";
908
908
  var variantStyles2 = {
909
909
  primary: [
910
- "bg-[var(--color-primary)] text-[var(--color-primary-foreground)]",
910
+ "bg-primary text-primary-foreground",
911
911
  "border-none",
912
- "shadow-[var(--shadow-sm)]",
913
- "hover:bg-[var(--color-primary-hover)] hover:shadow-[var(--shadow-hover)]",
914
- "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
912
+ "shadow-sm",
913
+ "hover:bg-primary-hover hover:shadow-lg",
914
+ "active:scale-[var(--active-scale)] active:shadow-sm"
915
915
  ].join(" "),
916
916
  secondary: [
917
- "bg-transparent text-[var(--color-accent)]",
918
- "border border-[var(--color-accent)]",
919
- "hover:bg-[var(--color-accent)] hover:text-white hover:border-[var(--color-accent)]",
917
+ "bg-transparent text-accent",
918
+ "border border-accent",
919
+ "hover:bg-accent hover:text-white hover:border-accent",
920
920
  "active:scale-[var(--active-scale)]"
921
921
  ].join(" "),
922
922
  ghost: [
923
- "bg-transparent text-[var(--color-muted-foreground)]",
924
- "hover:text-[var(--color-foreground)] hover:bg-[var(--color-muted)]",
923
+ "bg-transparent text-muted-foreground",
924
+ "hover:text-foreground hover:bg-muted",
925
925
  "active:scale-[var(--active-scale)]"
926
926
  ].join(" "),
927
927
  danger: [
928
- "bg-[var(--color-surface)] text-[var(--color-error)]",
929
- "border-[length:var(--border-width)] border-[var(--color-error)]",
930
- "shadow-[var(--shadow-sm)]",
931
- "hover:bg-[var(--color-error)] hover:text-[var(--color-error-foreground)] hover:shadow-[var(--shadow-hover)]",
932
- "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
928
+ "bg-surface text-error",
929
+ "border-[length:var(--border-width)] border-error",
930
+ "shadow-sm",
931
+ "hover:bg-error hover:text-error-foreground hover:shadow-lg",
932
+ "active:scale-[var(--active-scale)] active:shadow-sm"
933
933
  ].join(" "),
934
934
  success: [
935
- "bg-[var(--color-surface)] text-[var(--color-success)]",
936
- "border-[length:var(--border-width)] border-[var(--color-success)]",
937
- "shadow-[var(--shadow-sm)]",
938
- "hover:bg-[var(--color-success)] hover:text-[var(--color-success-foreground)] hover:shadow-[var(--shadow-hover)]",
939
- "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
935
+ "bg-surface text-success",
936
+ "border-[length:var(--border-width)] border-success",
937
+ "shadow-sm",
938
+ "hover:bg-success hover:text-success-foreground hover:shadow-lg",
939
+ "active:scale-[var(--active-scale)] active:shadow-sm"
940
940
  ].join(" "),
941
941
  warning: [
942
- "bg-[var(--color-surface)] text-[var(--color-warning)]",
943
- "border-[length:var(--border-width)] border-[var(--color-warning)]",
944
- "shadow-[var(--shadow-sm)]",
945
- "hover:bg-[var(--color-warning)] hover:text-[var(--color-warning-foreground)] hover:shadow-[var(--shadow-hover)]",
946
- "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
942
+ "bg-surface text-warning",
943
+ "border-[length:var(--border-width)] border-warning",
944
+ "shadow-sm",
945
+ "hover:bg-warning hover:text-warning-foreground hover:shadow-lg",
946
+ "active:scale-[var(--active-scale)] active:shadow-sm"
947
947
  ].join(" "),
948
948
  // "default" is an alias for secondary
949
949
  default: [
950
- "bg-[var(--color-secondary)] text-[var(--color-secondary-foreground)]",
951
- "border-[length:var(--border-width-thin)] border-[var(--color-border)]",
952
- "hover:bg-[var(--color-secondary-hover)]",
950
+ "bg-secondary text-secondary-foreground",
951
+ "border-[length:var(--border-width-thin)] border-border",
952
+ "hover:bg-secondary-hover",
953
953
  "active:scale-[var(--active-scale)]"
954
954
  ].join(" ")
955
955
  };
@@ -1020,10 +1020,10 @@ var Button = React110__namespace.default.forwardRef(
1020
1020
  className: cn(
1021
1021
  "inline-flex items-center justify-center gap-2",
1022
1022
  "font-[var(--font-weight-medium)]",
1023
- "rounded-[var(--radius-sm)]",
1023
+ "rounded-sm",
1024
1024
  "cursor-pointer",
1025
1025
  "transition-all duration-[var(--transition-normal)]",
1026
- "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-[var(--color-ring)] focus:ring-offset-[length:var(--focus-ring-offset)]",
1026
+ "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-ring focus:ring-offset-[length:var(--focus-ring-offset)]",
1027
1027
  "disabled:opacity-50 disabled:cursor-not-allowed",
1028
1028
  variantStyles2[variant],
1029
1029
  sizeStyles2[size],
@@ -1044,34 +1044,34 @@ var Button = React110__namespace.default.forwardRef(
1044
1044
  Button.displayName = "Button";
1045
1045
  var variantStyles3 = {
1046
1046
  default: [
1047
- "bg-[var(--color-muted)] text-[var(--color-foreground)]",
1048
- "border-[length:var(--border-width-thin)] border-[var(--color-border)]"
1047
+ "bg-muted text-foreground",
1048
+ "border-[length:var(--border-width-thin)] border-border"
1049
1049
  ].join(" "),
1050
- primary: "bg-[var(--color-primary)] text-[var(--color-primary-foreground)]",
1051
- secondary: "bg-[var(--color-secondary)] text-[var(--color-secondary-foreground)]",
1050
+ primary: "bg-primary text-primary-foreground",
1051
+ secondary: "bg-secondary text-secondary-foreground",
1052
1052
  success: [
1053
- "bg-[var(--color-surface)] text-[var(--color-success)]",
1054
- "border-[length:var(--border-width)] border-[var(--color-success)]"
1053
+ "bg-surface text-success",
1054
+ "border-[length:var(--border-width)] border-success"
1055
1055
  ].join(" "),
1056
1056
  warning: [
1057
- "bg-[var(--color-surface)] text-[var(--color-warning)]",
1058
- "border-[length:var(--border-width)] border-[var(--color-warning)]"
1057
+ "bg-surface text-warning",
1058
+ "border-[length:var(--border-width)] border-warning"
1059
1059
  ].join(" "),
1060
1060
  danger: [
1061
- "bg-[var(--color-surface)] text-[var(--color-error)]",
1062
- "border-[length:var(--border-width)] border-[var(--color-error)]"
1061
+ "bg-surface text-error",
1062
+ "border-[length:var(--border-width)] border-error"
1063
1063
  ].join(" "),
1064
1064
  error: [
1065
- "bg-[var(--color-surface)] text-[var(--color-error)]",
1066
- "border-[length:var(--border-width)] border-[var(--color-error)]"
1065
+ "bg-surface text-error",
1066
+ "border-[length:var(--border-width)] border-error"
1067
1067
  ].join(" "),
1068
1068
  info: [
1069
- "bg-[var(--color-surface)] text-[var(--color-info)]",
1070
- "border-[length:var(--border-width)] border-[var(--color-info)]"
1069
+ "bg-surface text-info",
1070
+ "border-[length:var(--border-width)] border-info"
1071
1071
  ].join(" "),
1072
1072
  neutral: [
1073
- "bg-[var(--color-muted)] text-[var(--color-muted-foreground)]",
1074
- "border-[length:var(--border-width-thin)] border-[var(--color-border)]"
1073
+ "bg-muted text-muted-foreground",
1074
+ "border-[length:var(--border-width-thin)] border-border"
1075
1075
  ].join(" ")
1076
1076
  };
1077
1077
  var sizeStyles3 = {
@@ -1091,7 +1091,7 @@ var Badge = React110__namespace.default.forwardRef(
1091
1091
  {
1092
1092
  ref,
1093
1093
  className: cn(
1094
- "inline-flex items-center gap-1 font-bold rounded-[var(--radius-sm)]",
1094
+ "inline-flex items-center gap-1 font-bold rounded-sm",
1095
1095
  variantStyles3[variant],
1096
1096
  sizeStyles3[size],
1097
1097
  className
@@ -1127,21 +1127,21 @@ var Input = React110__namespace.default.forwardRef(
1127
1127
  const resolvedLeftIcon = leftIcon || IconComponent && /* @__PURE__ */ jsxRuntime.jsx(IconComponent, { className: "h-4 w-4" });
1128
1128
  const showClearButton = clearable && value && String(value).length > 0;
1129
1129
  const baseClassName = cn(
1130
- "block w-full rounded-[var(--radius-sm)] transition-all duration-[var(--transition-fast)]",
1131
- "border-[length:var(--border-width-thin)] border-[var(--color-border)]",
1130
+ "block w-full rounded-sm transition-all duration-[var(--transition-fast)]",
1131
+ "border-[length:var(--border-width-thin)] border-border",
1132
1132
  "px-3 py-2 text-sm",
1133
- "bg-[var(--color-card)] hover:bg-[var(--color-muted)] focus:bg-[var(--color-card)]",
1134
- "text-[var(--color-foreground)] placeholder:text-[var(--color-muted-foreground)]",
1135
- "focus:outline-none focus:ring-1 focus:ring-[var(--color-ring)] focus:border-[var(--color-ring)]",
1136
- "disabled:opacity-50 disabled:cursor-not-allowed disabled:bg-[var(--color-muted)]",
1137
- error ? "border-[var(--color-error)] focus:border-[var(--color-error)] focus:ring-[var(--color-error)]" : "",
1133
+ "bg-card hover:bg-muted focus:bg-card",
1134
+ "text-foreground placeholder:text-muted-foreground",
1135
+ "focus:outline-none focus:ring-1 focus:ring-ring focus:border-ring",
1136
+ "disabled:opacity-50 disabled:cursor-not-allowed disabled:bg-muted",
1137
+ error ? "border-error focus:border-error focus:ring-error" : "",
1138
1138
  resolvedLeftIcon && "pl-10",
1139
1139
  (rightIcon || showClearButton) && "pr-10",
1140
1140
  className
1141
1141
  );
1142
1142
  if (type === "select") {
1143
1143
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
1144
- resolvedLeftIcon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none text-[var(--color-muted-foreground)]", children: resolvedLeftIcon }),
1144
+ resolvedLeftIcon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none text-muted-foreground", children: resolvedLeftIcon }),
1145
1145
  /* @__PURE__ */ jsxRuntime.jsxs(
1146
1146
  "select",
1147
1147
  {
@@ -1156,7 +1156,7 @@ var Input = React110__namespace.default.forwardRef(
1156
1156
  ]
1157
1157
  }
1158
1158
  ),
1159
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none text-[var(--color-muted-foreground)]", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { className: "h-4 w-4" }) })
1159
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { className: "h-4 w-4" }) })
1160
1160
  ] });
1161
1161
  }
1162
1162
  if (type === "textarea") {
@@ -1181,9 +1181,9 @@ var Input = React110__namespace.default.forwardRef(
1181
1181
  checked: props.checked,
1182
1182
  onChange,
1183
1183
  className: cn(
1184
- "h-4 w-4 rounded-[var(--radius-sm)]",
1185
- "border-[var(--color-border)]",
1186
- "text-[var(--color-primary)] focus:ring-[var(--color-ring)]",
1184
+ "h-4 w-4 rounded-sm",
1185
+ "border-border",
1186
+ "text-primary focus:ring-ring",
1187
1187
  "disabled:opacity-50 disabled:cursor-not-allowed",
1188
1188
  className
1189
1189
  ),
@@ -1192,7 +1192,7 @@ var Input = React110__namespace.default.forwardRef(
1192
1192
  );
1193
1193
  }
1194
1194
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
1195
- resolvedLeftIcon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none text-[var(--color-muted-foreground)]", children: resolvedLeftIcon }),
1195
+ resolvedLeftIcon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none text-muted-foreground", children: resolvedLeftIcon }),
1196
1196
  /* @__PURE__ */ jsxRuntime.jsx(
1197
1197
  "input",
1198
1198
  {
@@ -1209,11 +1209,11 @@ var Input = React110__namespace.default.forwardRef(
1209
1209
  {
1210
1210
  type: "button",
1211
1211
  onClick: onClear,
1212
- className: "absolute inset-y-0 right-0 pr-3 flex items-center text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)]",
1212
+ className: "absolute inset-y-0 right-0 pr-3 flex items-center text-muted-foreground hover:text-foreground",
1213
1213
  children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { className: "h-4 w-4" })
1214
1214
  }
1215
1215
  ),
1216
- rightIcon && !showClearButton && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 right-0 pr-3 flex items-center text-[var(--color-muted-foreground)]", children: rightIcon })
1216
+ rightIcon && !showClearButton && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 right-0 pr-3 flex items-center text-muted-foreground", children: rightIcon })
1217
1217
  ] });
1218
1218
  }
1219
1219
  );
@@ -1225,13 +1225,13 @@ var Label = React110__namespace.default.forwardRef(
1225
1225
  {
1226
1226
  ref,
1227
1227
  className: cn(
1228
- "block text-sm font-bold text-[var(--color-foreground)]",
1228
+ "block text-sm font-bold text-foreground",
1229
1229
  className
1230
1230
  ),
1231
1231
  ...props,
1232
1232
  children: [
1233
1233
  children,
1234
- required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[var(--color-error)] ml-1", children: "*" })
1234
+ required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-error ml-1", children: "*" })
1235
1235
  ]
1236
1236
  }
1237
1237
  );
@@ -1245,14 +1245,14 @@ var Textarea = React110__namespace.default.forwardRef(
1245
1245
  {
1246
1246
  ref,
1247
1247
  className: cn(
1248
- "block w-full border-[length:var(--border-width)] shadow-[var(--shadow-sm)]",
1249
- "px-3 py-2 text-sm text-[var(--color-foreground)]",
1250
- "bg-[var(--color-card)]",
1248
+ "block w-full border-[length:var(--border-width)] shadow-sm",
1249
+ "px-3 py-2 text-sm text-foreground",
1250
+ "bg-card",
1251
1251
  "placeholder:text-[var(--color-placeholder)]",
1252
- "focus:outline-none focus:ring-2 focus:ring-offset-0 focus:ring-[var(--color-ring)]",
1253
- "disabled:bg-[var(--color-muted)] disabled:text-[var(--color-muted-foreground)] disabled:cursor-not-allowed",
1252
+ "focus:outline-none focus:ring-2 focus:ring-offset-0 focus:ring-ring",
1253
+ "disabled:bg-muted disabled:text-muted-foreground disabled:cursor-not-allowed",
1254
1254
  "resize-y min-h-[80px]",
1255
- error ? "border-[var(--color-error)] focus:border-[var(--color-error)]" : "border-[var(--color-border)] focus:border-[var(--color-primary)]",
1255
+ error ? "border-error focus:border-error" : "border-border focus:border-primary",
1256
1256
  className
1257
1257
  ),
1258
1258
  ...props
@@ -1269,12 +1269,12 @@ var Select = React110__namespace.default.forwardRef(
1269
1269
  {
1270
1270
  ref,
1271
1271
  className: cn(
1272
- "block w-full border-[length:var(--border-width)] shadow-[var(--shadow-sm)] appearance-none",
1273
- "px-3 py-2 pr-10 text-sm text-[var(--color-foreground)] font-medium",
1274
- "bg-[var(--color-card)]",
1275
- "focus:outline-none focus:ring-2 focus:ring-offset-0 focus:ring-[var(--color-ring)]",
1276
- "disabled:bg-[var(--color-muted)] disabled:text-[var(--color-muted-foreground)] disabled:cursor-not-allowed",
1277
- error ? "border-[var(--color-error)] focus:border-[var(--color-error)]" : "border-[var(--color-border)] focus:border-[var(--color-primary)]",
1272
+ "block w-full border-[length:var(--border-width)] shadow-sm appearance-none",
1273
+ "px-3 py-2 pr-10 text-sm text-foreground font-medium",
1274
+ "bg-card",
1275
+ "focus:outline-none focus:ring-2 focus:ring-offset-0 focus:ring-ring",
1276
+ "disabled:bg-muted disabled:text-muted-foreground disabled:cursor-not-allowed",
1277
+ error ? "border-error focus:border-error" : "border-border focus:border-primary",
1278
1278
  className
1279
1279
  ),
1280
1280
  ...props,
@@ -1292,7 +1292,7 @@ var Select = React110__namespace.default.forwardRef(
1292
1292
  ]
1293
1293
  }
1294
1294
  ),
1295
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { className: "h-4 w-4 text-[var(--color-foreground)]" }) })
1295
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { className: "h-4 w-4 text-foreground" }) })
1296
1296
  ] });
1297
1297
  }
1298
1298
  );
@@ -1308,9 +1308,9 @@ var Checkbox = React110__namespace.default.forwardRef(
1308
1308
  type: "checkbox",
1309
1309
  id: inputId,
1310
1310
  className: cn(
1311
- "peer h-4 w-4 border-[length:var(--border-width)] border-[var(--color-border)]",
1312
- "accent-[var(--color-primary)] focus:ring-[var(--color-ring)] focus:ring-offset-0",
1313
- "bg-[var(--color-card)] checked:bg-[var(--color-primary)]",
1311
+ "peer h-4 w-4 border-[length:var(--border-width)] border-border",
1312
+ "accent-primary focus:ring-ring focus:ring-offset-0",
1313
+ "bg-card checked:bg-primary",
1314
1314
  "disabled:opacity-50 disabled:cursor-not-allowed",
1315
1315
  className
1316
1316
  ),
@@ -1321,7 +1321,7 @@ var Checkbox = React110__namespace.default.forwardRef(
1321
1321
  "label",
1322
1322
  {
1323
1323
  htmlFor: inputId,
1324
- className: "ml-2 text-sm text-[var(--color-foreground)] font-medium cursor-pointer select-none",
1324
+ className: "ml-2 text-sm text-foreground font-medium cursor-pointer select-none",
1325
1325
  children: label
1326
1326
  }
1327
1327
  )
@@ -1331,34 +1331,34 @@ var Checkbox = React110__namespace.default.forwardRef(
1331
1331
  Checkbox.displayName = "Checkbox";
1332
1332
  var variantStyles4 = {
1333
1333
  default: [
1334
- "bg-[var(--color-card)]",
1335
- "border-[length:var(--border-width)] border-[var(--color-border)]",
1336
- "shadow-[var(--shadow-sm)]",
1334
+ "bg-card",
1335
+ "border-[length:var(--border-width)] border-border",
1336
+ "shadow-sm",
1337
1337
  "transition-all duration-[var(--transition-normal)]",
1338
- "hover:shadow-[var(--shadow-hover)] hover:-translate-y-0.5"
1338
+ "hover:shadow-lg hover:-translate-y-0.5"
1339
1339
  ].join(" "),
1340
1340
  bordered: [
1341
- "bg-[var(--color-card)]",
1342
- "border-[length:var(--border-width)] border-[var(--color-border)]",
1343
- "shadow-[var(--shadow-sm)]",
1341
+ "bg-card",
1342
+ "border-[length:var(--border-width)] border-border",
1343
+ "shadow-sm",
1344
1344
  "transition-all duration-[var(--transition-normal)]",
1345
- "hover:shadow-[var(--shadow-hover)] hover:-translate-y-0.5"
1345
+ "hover:shadow-lg hover:-translate-y-0.5"
1346
1346
  ].join(" "),
1347
1347
  elevated: [
1348
- "bg-[var(--color-card)]",
1349
- "border-[length:var(--border-width)] border-[var(--color-border)]",
1350
- "shadow-[var(--shadow-main)]",
1348
+ "bg-card",
1349
+ "border-[length:var(--border-width)] border-border",
1350
+ "shadow",
1351
1351
  "transition-all duration-[var(--transition-normal)]",
1352
- "hover:shadow-[var(--shadow-hover)] hover:-translate-y-0.5"
1352
+ "hover:shadow-lg hover:-translate-y-0.5"
1353
1353
  ].join(" "),
1354
1354
  // Interactive variant with theme-specific hover effects
1355
1355
  interactive: [
1356
- "bg-[var(--color-card)]",
1357
- "border-[length:var(--border-width)] border-[var(--color-border)]",
1358
- "shadow-[var(--shadow-main)]",
1356
+ "bg-card",
1357
+ "border-[length:var(--border-width)] border-border",
1358
+ "shadow",
1359
1359
  "cursor-pointer",
1360
1360
  "transition-all duration-[var(--transition-normal)]",
1361
- "hover:shadow-[var(--shadow-hover)]"
1361
+ "hover:shadow-lg"
1362
1362
  ].join(" ")
1363
1363
  };
1364
1364
  var paddingStyles2 = {
@@ -1369,9 +1369,9 @@ var paddingStyles2 = {
1369
1369
  };
1370
1370
  var shadowStyles2 = {
1371
1371
  none: "shadow-none",
1372
- sm: "shadow-[var(--shadow-sm)]",
1373
- md: "shadow-[var(--shadow-main)]",
1374
- lg: "shadow-[var(--shadow-lg)]"
1372
+ sm: "shadow-sm",
1373
+ md: "shadow",
1374
+ lg: "shadow-lg"
1375
1375
  };
1376
1376
  var Card = React110__namespace.default.forwardRef(
1377
1377
  ({
@@ -1389,7 +1389,7 @@ var Card = React110__namespace.default.forwardRef(
1389
1389
  {
1390
1390
  ref,
1391
1391
  className: cn(
1392
- "rounded-[var(--radius-md)]",
1392
+ "rounded-md",
1393
1393
  "transition-all duration-[var(--transition-normal)]",
1394
1394
  variantStyles4[variant],
1395
1395
  paddingStyles2[padding],
@@ -1399,8 +1399,8 @@ var Card = React110__namespace.default.forwardRef(
1399
1399
  ...props,
1400
1400
  children: [
1401
1401
  (title || subtitle) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-4", children: [
1402
- title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg text-[var(--color-card-foreground)] font-[var(--font-weight-bold)]", children: title }),
1403
- subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-[var(--color-muted-foreground)] mt-1", children: subtitle })
1402
+ title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg text-card-foreground font-[var(--font-weight-bold)]", children: title }),
1403
+ subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground mt-1", children: subtitle })
1404
1404
  ] }),
1405
1405
  children
1406
1406
  ]
@@ -1416,7 +1416,7 @@ var CardTitle = React110__namespace.default.forwardRef(({ className, ...props },
1416
1416
  {
1417
1417
  ref,
1418
1418
  className: cn(
1419
- "text-lg text-[var(--color-card-foreground)]",
1419
+ "text-lg text-card-foreground",
1420
1420
  "font-[var(--font-weight-bold)]",
1421
1421
  className
1422
1422
  ),
@@ -1449,7 +1449,7 @@ var Spinner = React110__namespace.default.forwardRef(
1449
1449
  "div",
1450
1450
  {
1451
1451
  ref,
1452
- className: cn("text-[var(--color-foreground)]", className),
1452
+ className: cn("text-foreground", className),
1453
1453
  ...props,
1454
1454
  children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Loader2, { className: cn("animate-spin", sizeStyles4[size]) })
1455
1455
  }
@@ -1506,8 +1506,8 @@ var Radio = React110__namespace.default.forwardRef(
1506
1506
  "flex items-center justify-center",
1507
1507
  "border-[length:var(--border-width)] transition-all cursor-pointer",
1508
1508
  sizeClasses6[size],
1509
- hasError ? "border-[var(--color-error)] peer-focus:ring-[var(--color-error)]/20" : "border-[var(--color-border)] peer-focus:ring-[var(--color-ring)]/20",
1510
- checked ? hasError ? "border-[var(--color-error)]" : "border-[var(--color-primary)] bg-[var(--color-primary)]" : "",
1509
+ hasError ? "border-error peer-focus:ring-error/20" : "border-border peer-focus:ring-ring/20",
1510
+ checked ? hasError ? "border-error" : "border-primary bg-primary" : "",
1511
1511
  "peer-focus:outline-none peer-focus:ring-2 peer-focus:ring-offset-2",
1512
1512
  disabled && "opacity-50 cursor-not-allowed",
1513
1513
  !disabled && "hover:border-[var(--color-border-hover)]"
@@ -1518,7 +1518,7 @@ var Radio = React110__namespace.default.forwardRef(
1518
1518
  className: cn(
1519
1519
  "transition-all",
1520
1520
  dotSizeClasses[size],
1521
- hasError ? "bg-[var(--color-error)]" : "bg-[var(--color-primary-foreground)]"
1521
+ hasError ? "bg-error" : "bg-primary-foreground"
1522
1522
  )
1523
1523
  }
1524
1524
  )
@@ -1531,7 +1531,7 @@ var Radio = React110__namespace.default.forwardRef(
1531
1531
  htmlFor: radioId,
1532
1532
  className: cn(
1533
1533
  "block text-sm font-medium cursor-pointer select-none",
1534
- hasError ? "text-[var(--color-error)]" : "text-[var(--color-foreground)]",
1534
+ hasError ? "text-error" : "text-foreground",
1535
1535
  disabled && "opacity-50 cursor-not-allowed"
1536
1536
  ),
1537
1537
  children: label
@@ -1543,7 +1543,7 @@ var Radio = React110__namespace.default.forwardRef(
1543
1543
  "p",
1544
1544
  {
1545
1545
  id: `${radioId}-error`,
1546
- className: "text-sm text-[var(--color-error)] font-medium",
1546
+ className: "text-sm text-error font-medium",
1547
1547
  role: "alert",
1548
1548
  children: error
1549
1549
  }
@@ -1552,7 +1552,7 @@ var Radio = React110__namespace.default.forwardRef(
1552
1552
  "p",
1553
1553
  {
1554
1554
  id: `${radioId}-helper`,
1555
- className: "text-sm text-[var(--color-muted-foreground)]",
1555
+ className: "text-sm text-muted-foreground",
1556
1556
  children: helperText
1557
1557
  }
1558
1558
  )
@@ -1713,20 +1713,20 @@ var Stack = ({
1713
1713
  var VStack = (props) => /* @__PURE__ */ jsxRuntime.jsx(Stack, { direction: "vertical", ...props });
1714
1714
  var HStack = (props) => /* @__PURE__ */ jsxRuntime.jsx(Stack, { direction: "horizontal", ...props });
1715
1715
  var statusColors = {
1716
- online: "bg-[var(--color-success)]",
1717
- offline: "bg-[var(--color-muted-foreground)]",
1718
- away: "bg-[var(--color-warning)]",
1719
- busy: "bg-[var(--color-error)]",
1720
- warning: "bg-[var(--color-warning)]",
1721
- critical: "bg-[var(--color-error)]"
1716
+ online: "bg-success",
1717
+ offline: "bg-muted-foreground",
1718
+ away: "bg-warning",
1719
+ busy: "bg-error",
1720
+ warning: "bg-warning",
1721
+ critical: "bg-error"
1722
1722
  };
1723
1723
  var pulseRingColors = {
1724
- online: "ring-[var(--color-success)]",
1725
- offline: "ring-[var(--color-muted-foreground)]",
1726
- away: "ring-[var(--color-warning)]",
1727
- busy: "ring-[var(--color-error)]",
1728
- warning: "ring-[var(--color-warning)]",
1729
- critical: "ring-[var(--color-error)]"
1724
+ online: "ring-success",
1725
+ offline: "ring-muted-foreground",
1726
+ away: "ring-warning",
1727
+ busy: "ring-error",
1728
+ warning: "ring-warning",
1729
+ critical: "ring-error"
1730
1730
  };
1731
1731
  var sizeStyles5 = {
1732
1732
  sm: "w-2 h-2",
@@ -1770,10 +1770,10 @@ function resolveDirection(value, direction) {
1770
1770
  return value > 0 ? "up" : "down";
1771
1771
  }
1772
1772
  function resolveColor(dir, invert) {
1773
- if (dir === "flat") return "text-[var(--color-muted-foreground)]";
1773
+ if (dir === "flat") return "text-muted-foreground";
1774
1774
  const isPositive = dir === "up";
1775
1775
  const isGood = invert ? !isPositive : isPositive;
1776
- return isGood ? "text-[var(--color-success)]" : "text-[var(--color-error)]";
1776
+ return isGood ? "text-success" : "text-error";
1777
1777
  }
1778
1778
  var iconMap2 = {
1779
1779
  up: LucideIcons.TrendingUp,
@@ -1891,7 +1891,7 @@ var RangeSlider = React110__namespace.default.forwardRef(
1891
1891
  "div",
1892
1892
  {
1893
1893
  className: cn(
1894
- "absolute inset-x-0 rounded-full bg-[var(--color-muted)]",
1894
+ "absolute inset-x-0 rounded-full bg-muted",
1895
1895
  trackSizes[size]
1896
1896
  ),
1897
1897
  style: { top: "50%", transform: "translateY(-50%)" }
@@ -1901,7 +1901,7 @@ var RangeSlider = React110__namespace.default.forwardRef(
1901
1901
  "div",
1902
1902
  {
1903
1903
  className: cn(
1904
- "absolute rounded-full bg-[var(--color-muted-foreground)] opacity-30",
1904
+ "absolute rounded-full bg-muted-foreground opacity-30",
1905
1905
  trackSizes[size]
1906
1906
  ),
1907
1907
  style: {
@@ -1916,7 +1916,7 @@ var RangeSlider = React110__namespace.default.forwardRef(
1916
1916
  "div",
1917
1917
  {
1918
1918
  className: cn(
1919
- "absolute rounded-full bg-[var(--color-primary)]",
1919
+ "absolute rounded-full bg-primary",
1920
1920
  trackSizes[size]
1921
1921
  ),
1922
1922
  style: {
@@ -1978,9 +1978,9 @@ var RangeSlider = React110__namespace.default.forwardRef(
1978
1978
  "div",
1979
1979
  {
1980
1980
  className: cn(
1981
- "absolute rounded-full bg-[var(--color-primary-foreground)]",
1982
- "border-2 border-[var(--color-primary)]",
1983
- "shadow-[var(--shadow-sm)]",
1981
+ "absolute rounded-full bg-primary-foreground",
1982
+ "border-2 border-primary",
1983
+ "shadow-sm",
1984
1984
  "pointer-events-none",
1985
1985
  "transition-transform duration-100",
1986
1986
  isDragging && "scale-110",
@@ -1998,7 +1998,7 @@ var RangeSlider = React110__namespace.default.forwardRef(
1998
1998
  {
1999
1999
  className: cn(
2000
2000
  "absolute -top-8 px-2 py-0.5 rounded",
2001
- "bg-[var(--color-foreground)] text-[var(--color-background)]",
2001
+ "bg-foreground text-background",
2002
2002
  "text-xs font-medium whitespace-nowrap",
2003
2003
  "pointer-events-none"
2004
2004
  ),
@@ -2015,7 +2015,7 @@ var RangeSlider = React110__namespace.default.forwardRef(
2015
2015
  return /* @__PURE__ */ jsxRuntime.jsx(
2016
2016
  "div",
2017
2017
  {
2018
- className: "absolute w-px h-1.5 bg-[var(--color-muted-foreground)]",
2018
+ className: "absolute w-px h-1.5 bg-muted-foreground",
2019
2019
  style: { left: `${tickPercent}%` }
2020
2020
  },
2021
2021
  i
@@ -2029,8 +2029,8 @@ var RangeSlider = React110__namespace.default.forwardRef(
2029
2029
  RangeSlider.displayName = "RangeSlider";
2030
2030
  var backgroundClasses = {
2031
2031
  default: "",
2032
- alt: "bg-[var(--color-surface)]",
2033
- dark: "bg-[var(--color-foreground)] text-[var(--color-background)]",
2032
+ alt: "bg-surface",
2033
+ dark: "bg-foreground text-background",
2034
2034
  gradient: [
2035
2035
  "bg-gradient-to-b",
2036
2036
  "from-[var(--color-primary)]/5",
@@ -2207,9 +2207,9 @@ var ErrorState = ({
2207
2207
  className
2208
2208
  ),
2209
2209
  children: [
2210
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "mb-4 rounded-[var(--radius-full)] bg-[var(--color-error)]/10 p-3", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.AlertCircle, { className: "h-8 w-8 text-[var(--color-error)]" }) }),
2211
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h3", className: "text-lg font-medium text-[var(--color-foreground)]", children: resolvedTitle }),
2212
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "mt-1 text-[var(--color-muted-foreground)] max-w-sm", children: resolvedMessage }),
2210
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "mb-4 rounded-full bg-error/10 p-3", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.AlertCircle, { className: "h-8 w-8 text-error" }) }),
2211
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h3", className: "text-lg font-medium text-foreground", children: resolvedTitle }),
2212
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "mt-1 text-muted-foreground max-w-sm", children: resolvedMessage }),
2213
2213
  (onRetry || retryEvent) && /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "secondary", className: "mt-4", onClick: handleRetry, children: t("error.retry") })
2214
2214
  ]
2215
2215
  }
@@ -2883,7 +2883,7 @@ var MarkdownContent = React110__namespace.default.memo(
2883
2883
  "blockquote",
2884
2884
  {
2885
2885
  ...props,
2886
- className: "border-l-4 border-blue-500 pl-4 italic text-[var(--color-foreground)] my-4",
2886
+ className: "border-l-4 border-blue-500 pl-4 italic text-foreground my-4",
2887
2887
  children
2888
2888
  }
2889
2889
  );
@@ -2958,7 +2958,7 @@ var CodeBlock = React110__namespace.default.memo(
2958
2958
  variant: "ghost",
2959
2959
  size: "sm",
2960
2960
  onClick: handleCopy,
2961
- className: "opacity-0 group-hover:opacity-100 focus:opacity-100 transition-opacity text-[var(--color-muted-foreground)] hover:text-white",
2961
+ className: "opacity-0 group-hover:opacity-100 focus:opacity-100 transition-opacity text-muted-foreground hover:text-white",
2962
2962
  "aria-label": "Copy code",
2963
2963
  children: copied ? /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Check, { size: 16, className: "text-green-400" }) : /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Copy, { size: 16 })
2964
2964
  }