{
  "$comment": "Product roles layered on Studio 2.4 (design/studio). Every role names a system token; nothing here is a raw colour except the file-category and code-syntax hues, which Studio does not define. Edited by hand.",
  "icon": {
    "ink": "on-surface", "ink-muted": "on-surface-2", "ink-faint": "on-surface-4",
    "accent": "primary-line", "success": "success", "warning": "warning", "error": "error",
    "toneOpacity": 0.2
  },
  "tile": {
    "ink": { "tile": "on-surface", "line": "dark-on-surface", "accent": "dark-primary", "edge": "dark-border-strong" },
    "paper": { "tile": "surface", "line": "on-surface", "accent": "primary-line", "edge": "border" },
    "lime": { "tile": "primary", "line": "on-primary", "accent": "on-primary", "edge": null },
    "vars": { "tile": "surface", "line": "on-surface", "accent": "primary-line", "edge": "border" }
  },
  "illustration": {
    "line": "on-surface", "plate": "surface-3", "paper": "surface", "muted": "border-strong",
    "accent": "primary", "on-accent": "on-primary",
    "dark": { "paper": "surface-2", "plate": "surface-3" }
  },
  "fileCategories": {
    "$comment": "One restrained hue per category, equal lightness and chroma, used only on file-type label chips (docs/reference/brand-layer.md).",
    "lightness": { "light": 52, "dark": 74 }, "chroma": 0.12,
    "hues": { "document": 255, "slides": 45, "data": 150, "image": 75, "video": 15, "audio": 320, "code": 200, "archive": 95, "design": 290, "3d": 230, "web": 175, "generic": 270 }
  },
  "code": {
    "$comment": "Syntax roles for code blocks, highlighted by the vendored Prism fork (vendor/prism-1.30.0/). Background and ink are system tokens. Each hued role is a hue and chroma; tools/design/build.mjs starts at the given lightness and moves it, per theme, until the role reaches 4.5:1 (AA) on the code background. Used only inside code.",
    "background": "surface-2", "ink": "on-surface",
    "start": { "light": 60, "dark": 78 },
    "roles": {
      "keyword": { "hue": 330, "chroma": 0.15 },
      "tag": { "hue": 295, "chroma": 0.14 },
      "attr": { "hue": 245, "chroma": 0.13 },
      "function": { "hue": 200, "chroma": 0.11 },
      "string": { "hue": 148, "chroma": 0.14 },
      "number": { "hue": 55, "chroma": 0.14 },
      "comment": { "hue": 270, "chroma": 0.012, "start": { "light": 60, "dark": 64 } },
      "punctuation": { "hue": 270, "chroma": 0.01, "start": { "light": 62, "dark": 62 } }
    }
  },
  "fonts": {
    "$comment": "Bounded is Studio's display face, licensed to Cardsite, Inc. and self-hosted from the partner kit (vendor/cardsite-partner-kit-1.2.0/fonts). Unbounded (SIL OFL) stays in the stack only as the fallback.",
    "display": { "family": "Bounded", "file": "public/assets/fonts/Bounded-Variable.ttf", "weight": "100 900", "fallback": "Unbounded", "fallbackFile": "public/assets/fonts/unbounded-latin-500-normal.woff2" },
    "accent": { "family": "Instrument Serif", "file": "public/assets/fonts/instrument-serif-latin-400-italic.woff2" },
    "body": { "family": "Inter Tight", "files": ["public/assets/fonts/inter-tight-latin-400-normal.woff2", "public/assets/fonts/inter-tight-latin-500-normal.woff2", "public/assets/fonts/inter-tight-latin-600-normal.woff2"] },
    "mono": { "family": "JetBrains Mono", "files": ["public/assets/fonts/jetbrains-mono-latin-500-normal.woff2", "public/assets/fonts/jetbrains-mono-latin-600-normal.woff2"] }
  },
  "typography": {
    "$comment": "Studio typography revision (after 2.2.0): nothing below 10 px. The 9 px caption role is raised to 10.",
    "floorPx": 10
  },
  "iconography": "Cardsite Icons replaces Phosphor in Studio 2.4 › Iconography: regular in content, bold in the toolbar, duotone for selection."
}
