{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "contra-strike",
  "title": "Contra Strike",
  "description": "Order line-item ledger where a partial refund drags a struck span across the amount bar and, on commit, appends a negative contra row beneath the original, which is never edited, only ever struck through and kept legible.",
  "dependencies": [],
  "files": [
    {
      "path": "registry/core/contra-strike/component.tsx",
      "content": "\"use client\";\n\nimport { Fragment, useEffect, useMemo, useRef, useState } from \"react\";\n\n// ---------------------------------------------------------------------------\n// ContraStrike — an order's line-item ledger, rendered as a real <table>,\n// where a partial refund is recorded the way bookkeepers actually record one:\n// nothing about the original entry is ever touched. Dragging along a line's\n// amount bar arms a struck fraction `s` (a single governing scalar) that\n// simultaneously sizes the refund figure, the length of an SVG rule crossing\n// the amount, and — once a real \"Refund $x\" button commits it — the width of\n// a brand-new contra row's own bar on the SAME money-per-px scale. The\n// struck row's DOM node is never edited or removed: its figures stay exactly\n// as billed, decorated (not deleted) with a permanent line-through, and the\n// correction lives one row down, forever, in Geist Mono with a leading\n// minus. Quantity lines snap the drag to whole units (2 of 6, never 2.4 of\n// 6); a flat line with no quantity snaps to the cent instead. The rule stays\n// dashed for as long as the row is only armed, not booked — a mid-drag\n// selection must never read as an already-settled correction — and turns\n// solid at the same instant the contra row is appended and the balance\n// re-derives.\n// ---------------------------------------------------------------------------\n\nexport interface ContraStrikeLine {\n  id: string;\n  /** line description, e.g. \"Wireless Mouse ×6\" */\n  description: string;\n  /** unit count on this line — 1 for a flat/non-quantity line */\n  qty: number;\n  /** price per unit, dollars */\n  unitPrice: number;\n  /** seed this line as already armed (dragged, not yet committed), 0-1 */\n  defaultStruck?: number;\n  /** seed this line as already refunded at mount — contra row renders open,\n   * no animation, matching how a history feed replays a past decision */\n  committedStruck?: number;\n}\n\nexport interface ContraStrikeProps {\n  /** heading shown above the ledger, e.g. \"Order #4471\" */\n  orderLabel?: string;\n  /** the order's line items */\n  lines: ContraStrikeLine[];\n  /** ISO currency code passed to Intl.NumberFormat */\n  currency?: string;\n  /** BCP 47 locale passed to Intl.NumberFormat — always explicit, never the\n   * runtime default, so server and client render identical digits */\n  locale?: string;\n  /** fired once per line the moment its contra row is committed */\n  onCommit?: (line: ContraStrikeLine, refundAmount: number, struckUnits: number) => void;\n  /** extra classes merged onto the rendered root element */\n  className?: string;\n}\n\ntype LineState = {\n  input: ContraStrikeLine;\n  amount: number;\n  struck: number; // 0-1, the armed/committed fraction — the one governing scalar\n  dragging: boolean;\n  committed: boolean;\n  contraOpen: boolean; // flips true one frame after `committed` so the height\n  // transition has a 0-height frame to animate FROM, per prevailing bug\n};\n\nconst TRACK_W = 148; // px — the shared money-per-px track width every bar maps onto\nconst ROW_H = 30; // px — fixed row height, both the original and contra rows\n\nfunction clamp(v: number, lo: number, hi: number) {\n  return Math.min(hi, Math.max(lo, v));\n}\n\nfunction snapFraction(raw: number, qty: number, amount: number): number {\n  const r = clamp(raw, 0, 1);\n  if (qty > 1) {\n    const k = Math.round(r * qty);\n    return clamp(k / qty, 0, 1);\n  }\n  const cents = Math.round(amount * 100);\n  if (cents <= 0) return 0;\n  const c = Math.round(r * cents);\n  return clamp(c / cents, 0, 1);\n}\n\nfunction stepFraction(qty: number, amount: number): number {\n  if (qty > 1) return 1 / qty;\n  const cents = Math.round(amount * 100);\n  return cents > 0 ? 1 / cents : 0;\n}\n\nexport function ContraStrike({\n  orderLabel = \"Order\",\n  lines,\n  currency = \"USD\",\n  locale = \"en-US\",\n  onCommit,\n  className = \"\",\n}: ContraStrikeProps) {\n  const money = useMemo(() => {\n    const fmt = new Intl.NumberFormat(locale, { style: \"currency\", currency });\n    return (v: number) => fmt.format(v);\n  }, [locale, currency]);\n\n  const [rows, setRows] = useState<LineState[]>(() =>\n    lines.map((input) => {\n      const amount = input.qty * input.unitPrice;\n      const committed = input.committedStruck !== undefined;\n      const struck = committed\n        ? clamp(input.committedStruck as number, 0, 1)\n        : clamp(input.defaultStruck ?? 0, 0, 1);\n      return { input, amount, struck, dragging: false, committed, contraOpen: committed };\n    })\n  );\n\n  const maxAmount = useMemo(\n    () => Math.max(1, ...rows.map((r) => r.amount)),\n    [rows]\n  );\n  const scale = TRACK_W / maxAmount;\n  const barPx = (amount: number) => Math.max(2, amount * scale);\n\n  const [reducedMotion, setReducedMotion] = useState(false);\n  useEffect(() => {\n    const mq = window.matchMedia(\"(prefers-reduced-motion: reduce)\");\n    setReducedMotion(mq.matches);\n    const onChange = () => setReducedMotion(mq.matches);\n    mq.addEventListener(\"change\", onChange);\n    return () => mq.removeEventListener(\"change\", onChange);\n  }, []);\n\n  const [announcement, setAnnouncement] = useState(\"\");\n  const [flashIdx, setFlashIdx] = useState<number | null>(null);\n  const [balanceFlash, setBalanceFlash] = useState(false);\n  const flashTimer = useRef<ReturnType<typeof setTimeout> | null>(null);\n  useEffect(() => () => {\n    if (flashTimer.current) clearTimeout(flashTimer.current);\n  }, []);\n\n  function updateStruck(idx: number, raw: number, dragging: boolean) {\n    setRows((prev) =>\n      prev.map((r, i) => {\n        if (i !== idx || r.committed) return r;\n        const q = snapFraction(raw, r.input.qty, r.amount);\n        return { ...r, struck: q, dragging };\n      })\n    );\n  }\n\n  function trackDrag(idx: number, clientX: number, dragging: boolean) {\n    const el = trackRefs.current[idx];\n    if (!el) return;\n    const rect = el.getBoundingClientRect();\n    const raw = rect.width > 0 ? (clientX - rect.left) / rect.width : 0;\n    updateStruck(idx, raw, dragging);\n  }\n\n  const trackRefs = useRef<(HTMLDivElement | null)[]>([]);\n\n  // Reads the outer `rows` state, not the updater's `prev`: every side effect\n  // (onCommit, the announcement, the flash timer, the rAF pair) runs exactly\n  // once per click, in the function body — never inside setRows' updater,\n  // which React is free to invoke more than once. An append-only ledger that\n  // fired its own commit callback twice would be the exact bug this\n  // component exists to prevent.\n  function commitLine(idx: number) {\n    const row = rows[idx];\n    if (!row || row.committed || row.struck <= 0) return;\n    const refundAmount = row.amount * row.struck;\n    const struckUnits = row.input.qty > 1 ? Math.round(row.struck * row.input.qty) : 0;\n    const newRefunded = rows.reduce(\n      (s, r, i) => s + (i === idx ? refundAmount : r.committed ? r.amount * r.struck : 0),\n      0\n    );\n\n    setRows((prev) => {\n      const cur = prev[idx];\n      if (!cur || cur.committed) return prev; // idempotence guard, belt-and-braces\n      return prev.map((r, i) =>\n        i === idx ? { ...r, committed: true, contraOpen: reducedMotion } : r\n      );\n    });\n\n    onCommit?.(row.input, refundAmount, struckUnits);\n    setAnnouncement(\n      `Refund recorded: −${money(refundAmount)} for ${row.input.description}. New balance ${money(subtotal - newRefunded)}.`\n    );\n    if (flashTimer.current) clearTimeout(flashTimer.current);\n    setFlashIdx(idx);\n    setBalanceFlash(true);\n    flashTimer.current = setTimeout(() => {\n      setFlashIdx(null);\n      setBalanceFlash(false);\n    }, 500);\n    if (!reducedMotion) {\n      // two rAFs: the first lets the browser paint the just-mounted,\n      // zero-height contra row; only the second flips it open, so the\n      // height transition has a real starting frame to animate from\n      requestAnimationFrame(() => {\n        requestAnimationFrame(() => {\n          setRows((cur) => cur.map((r, i) => (i === idx ? { ...r, contraOpen: true } : r)));\n        });\n      });\n    }\n  }\n\n  function onTrackKeyDown(e: React.KeyboardEvent, idx: number) {\n    const row = rows[idx];\n    if (!row || row.committed) return;\n    const step = stepFraction(row.input.qty, row.amount);\n    let next: number | null = null;\n    switch (e.key) {\n      case \"ArrowRight\":\n      case \"ArrowUp\":\n        next = row.struck + step;\n        break;\n      case \"ArrowLeft\":\n      case \"ArrowDown\":\n        next = row.struck - step;\n        break;\n      case \"PageUp\":\n        next = row.struck + step * (row.input.qty > 1 ? 1 : 10);\n        break;\n      case \"PageDown\":\n        next = row.struck - step * (row.input.qty > 1 ? 1 : 10);\n        break;\n      case \"Home\":\n        next = 0;\n        break;\n      case \"End\":\n        next = 1;\n        break;\n      default:\n        return;\n    }\n    e.preventDefault();\n    updateStruck(idx, clamp(next, 0, 1), false);\n  }\n\n  const subtotal = rows.reduce((s, r) => s + r.amount, 0);\n  const refunded = rows.reduce((s, r) => (r.committed ? s + r.amount * r.struck : s), 0);\n  const balance = subtotal - refunded;\n\n  return (\n    <div className={`w-full ${className}`}>\n      <style>{`\n@keyframes ns-cs-contra-row{from{opacity:0}to{opacity:1}}\n.ns-cs-contra{transition:height 320ms cubic-bezier(0.16,1,0.3,1), opacity 320ms cubic-bezier(0.16,1,0.3,1);overflow:hidden}\n.ns-cs-rule{transition:opacity 180ms ease-out}\n@keyframes ns-cs-flash{0%{opacity:.35}100%{opacity:0}}\n.ns-cs-flash::after{content:\"\";position:absolute;inset:-2px -6px;background:var(--ns-accent);opacity:0;border-radius:6px;animation:ns-cs-flash 480ms ease-out;pointer-events:none}\n@media (prefers-reduced-motion: reduce){\n  .ns-cs-contra{transition:none}\n  .ns-cs-rule{transition:none}\n  .ns-cs-flash::after{animation:none}\n}\n`}</style>\n\n      <div className=\"mb-2 flex items-baseline justify-between\">\n        <h3 className=\"font-mono text-sm font-medium text-foreground\">{orderLabel}</h3>\n        <span className=\"font-mono text-xs text-ns-muted\">line-item ledger</span>\n      </div>\n\n      <div className=\"overflow-x-auto rounded-md border border-border\">\n        <table className=\"w-full border-collapse text-left\">\n          <caption className=\"sr-only\">\n            {orderLabel} line-item ledger with per-line partial refund. Refunds append a\n            contra entry below the original line rather than editing it.\n          </caption>\n          <thead>\n            <tr className=\"border-b border-border\">\n              <th scope=\"col\" className=\"px-3 py-2 font-mono text-xs font-normal text-ns-muted\">\n                Item\n              </th>\n              <th scope=\"col\" className=\"px-3 py-2 text-right font-mono text-xs font-normal text-ns-muted\">\n                Qty\n              </th>\n              <th scope=\"col\" className=\"px-3 py-2 font-mono text-xs font-normal text-ns-muted\">\n                Amount\n              </th>\n              <th scope=\"col\" className=\"px-3 py-2 font-mono text-xs font-normal text-ns-muted\">\n                <span className=\"sr-only\">Refund action</span>\n              </th>\n            </tr>\n          </thead>\n          <tbody>\n            {rows.map((row, idx) => {\n              const { input, amount, struck, committed, dragging, contraOpen } = row;\n              const refundAmount = amount * struck;\n              const bar = barPx(amount);\n              const ruleLen = struck * bar;\n              const struckUnits = input.qty > 1 ? Math.round(struck * input.qty) : 0;\n              const valueText =\n                input.qty > 1\n                  ? `${money(refundAmount)} of ${money(amount)}, ${struckUnits} of ${input.qty} units`\n                  : `${money(refundAmount)} of ${money(amount)}`;\n              const armed = struck > 0;\n              const flashing = flashIdx === idx;\n\n              return (\n                <Fragment key={input.id}>\n                  <tr\n                    className={\n                      \"border-b border-border last:border-b-0\" +\n                      (committed ? \" align-top\" : \"\")\n                    }\n                    {...(committed\n                      ? { \"aria-description\": \"partially refunded, see contra entry below\" }\n                      : {})}\n                  >\n                    <th scope=\"row\" className=\"px-3 py-2 align-top font-mono text-xs font-normal text-foreground\">\n                      {input.description}\n                    </th>\n                    <td className=\"px-3 py-2 text-right align-top font-mono text-xs tabular-nums text-ns-muted\">\n                      {input.qty}\n                    </td>\n                    <td className=\"px-3 py-2 align-top\">\n                      {/* the interactive slider below is entirely aria-hidden\n                      inside (aria-valuetext is its single source of truth for\n                      AT); this sibling restores the cell's plain reading-mode\n                      data — the billed amount, struck once refunded — so the\n                      row stays real, walkable table content and not just a\n                      widget's private value */}\n                      <span className=\"sr-only\">\n                        {money(amount)}\n                        {committed ? \", struck, see contra entry below\" : \"\"}\n                      </span>\n                      <div\n                        ref={(el) => {\n                          trackRefs.current[idx] = el;\n                        }}\n                        data-track={idx}\n                        role=\"slider\"\n                        tabIndex={committed ? -1 : 0}\n                        aria-disabled={committed || undefined}\n                        aria-label={`Refund ${input.description}`}\n                        aria-orientation=\"horizontal\"\n                        aria-valuemin={0}\n                        aria-valuemax={100}\n                        aria-valuenow={Math.round(struck * 100)}\n                        aria-valuetext={valueText}\n                        onKeyDown={(e) => onTrackKeyDown(e, idx)}\n                        onPointerDown={(e) => {\n                          if (committed) return;\n                          e.preventDefault();\n                          e.currentTarget.setPointerCapture(e.pointerId);\n                          trackDrag(idx, e.clientX, true);\n                        }}\n                        onPointerMove={(e) => {\n                          if (!dragging) return;\n                          trackDrag(idx, e.clientX, true);\n                        }}\n                        onPointerUp={() => updateStruck(idx, struck, false)}\n                        onPointerCancel={() => updateStruck(idx, struck, false)}\n                        style={{ width: TRACK_W, height: ROW_H }}\n                        className={\n                          \"relative select-none rounded-sm outline-none transition-colors focus-visible:ring-2 focus-visible:ring-ns-accent focus-visible:ring-offset-2 focus-visible:ring-offset-background\" +\n                          (committed\n                            ? \" cursor-default\"\n                            : \" cursor-ew-resize touch-none hover:bg-foreground/[0.035]\") +\n                          (flashing ? \" ns-cs-flash\" : \"\")\n                        }\n                      >\n                        {/* the slider's own visual layers (bar, numeral, rule)\n                        carry no text to assistive tech — aria-valuetext above\n                        is the single source of truth for the control's value\n                        — so the billed amount is restated here as real,\n                        readable table-cell data, exactly once */}\n                        <span className=\"sr-only\">\n                          {money(amount)}\n                          {committed ? \", struck, see contra entry below\" : \"\"}\n                        </span>\n                        <span\n                          aria-hidden\n                          className=\"absolute left-0 top-1/2 -translate-y-1/2 rounded-full bg-foreground/[0.07]\"\n                          style={{ width: bar, height: 3 }}\n                        />\n                        <span\n                          aria-hidden\n                          className={\n                            \"absolute left-0 top-1/2 flex h-full -translate-y-1/2 items-center font-mono text-sm tabular-nums\" +\n                            (committed\n                              ? \" text-foreground line-through decoration-1 decoration-foreground/70\"\n                              : \" text-foreground\")\n                          }\n                        >\n                          {money(amount)}\n                        </span>\n                        {armed ? (\n                          <svg\n                            aria-hidden\n                            className=\"ns-cs-rule pointer-events-none absolute inset-0\"\n                            width={TRACK_W}\n                            height={ROW_H}\n                          >\n                            <line\n                              x1={0}\n                              y1={ROW_H / 2}\n                              x2={Math.max(1, ruleLen)}\n                              y2={ROW_H / 2}\n                              stroke=\"var(--foreground)\"\n                              strokeWidth={1.5}\n                              strokeLinecap=\"round\"\n                              strokeDasharray={committed ? undefined : \"4 3\"}\n                            />\n                          </svg>\n                        ) : null}\n                      </div>\n                    </td>\n                    <td className=\"px-3 py-2 align-top text-right\">\n                      <button\n                        type=\"button\"\n                        data-commit={idx}\n                        onClick={() => commitLine(idx)}\n                        className=\"rounded-sm border border-border px-2.5 py-1 font-mono text-xs text-foreground transition-colors hover:bg-foreground/[0.05] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ns-accent disabled:pointer-events-none disabled:opacity-40\"\n                        disabled={committed || !armed}\n                      >\n                        {committed\n                          ? \"Refunded\"\n                          : armed\n                            ? `Refund ${money(refundAmount)}`\n                            : \"Refund\"}\n                      </button>\n                    </td>\n                  </tr>\n\n                  {committed ? (\n                    <tr key={`${input.id}-contra`} data-contra={idx} className=\"border-b border-border last:border-b-0\">\n                      <td colSpan={4} className=\"p-0\">\n                        <div\n                          className=\"ns-cs-contra\"\n                          style={{ height: contraOpen ? ROW_H : 0, opacity: contraOpen ? 1 : 0 }}\n                        >\n                          <div\n                            className=\"flex items-center gap-3 px-3 font-mono text-xs\"\n                            style={{ height: ROW_H, animation: contraOpen ? \"ns-cs-contra-row 200ms ease-out\" : \"none\" }}\n                          >\n                            <span className=\"w-0 flex-1 truncate text-ns-muted\">\n                              Contra — {input.description}\n                            </span>\n                            <span className=\"shrink-0 text-right text-ns-muted\">\n                              {input.qty > 1 ? `−${struckUnits} of ${input.qty} units` : \"\"}\n                            </span>\n                            <span\n                              aria-hidden\n                              className=\"relative shrink-0 rounded-full bg-foreground/[0.14]\"\n                              style={{ width: ruleLen, height: 3 }}\n                            />\n                            <span className=\"shrink-0 tabular-nums text-foreground\">\n                              −{money(refundAmount)}\n                            </span>\n                          </div>\n                        </div>\n                      </td>\n                    </tr>\n                  ) : null}\n                </Fragment>\n              );\n            })}\n          </tbody>\n          <tfoot>\n            <tr className=\"border-t border-border\">\n              <th scope=\"row\" colSpan={3} className=\"px-3 py-2 text-right font-mono text-xs font-normal text-ns-muted\">\n                Subtotal\n              </th>\n              <td className=\"px-3 py-2 text-right font-mono text-xs tabular-nums text-ns-muted\">\n                {money(subtotal)}\n              </td>\n            </tr>\n            <tr>\n              <th scope=\"row\" colSpan={3} className=\"px-3 py-2 text-right font-mono text-xs font-normal text-ns-muted\">\n                Refunded\n              </th>\n              <td className=\"px-3 py-2 text-right font-mono text-xs tabular-nums text-ns-muted\">\n                −{money(refunded)}\n              </td>\n            </tr>\n            <tr className=\"border-t border-border\">\n              <th scope=\"row\" colSpan={3} className=\"px-3 py-2 text-right font-mono text-sm font-medium text-foreground\">\n                Balance\n              </th>\n              <td className=\"px-3 py-2 text-right align-middle\">\n                <span\n                  className={\"relative inline-block font-mono text-sm font-medium tabular-nums text-foreground\" + (balanceFlash ? \" ns-cs-flash\" : \"\")}\n                >\n                  {money(balance)}\n                </span>\n              </td>\n            </tr>\n          </tfoot>\n        </table>\n      </div>\n\n      <p role=\"status\" aria-live=\"polite\" className=\"sr-only\">\n        {announcement}\n      </p>\n    </div>\n  );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/contra-strike.tsx"
    }
  ],
  "cssVars": {
    "theme": {
      "color-ns-muted": "var(--ns-muted)",
      "color-ns-accent": "var(--ns-accent)"
    },
    "light": {
      "ns-muted": "#4d4d4d",
      "ns-accent": "#006bff"
    },
    "dark": {
      "ns-muted": "#8f8f8f"
    }
  },
  "meta": {
    "collection": "core",
    "tags": [
      "table",
      "ledger",
      "refund",
      "billing",
      "accounting",
      "svg",
      "slider",
      "audit",
      "commerce",
      "support-tooling"
    ],
    "instruction": "Renders an order's line-item ledger as a real semantic <table> (thead/tbody/tfoot, th scope=row on each item name, th scope=col on each header) where a partial refund is recorded the way double-entry bookkeeping actually records one: the original row's DOM node and figures are never edited or removed, ever — the correction always materialises as a brand-new signed contra row appended directly beneath it. Each line item ({id, description, qty, unitPrice}) renders its amount as a fixed-width bar on ONE shared money-per-px scale derived from the largest line in the table, so every row's bar is visually comparable. Dragging anywhere on that bar (a real role=slider region, aria-label 'Refund <description>', aria-valuetext formatted exactly like '$25.00 of $75.00, 2 of 6 units') arms a single governing scalar, the struck fraction s (0-1): on a quantity line (qty>1) the drag snaps to whole-unit boundaries — s can only land on k/qty, so a partial refund can never claim a fractional unit — while a flat line with qty=1 snaps to the cent instead. That same s simultaneously drives the live refund figure, the length of an SVG line drawn across the amount bar (dash-array '4 3' — genuinely dashed — for as long as the row is only armed, never committed, so a mid-drag selection can never be mistaken for an already-settled correction), and, the instant a real 'Refund $x' button is pressed (its accessible name literally names the amount, and it stays disabled at s=0 — there is nothing to name yet), the width of the new contra row's own bar on the identical shared scale. Committing flips that same SVG rule from dashed to a solid stroke, height-expands the contra row from 0 (two rAF frames apart so the browser actually paints the zero-height frame first, then the real one, or the transition never plays), and re-derives the ledger's Subtotal/Refunded/Balance footer with a brief settle highlight — nothing here is ever mutable after commit; there is no undo, no revert, no toast, because the entire trust story of a ledger is that nothing already booked can un-happen. Once committed, the struck row's slider becomes non-interactive (aria-disabled, removed from tab order) — its qty/description/amount text is completely untouched, decorated with a permanent line-through on the amount (decoration, never deletion, still fully legible) and carries aria-description 'partially refunded, see contra entry below'. The contra row itself reads 'Contra — <description>' with a leading minus on both its unit count and its Geist Mono figure, and a live region (role=status, rendered unconditionally as a sibling of the table, never inside it) announces 'Refund recorded: -$X for <description>. New balance $Y.' the moment it lands. A consumer can pre-seed a line as already armed via defaultStruck (the draft strike renders at rest, same reasoning as approval-inline-diff's initialValues) or as already refunded via committedStruck, mounting straight into the settled state — contra row open, rule solid — with no animation, exactly like replaying a history feed. Keyboard: each slider takes Tab, ArrowLeft/Right (and Up/Down) step by one unit or one cent, PageUp/PageDown take a bigger stride, Home/End jump to 0%/100%; sliders use outline-none paired only with focus-visible:ring-2 focus-visible:ring-ns-accent (never focus-visible:outline-* on the same element), buttons use focus-visible:outline-2 focus-visible:outline-ns-accent with no base outline-none. --ns-accent appears only as those focus rings and a sub-second settle flash tied directly to the commit click — never as a resting fill; the commit button is outlined, not accent-filled. Money is formatted via Intl.NumberFormat with an explicit locale/currency (both overridable props, defaulting en-US/USD) so server and client render identical digits. Under prefers-reduced-motion the dashed-rule transition, the contra row's height-expand, and the settle flash are all skipped outright — the rule, the row, and the new balance simply appear in their final state, fully legible and operable either way. Pure DOM + inline SVG + CSS, no canvas, tokens only (--background --foreground --ns-muted --border --ns-accent), correct in both themes."
  },
  "type": "registry:ui"
}