{
  "schema": "viewership-ui/theme",
  "version": 1,
  "preset": {
    "id": "midnight",
    "label": "Midnight",
    "description": "Cool slate, tight tracking and a mint glow. Built to sit on near-black."
  },
  "tokens": {
    "light": {
      "--vs-page": "#f3f6fb",
      "--vs-canvas": "#e6ecf5",
      "--vs-surface": "#ffffff",
      "--vs-inset": "#f7f9fd",
      "--vs-field": "#edf1f8",
      "--vs-hover": "#eef2f9",
      "--vs-hover-2": "#e1e8f3",
      "--vs-ink": "#0b1220",
      "--vs-ink-2": "#475066",
      "--vs-ink-3": "#6d7690",
      "--vs-ink-inverse": "#f3f6fb",
      "--vs-line": "#dde4ef",
      "--vs-line-strong": "#c9d3e3",
      "--vs-line-soft": "#e8edf5",
      "--vs-accent": "#0891b2",
      "--vs-accent-ink": "#0e7490",
      "--vs-accent-tint": "#d4f1f7",
      "--vs-on-accent": "#ffffff",
      "--vs-green": "#357045",
      "--vs-green-tint": "#dfe8da",
      "--vs-orange": "#9e5812",
      "--vs-orange-tint": "#f3e2c8",
      "--vs-red": "#b0341b",
      "--vs-red-tint": "#f4d9cc",
      "--vs-tooltip-bg": "#0d0809",
      "--vs-tooltip-fg": "#f2ece4",
      "--vs-tooltip-muted": "#a99e97",
      "--vs-tooltip-border": "#2b2023",
      "--vs-elev-ring": "#dde4ef",
      "--vs-elev-ring-strong": "#c9d3e3",
      "--vs-shadow-xs": "0 1px 1px rgb(13 8 9 / 0.04), 0 1px 2px rgb(13 8 9 / 0.04)",
      "--vs-shadow-sm": "0 1px 2px rgb(13 8 9 / 0.04), 0 2px 4px rgb(13 8 9 / 0.04)",
      "--vs-shadow-md": "0 2px 4px rgb(13 8 9 / 0.04), 0 6px 14px rgb(13 8 9 / 0.05)",
      "--vs-shadow-lg": "0 4px 8px rgb(13 8 9 / 0.05), 0 16px 36px rgb(13 8 9 / 0.09)",
      "--vs-shadow-inset-field": "inset 0 1px 2px rgb(13 8 9 / 0.1)",
      "--vs-font-sans": "\"Inter Variable\", \"Inter\", ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
      "--vs-font-stretch": "100%",
      "--vs-font-mono": "ui-monospace, \"SF Mono\", \"Cascadia Code\", Menlo, Consolas, monospace",
      "--vs-radius-chip": "6px",
      "--vs-radius-control": "8px",
      "--vs-radius-card": "12px",
      "--vs-radius-window": "16px",
      "--vs-radius-pill": "999px",
      "--vs-ease-out": "cubic-bezier(0.22, 1, 0.36, 1)",
      "--vs-ease-in-out": "cubic-bezier(0.77, 0, 0.175, 1)",
      "--vs-ease-link": "cubic-bezier(0.16, 1, 0.3, 1)",
      "--vs-duration-fast": "150ms",
      "--vs-duration": "300ms",
      "--vs-container": "1160px",
      "--vs-gutter": "clamp(20px, 5cqi, 48px)",
      "--vs-section-y": "clamp(56px, 9cqi, 112px)",
      "--vs-border-w": "1px",
      "--vs-display-weight": "600",
      "--vs-display-stretch": "100%",
      "--vs-display-tracking": "-0.04em",
      "--vs-display-leading": "1.02",
      "--vs-display-transform": "none",
      "--vs-accent-style": "normal"
    },
    "dark": {
      "--vs-page": "#05070d",
      "--vs-canvas": "#080b14",
      "--vs-surface": "#0d1220",
      "--vs-inset": "#0a0e1a",
      "--vs-field": "#131a2c",
      "--vs-hover": "#121a2b",
      "--vs-hover-2": "#1a2338",
      "--vs-ink": "#e8edf7",
      "--vs-ink-2": "#9aa5bd",
      "--vs-ink-3": "#6b7690",
      "--vs-ink-inverse": "#05070d",
      "--vs-line": "#1a2238",
      "--vs-line-strong": "#263150",
      "--vs-line-soft": "#131a2c",
      "--vs-accent": "#3ee0c9",
      "--vs-accent-ink": "#7ff0de",
      "--vs-accent-tint": "rgb(62 224 201 / 0.14)",
      "--vs-on-accent": "#04110e",
      "--vs-green": "#7fbf8e",
      "--vs-green-tint": "rgb(127 191 142 / 0.14)",
      "--vs-orange": "#e2a35c",
      "--vs-orange-tint": "rgb(226 163 92 / 0.14)",
      "--vs-red": "#f08a6b",
      "--vs-red-tint": "rgb(240 138 107 / 0.14)",
      "--vs-tooltip-bg": "#2a1f22",
      "--vs-tooltip-fg": "#f2ece4",
      "--vs-tooltip-muted": "#a99e97",
      "--vs-tooltip-border": "#3a2e31",
      "--vs-elev-ring": "rgb(232 237 247 / 0.08)",
      "--vs-elev-ring-strong": "rgb(232 237 247 / 0.14)",
      "--vs-shadow-xs": "0 1px 2px rgb(0 0 0 / 0.35)",
      "--vs-shadow-sm": "0 1px 2px rgb(0 0 0 / 0.25), 0 2px 6px rgb(0 0 0 / 0.25)",
      "--vs-shadow-md": "0 2px 12px rgb(0 0 0 / 0.5)",
      "--vs-shadow-lg": "0 10px 40px rgb(0 0 0 / 0.6)",
      "--vs-shadow-inset-field": "inset 0 1px 2px rgb(0 0 0 / 0.45)",
      "--vs-font-sans": "\"Inter Variable\", \"Inter\", ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
      "--vs-font-stretch": "100%",
      "--vs-font-mono": "ui-monospace, \"SF Mono\", \"Cascadia Code\", Menlo, Consolas, monospace",
      "--vs-radius-chip": "6px",
      "--vs-radius-control": "8px",
      "--vs-radius-card": "12px",
      "--vs-radius-window": "16px",
      "--vs-radius-pill": "999px",
      "--vs-ease-out": "cubic-bezier(0.22, 1, 0.36, 1)",
      "--vs-ease-in-out": "cubic-bezier(0.77, 0, 0.175, 1)",
      "--vs-ease-link": "cubic-bezier(0.16, 1, 0.3, 1)",
      "--vs-duration-fast": "150ms",
      "--vs-duration": "300ms",
      "--vs-container": "1160px",
      "--vs-gutter": "clamp(20px, 5cqi, 48px)",
      "--vs-section-y": "clamp(56px, 9cqi, 112px)",
      "--vs-border-w": "1px",
      "--vs-display-weight": "600",
      "--vs-display-stretch": "100%",
      "--vs-display-tracking": "-0.04em",
      "--vs-display-leading": "1.02",
      "--vs-display-transform": "none",
      "--vs-accent-style": "normal",
      "--vs-pop-shadow": "0 0 40px rgb(62 224 201 / 0.18)"
    },
    "derived": {
      "--vs-grid-line": "color-mix(in srgb, var(--vs-line) 78%, transparent)",
      "--vs-shadow-hairline": "0 0 0 1px var(--vs-line)",
      "--vs-shadow-btn": "0 0 0 1px var(--vs-elev-ring-strong), var(--vs-shadow-xs)",
      "--vs-shadow-card": "0 0 0 1px var(--vs-elev-ring), var(--vs-shadow-sm)",
      "--vs-shadow-raised": "0 0 0 1px var(--vs-elev-ring), var(--vs-shadow-md)",
      "--vs-shadow-overlay": "0 0 0 1px var(--vs-elev-ring-strong), var(--vs-shadow-lg)",
      "--vs-focus-ring": "0 0 0 2px var(--vs-surface), 0 0 0 3.5px var(--vs-accent)"
    }
  }
}
