const n = {
  primary: "primary",
  secondary: "secondary",
  success: "success",
  warning: "warning",
  error: "error",
  info: "info",
  neutral: "default",
  accent: "primary",
  danger: "error",
  muted: "inherit"
};
function u(r) {
  return n[r];
}
const e = {
  solid: "contained",
  soft: "soft",
  outline: "outlined",
  ghost: "text",
  link: "link"
};
function s(r) {
  return e[r];
}
const o = {
  xs: "small",
  sm: "small",
  md: "medium",
  lg: "large",
  xl: "large"
};
function d(r) {
  return o[r];
}
function c(r) {
  if (r === "xs")
    return { minHeight: "1.5rem", padding: "2px 8px", fontSize: "0.6875rem" };
  if (r === "xl")
    return { minHeight: "3.25rem", padding: "12px 24px", fontSize: "1rem" };
}
const l = {
  xs: "1.75rem",
  sm: "2.25rem",
  md: "2.75rem",
  lg: "3.25rem",
  xl: "3.75rem"
};
function m(r) {
  return r === "xs" || r === "sm" ? "small" : "medium";
}
const t = {
  rounded: "var(--ov-radius-md, 6px)",
  pill: 999,
  square: 0
};
function f(r) {
  return t[r];
}
const a = {
  primary: "var(--ov-accent)",
  secondary: "var(--ov-fg-muted)",
  success: "var(--ov-success-default)",
  warning: "var(--ov-warning-default)",
  error: "var(--ov-danger-default)",
  info: "var(--ov-info-default)",
  neutral: "var(--ov-fg-default)",
  accent: "var(--ov-accent)",
  danger: "var(--ov-danger-default)",
  muted: "var(--ov-fg-muted)"
};
function g(r) {
  return a[r];
}
const i = {
  healthy: "success",
  warning: "warning",
  degraded: "warning",
  error: "error",
  unknown: "neutral",
  pending: "info"
};
function v(r) {
  return i[r];
}
export {
  l as INPUT_HEIGHTS,
  c as sizeOverrideSx,
  v as statusToColor,
  f as toBorderRadius,
  g as toCssColor,
  u as toMuiColor,
  m as toMuiInputSize,
  d as toMuiSize,
  s as toMuiVariant
};
