{
  "$schema": "https://tr.designtokens.org/format/",
  "$description": "maskyr (maskyr.dev) 3-layer W3C DTCG design tokens. White/warm-paper and calibrated signal yellow palette with zero purple/violet hues (255-325 deg forbidden).",
  "primitive": {
    "color": {
      "$type": "color",
      "canvas": {
        "$value": "#FFFFFF",
        "$description": "Pure white primary surface.",
        "$extensions": { "dev.maskyr.oklch": "oklch(100% 0 0)" }
      },
      "paper": {
        "$value": "#FAFAF7",
        "$description": "Warm archival paper surface.",
        "$extensions": { "dev.maskyr.oklch": "oklch(98.43% 0.004 106.5)" }
      },
      "stone": {
        "$value": "#F3F2EC",
        "$description": "Subtle warm stone secondary surface.",
        "$extensions": { "dev.maskyr.oklch": "oklch(96.03% 0.008 98.9)" }
      },
      "stone-deep": {
        "$value": "#E9E7DE",
        "$description": "Deeper stone surface for active/pressed states and table headers.",
        "$extensions": { "dev.maskyr.oklch": "oklch(92.7% 0.0122 96.4)" }
      },
      "hairline": {
        "$value": "#E2E0D6",
        "$description": "1px structural divider and card hairline border.",
        "$extensions": { "dev.maskyr.oklch": "oklch(90.55% 0.0136 97.5)" }
      },
      "border": {
        "$value": "#C7C4B6",
        "$description": "Stronger control and input border on light surfaces.",
        "$extensions": { "dev.maskyr.oklch": "oklch(81.88% 0.0195 96.9)" }
      },
      "ink": {
        "$value": "#121210",
        "$description": "Primary near-black ink and dark terminal canvas.",
        "$extensions": { "dev.maskyr.oklch": "oklch(18.14% 0.004 106.8)" }
      },
      "ink-soft": {
        "$value": "#1C1C19",
        "$description": "Elevated dark surface and soft near-black text.",
        "$extensions": { "dev.maskyr.oklch": "oklch(22.53% 0.0057 106.8)" }
      },
      "ink-secondary": {
        "$value": "#474640",
        "$description": "Secondary body copy on light surfaces.",
        "$extensions": { "dev.maskyr.oklch": "oklch(39.31% 0.01 99.1)" }
      },
      "ink-muted": {
        "$value": "#636159",
        "$description": "Muted captions, metadata, and helper copy on light surfaces.",
        "$extensions": { "dev.maskyr.oklch": "oklch(49.19% 0.0127 95.3)" }
      },
      "yellow": {
        "$value": "#F5CE00",
        "$description": "Calibrated signal yellow primary brand accent.",
        "$extensions": { "dev.maskyr.oklch": "oklch(85.93% 0.1765 95.1)" }
      },
      "yellow-hover": {
        "$value": "#E2BD00",
        "$description": "Calibrated signal yellow hover and active border.",
        "$extensions": { "dev.maskyr.oklch": "oklch(80.68% 0.1656 94.7)" }
      },
      "yellow-wash": {
        "$value": "#FFF6CC",
        "$description": "Low-saturation signal yellow tint for highlights and surrogate tags.",
        "$extensions": { "dev.maskyr.oklch": "oklch(96.97% 0.0551 97.3)" }
      },
      "yellow-ink": {
        "$value": "#6B5100",
        "$description": "High-contrast deep ochre ink for yellow-wash and light surfaces.",
        "$extensions": { "dev.maskyr.oklch": "oklch(44.97% 0.092 87.1)" }
      },
      "dark-text": {
        "$value": "#F5F4EE",
        "$description": "Primary warm off-white text on dark surfaces.",
        "$extensions": { "dev.maskyr.oklch": "oklch(96.63% 0.008 98.9)" }
      },
      "dark-muted": {
        "$value": "#A8A69B",
        "$description": "Secondary/muted text on dark surfaces.",
        "$extensions": { "dev.maskyr.oklch": "oklch(72.36% 0.0157 98.4)" }
      },
      "dark-border": {
        "$value": "#2C2C27",
        "$description": "1px hairline border on dark surfaces.",
        "$extensions": { "dev.maskyr.oklch": "oklch(29.13% 0.0089 106.9)" }
      },
      "syntax": {
        "light-keyword": {
          "$value": "#9A3412",
          "$description": "Light syntax keyword (burnt sienna, hue ~37 deg OKLCH / 15 deg HSL).",
          "$extensions": { "dev.maskyr.oklch": "oklch(46.98% 0.143 37.3)" }
        },
        "light-string": {
          "$value": "#115E59",
          "$description": "Light syntax string (pine teal, hue ~188 deg OKLCH / 176 deg HSL).",
          "$extensions": { "dev.maskyr.oklch": "oklch(43.7% 0.0705 188.2)" }
        },
        "light-function": {
          "$value": "#0E5A6F",
          "$description": "Light syntax function/type (petrol cyan-blue, hue ~222 deg OKLCH / 193 deg HSL).",
          "$extensions": { "dev.maskyr.oklch": "oklch(43.49% 0.0758 222.2)" }
        },
        "dark-string": {
          "$value": "#5EEAD4",
          "$description": "Dark syntax string (mint teal, hue ~181 deg OKLCH / 171 deg HSL).",
          "$extensions": { "dev.maskyr.oklch": "oklch(85.49% 0.1251 181.1)" }
        },
        "dark-number": {
          "$value": "#FBBF24",
          "$description": "Dark syntax number/literal (warm amber, hue ~84 deg OKLCH / 43 deg HSL).",
          "$extensions": { "dev.maskyr.oklch": "oklch(83.69% 0.1644 84.4)" }
        },
        "dark-function": {
          "$value": "#7DD3FC",
          "$description": "Dark syntax function/type (ice sky blue, hue ~230 deg OKLCH / 199 deg HSL).",
          "$extensions": { "dev.maskyr.oklch": "oklch(82.76% 0.1013 230.3)" }
        },
        "dark-punctuation": {
          "$value": "#8B897E",
          "$description": "Dark syntax punctuation (warm pewter, hue ~98 deg OKLCH / 51 deg HSL).",
          "$extensions": { "dev.maskyr.oklch": "oklch(62.85% 0.0163 98.4)" }
        },
        "dark-surrogate-bg": {
          "$value": "#2B2408",
          "$description": "Dark surrogate token chip background (deep warm olive-amber).",
          "$extensions": { "dev.maskyr.oklch": "oklch(26.15% 0.0441 95.1)" }
        }
      }
    },
    "font": {
      "family": {
        "$type": "fontFamily",
        "sans": {
          "$value": "'Switzer', ui-sans-serif, system-ui, -apple-system, sans-serif",
          "$description": "Primary sans-serif typeface for UI and editorial copy."
        },
        "mono": {
          "$value": "'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace",
          "$description": "Monospace typeface strictly for code, JSON, CLI, CSS tokens, and surrogate IDs."
        }
      },
      "size": {
        "$type": "dimension",
        "xs": { "$value": "13px", "$description": "13px metadata, table labels, surrogate chips." },
        "sm": { "$value": "14px", "$description": "14px compact UI controls and inline code." },
        "base": { "$value": "16px", "$description": "16px primary body copy." },
        "md": { "$value": "18px", "$description": "18px lead paragraphs and card titles." },
        "lg": { "$value": "20px", "$description": "20px subsection headings." },
        "xl": { "$value": "24px", "$description": "24px section subheadings." },
        "2xl": { "$value": "32px", "$description": "32px section headings." },
        "3xl": { "$value": "40px", "$description": "40px page titles." },
        "display": { "$value": "clamp(2.5rem, 4.4vw, 4rem)", "$description": "Fluid hero display headline (40px to 64px)." }
      },
      "weight": {
        "$type": "fontWeight",
        "regular": { "$value": 400 },
        "medium": { "$value": 500 },
        "semibold": { "$value": 600 },
        "bold": { "$value": 700 }
      },
      "tracking": {
        "$type": "dimension",
        "tighter": { "$value": "-0.03em" },
        "tight": { "$value": "-0.02em" },
        "snug": { "$value": "-0.01em" },
        "normal": { "$value": "0em" },
        "wide": { "$value": "0.04em" },
        "wider": { "$value": "0.08em" }
      },
      "leading": {
        "$type": "number",
        "none": { "$value": 1 },
        "tight": { "$value": 1.1 },
        "snug": { "$value": 1.25 },
        "normal": { "$value": 1.5 },
        "relaxed": { "$value": 1.65 }
      }
    },
    "space": {
      "$type": "dimension",
      "1": { "$value": "4px" },
      "2": { "$value": "8px" },
      "3": { "$value": "12px" },
      "4": { "$value": "16px" },
      "5": { "$value": "20px" },
      "6": { "$value": "24px" },
      "8": { "$value": "32px" },
      "10": { "$value": "40px" },
      "12": { "$value": "48px" },
      "16": { "$value": "64px" },
      "20": { "$value": "80px" },
      "24": { "$value": "96px" },
      "32": { "$value": "128px" }
    },
    "container": {
      "$type": "dimension",
      "max": { "$value": "1280px", "$description": "Default layout container width." },
      "wide": { "$value": "1360px", "$description": "Wide architectural grid container." },
      "measure": { "$value": "64ch", "$description": "Optimal editorial prose line measure." }
    },
    "radius": {
      "$type": "dimension",
      "none": { "$value": "0px", "$description": "Sharp unrounded corners for architectural blocks." },
      "xs": { "$value": "2px", "$description": "Micro radius for surrogate chips and code badges." },
      "sm": { "$value": "4px", "$description": "Default radius for buttons, inputs, and inline code." },
      "md": { "$value": "6px", "$description": "Maximum structural radius for cards and code panels." }
    },
    "motion": {
      "duration": {
        "$type": "duration",
        "instant": { "$value": "90ms" },
        "fast": { "$value": "160ms" },
        "base": { "$value": "260ms" },
        "step": { "$value": "360ms" }
      },
      "easing": {
        "$type": "cubicBezier",
        "snappy": { "$value": [0.2, 0, 0, 1] },
        "out": { "$value": [0.22, 1, 0.36, 1] }
      }
    }
  },
  "semantic": {
    "surface": {
      "$type": "color",
      "bg-canvas": { "$value": "{primitive.color.canvas}" },
      "bg-paper": { "$value": "{primitive.color.paper}" },
      "bg-stone": { "$value": "{primitive.color.stone}" },
      "bg-stone-deep": { "$value": "{primitive.color.stone-deep}" },
      "bg-dark": { "$value": "{primitive.color.ink}" },
      "bg-dark-elevated": { "$value": "{primitive.color.ink-soft}" },
      "bg-accent": { "$value": "{primitive.color.yellow}" },
      "bg-accent-hover": { "$value": "{primitive.color.yellow-hover}" },
      "bg-accent-wash": { "$value": "{primitive.color.yellow-wash}" }
    },
    "text": {
      "$type": "color",
      "primary": { "$value": "{primitive.color.ink}" },
      "soft": { "$value": "{primitive.color.ink-soft}" },
      "secondary": { "$value": "{primitive.color.ink-secondary}" },
      "muted": { "$value": "{primitive.color.ink-muted}" },
      "accent-ink": { "$value": "{primitive.color.yellow-ink}" },
      "on-accent": { "$value": "{primitive.color.ink}" },
      "on-dark": { "$value": "{primitive.color.dark-text}" },
      "on-dark-muted": { "$value": "{primitive.color.dark-muted}" }
    },
    "border": {
      "$type": "color",
      "hairline": { "$value": "{primitive.color.hairline}" },
      "default": { "$value": "{primitive.color.border}" },
      "dark": { "$value": "{primitive.color.dark-border}" },
      "accent": { "$value": "{primitive.color.yellow-hover}" }
    },
    "focus": {
      "$type": "color",
      "ring": { "$value": "{primitive.color.ink}" },
      "ring-offset": { "$value": "{primitive.color.canvas}" },
      "ring-on-dark": { "$value": "{primitive.color.yellow}" }
    },
    "syntax": {
      "$type": "color",
      "light": {
        "bg": { "$value": "{primitive.color.paper}" },
        "surface": { "$value": "{primitive.color.stone}" },
        "border": { "$value": "{primitive.color.hairline}" },
        "text": { "$value": "{primitive.color.ink}" },
        "comment": { "$value": "{primitive.color.ink-muted}" },
        "keyword": { "$value": "{primitive.color.syntax.light-keyword}" },
        "string": { "$value": "{primitive.color.syntax.light-string}" },
        "number": { "$value": "{primitive.color.yellow-ink}" },
        "function": { "$value": "{primitive.color.syntax.light-function}" },
        "property": { "$value": "{primitive.color.ink-soft}" },
        "operator": { "$value": "{primitive.color.ink-secondary}" },
        "punctuation": { "$value": "{primitive.color.ink-muted}" },
        "surrogate-bg": { "$value": "{primitive.color.yellow-wash}" },
        "surrogate-text": { "$value": "{primitive.color.yellow-ink}" },
        "surrogate-border": { "$value": "{primitive.color.yellow-hover}" }
      },
      "dark": {
        "bg": { "$value": "{primitive.color.ink}" },
        "surface": { "$value": "{primitive.color.ink-soft}" },
        "border": { "$value": "{primitive.color.dark-border}" },
        "text": { "$value": "{primitive.color.dark-text}" },
        "comment": { "$value": "{primitive.color.dark-muted}" },
        "keyword": { "$value": "{primitive.color.yellow}" },
        "string": { "$value": "{primitive.color.syntax.dark-string}" },
        "number": { "$value": "{primitive.color.syntax.dark-number}" },
        "function": { "$value": "{primitive.color.syntax.dark-function}" },
        "property": { "$value": "{primitive.color.dark-text}" },
        "operator": { "$value": "{primitive.color.dark-muted}" },
        "punctuation": { "$value": "{primitive.color.syntax.dark-punctuation}" },
        "surrogate-bg": { "$value": "{primitive.color.syntax.dark-surrogate-bg}" },
        "surrogate-text": { "$value": "{primitive.color.yellow}" },
        "surrogate-border": { "$value": "{primitive.color.yellow-ink}" }
      }
    }
  },
  "component": {
    "button": {
      "primary-bg": { "$type": "color", "$value": "{semantic.surface.bg-accent}" },
      "primary-bg-hover": { "$type": "color", "$value": "{semantic.surface.bg-accent-hover}" },
      "primary-fg": { "$type": "color", "$value": "{semantic.text.on-accent}" },
      "secondary-bg": { "$type": "color", "$value": "{semantic.surface.bg-canvas}" },
      "secondary-bg-hover": { "$type": "color", "$value": "{semantic.surface.bg-stone}" },
      "secondary-fg": { "$type": "color", "$value": "{semantic.text.primary}" },
      "secondary-border": { "$type": "color", "$value": "{semantic.border.default}" },
      "dark-bg": { "$type": "color", "$value": "{semantic.surface.bg-dark}" },
      "dark-fg": { "$type": "color", "$value": "{semantic.text.on-dark}" },
      "radius": { "$type": "dimension", "$value": "{primitive.radius.sm}" },
      "padding-x": { "$type": "dimension", "$value": "{primitive.space.5}" },
      "padding-y": { "$type": "dimension", "$value": "{primitive.space.3}" },
      "font-weight": { "$type": "fontWeight", "$value": "{primitive.font.weight.medium}" }
    },
    "card": {
      "bg": { "$type": "color", "$value": "{semantic.surface.bg-paper}" },
      "bg-alt": { "$type": "color", "$value": "{semantic.surface.bg-stone}" },
      "border": { "$type": "color", "$value": "{semantic.border.hairline}" },
      "border-strong": { "$type": "color", "$value": "{semantic.border.default}" },
      "dark-bg": { "$type": "color", "$value": "{semantic.surface.bg-dark-elevated}" },
      "dark-border": { "$type": "color", "$value": "{semantic.border.dark}" },
      "radius": { "$type": "dimension", "$value": "{primitive.radius.md}" },
      "padding": { "$type": "dimension", "$value": "{primitive.space.6}" }
    },
    "code-block": {
      "bg": { "$type": "color", "$value": "{semantic.syntax.light.bg}" },
      "bg-dark": { "$type": "color", "$value": "{semantic.syntax.dark.bg}" },
      "border": { "$type": "color", "$value": "{semantic.syntax.light.border}" },
      "border-dark": { "$type": "color", "$value": "{semantic.syntax.dark.border}" },
      "radius": { "$type": "dimension", "$value": "{primitive.radius.md}" },
      "padding": { "$type": "dimension", "$value": "{primitive.space.5}" },
      "font-family": { "$type": "fontFamily", "$value": "{primitive.font.family.mono}" },
      "font-size": { "$type": "dimension", "$value": "{primitive.font.size.sm}" },
      "line-height": { "$type": "number", "$value": "{primitive.font.leading.relaxed}" }
    },
    "surrogate-chip": {
      "bg": { "$type": "color", "$value": "{semantic.syntax.light.surrogate-bg}" },
      "fg": { "$type": "color", "$value": "{semantic.syntax.light.surrogate-text}" },
      "border": { "$type": "color", "$value": "{semantic.syntax.light.surrogate-border}" },
      "bg-dark": { "$type": "color", "$value": "{semantic.syntax.dark.surrogate-bg}" },
      "fg-dark": { "$type": "color", "$value": "{semantic.syntax.dark.surrogate-text}" },
      "border-dark": { "$type": "color", "$value": "{semantic.syntax.dark.surrogate-border}" },
      "radius": { "$type": "dimension", "$value": "{primitive.radius.xs}" },
      "font-family": { "$type": "fontFamily", "$value": "{primitive.font.family.mono}" },
      "font-size": { "$type": "dimension", "$value": "{primitive.font.size.xs}" }
    },
    "input": {
      "bg": { "$type": "color", "$value": "{semantic.surface.bg-canvas}" },
      "border": { "$type": "color", "$value": "{semantic.border.default}" },
      "border-focus": { "$type": "color", "$value": "{semantic.focus.ring}" },
      "fg": { "$type": "color", "$value": "{semantic.text.primary}" },
      "placeholder": { "$type": "color", "$value": "{semantic.text.muted}" },
      "radius": { "$type": "dimension", "$value": "{primitive.radius.sm}" },
      "height": { "$type": "dimension", "$value": "{primitive.space.10}" },
      "padding-x": { "$type": "dimension", "$value": "{primitive.space.3}" }
    },
    "nav": {
      "bg": { "$type": "color", "$value": "{semantic.surface.bg-canvas}" },
      "border": { "$type": "color", "$value": "{semantic.border.hairline}" },
      "height": { "$type": "dimension", "$value": "{primitive.space.16}" },
      "fg": { "$type": "color", "$value": "{semantic.text.primary}" },
      "fg-muted": { "$type": "color", "$value": "{semantic.text.muted}" },
      "active-indicator": { "$type": "color", "$value": "{semantic.surface.bg-accent}" }
    }
  }
}
