{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "arc-theme",
  "title": "Arc theme",
  "description": "Arc's foundation CSS variables (--accent, --surface, --text-sm, --radius-panel, …) resolved onto Khaeli tokens, so stock Arc and Arc Pro items installed with the shadcn CLI wear the Khaeli palette, type roles, control height and radii. Replaces Arc's own foundation.css.",
  "cssVars": {
    "theme": {
      "color-accent": "var(--secondary)",
      "color-accent-foreground": "var(--secondary-foreground)"
    },
    "light": {
      "border-strong": "rgb(from var(--foreground) r g b / 0.16)",
      "accent-subtle": "rgb(from var(--primary) r g b / 0.12)",
      "control-on-subtle": "rgb(from var(--control-checked) r g b / 0.1)",
      "control-thumb": "#ffffff",
      "control-thumb-on": "#ffffff"
    },
    "dark": {
      "control-thumb": "#f1f2f3"
    }
  },
  "css": {
    ":root": {
      "color-scheme": "light",
      "--surface": "var(--card)",
      "--surface-muted": "var(--secondary)",
      "--text-secondary": "var(--muted-foreground)",
      "--text-muted": "var(--subtle-foreground)",
      "--border-subtle": "var(--border)",
      "--accent": "var(--primary)",
      "--accent-strong": "var(--primary-hover)",
      "--accent-foreground": "var(--primary-foreground)",
      "--control-on": "var(--control-checked)",
      "--control-glyph": "var(--control-checked-foreground)",
      "--control-fill": "var(--control-checked)",
      "--control-track": "var(--input)",
      "--control-track-hover": "var(--meter-empty)",
      "--control-thumb-shadow": "0 3px 8px rgb(0 0 0 / 0.15), 0 3px 1px rgb(0 0 0 / 0.06)",
      "--control-height-sm": "30px",
      "--control-height-md": "30px",
      "--control-height-lg": "36px",
      "--focus-ring": "transparent",
      "--focus-outline": "var(--ring)",
      "--focus-outline-width": "2px",
      "--focus-outline-offset": "2px",
      "--success": "var(--positive)",
      "--danger": "var(--destructive)",
      "--tone-green": "var(--positive)",
      "--tone-rose": "var(--destructive)",
      "--tone-sky": "var(--info)",
      "--tone-teal": "var(--tint-mint-foreground)",
      "--tone-orchid": "var(--tint-pink-foreground)",
      "--series-1": "var(--chart-1)",
      "--series-2": "var(--chart-2)",
      "--series-3": "var(--chart-3)",
      "--series-4": "var(--chart-4)",
      "--neutral-0": "var(--background)",
      "--neutral-1": "var(--row-hover)",
      "--neutral-2": "var(--muted)",
      "--neutral-3": "var(--secondary)",
      "--neutral-4": "var(--input)",
      "--neutral-5": "var(--meter-empty)",
      "--neutral-6": "var(--control-border)",
      "--neutral-7": "var(--subtle-foreground)",
      "--neutral-8": "var(--muted-foreground)",
      "--neutral-9": "var(--muted-foreground)",
      "--neutral-10": "var(--foreground)",
      "--neutral-11": "var(--foreground)",
      "--arc-gradient": "var(--secondary)",
      "--arc-gradient-soft": "var(--muted)",
      "--arc-gradient-line": "var(--border)",
      "--arc-gradient-ink": "var(--foreground)",
      "--arc-gradient-from": "var(--secondary)",
      "--arc-gradient-to": "var(--secondary)",
      "--arc-gradient-foreground": "var(--foreground)",
      "--shadow-resting": "var(--shadow-control)",
      "--shadow-floating": "var(--shadow-modal)",
      "--radius-panel": "var(--radius-card)",
      "--radius-surface": "var(--radius-tray)",
      "--radius-pill": "9999px",
      "--text-xs": "var(--type-caption)",
      "--text-sm": "var(--type-body)",
      "--text-base": "var(--type-title)",
      "--text-lg": "var(--type-title)",
      "--text-xl": "var(--type-heading)",
      "--text-2xl": "var(--type-display)",
      "--text-3xl": "var(--type-display)",
      "--text-4xl": "var(--type-display)",
      "--text-5xl": "var(--type-display)",
      "--leading-body": "var(--type-body-leading)",
      "--leading-display": "var(--type-display-leading)",
      "--tracking-body": "0",
      "--tracking-display": "var(--type-display-tracking)",
      "--space-1": "calc(var(--spacing) * 1)",
      "--space-2": "calc(var(--spacing) * 2)",
      "--space-3": "calc(var(--spacing) * 3)",
      "--space-4": "calc(var(--spacing) * 4)",
      "--space-5": "calc(var(--spacing) * 5)",
      "--space-6": "calc(var(--spacing) * 6)",
      "--space-8": "calc(var(--spacing) * 8)",
      "--space-10": "calc(var(--spacing) * 10)",
      "--space-12": "calc(var(--spacing) * 12)",
      "--space-16": "calc(var(--spacing) * 16)",
      "--space-20": "calc(var(--spacing) * 20)",
      "--space-24": "calc(var(--spacing) * 24)",
      "--duration-spring": "400ms",
      "--ease-in-out": "var(--ease-move)",
      "--ease-spring": "var(--ease-out-strong)"
    },
    ".dark": {
      "color-scheme": "dark",
      "--accent": "var(--primary)",
      "--accent-foreground": "var(--primary-foreground)",
      "--control-thumb-shadow": "0 3px 8px rgb(0 0 0 / 0.4), 0 3px 1px rgb(0 0 0 / 0.2)"
    },
    ":is(input:is(:not([type]), [type=\"text\"], [type=\"search\"], [type=\"email\"], [type=\"url\"], [type=\"tel\"], [type=\"password\"], [type=\"number\"], [type=\"date\"], [type=\"datetime-local\"], [type=\"month\"], [type=\"week\"], [type=\"time\"]), textarea, [contenteditable=\"true\"], [contenteditable=\"\"], [role^=\"menuitem\"], [role=\"option\"], [tabindex=\"-1\"]):not([data-slot]):focus": {
      "outline": "none !important"
    },
    ":focus-visible:not([data-slot], input:is(:not([type]), [type=\"text\"], [type=\"search\"], [type=\"email\"], [type=\"url\"], [type=\"tel\"], [type=\"password\"], [type=\"number\"], [type=\"date\"], [type=\"datetime-local\"], [type=\"month\"], [type=\"week\"], [type=\"time\"]), textarea, [contenteditable=\"true\"], [contenteditable=\"\"], [role^=\"menuitem\"], [role=\"option\"], [tabindex=\"-1\"])": {
      "outline": "var(--focus-outline-width) solid var(--focus-outline) !important",
      "outline-offset": "var(--focus-outline-offset) !important"
    }
  },
  "docs": "Install after @khaeli/foundation (and again whenever you re-add foundation). Do not import Arc's foundation.css.",
  "type": "registry:theme"
}