{
  "$description": "Brand: YouTube — dark mode",
  "color": {
    "swatches": {
      "$description": "Source-of-truth color swatches from palette youtube@1.0.0",
      "youtube-red": {
        "$value": "#FF0000",
        "$type": "color",
        "$description": "Pure signature red — the play-button mark fill, the wordmark accent, and primary CTAs."
      },
      "youtube-red-dark": {
        "$value": "#CC0000",
        "$type": "color",
        "$description": "Darker red used for hover/pressed states on the primary red."
      },
      "youtube-red-light": {
        "$value": "#FF4444",
        "$type": "color",
        "$description": "Lighter red used in marketing gradient surfaces and for emphasis on dark canvases."
      },
      "youtube-black": {
        "$value": "#0F0F0F",
        "$type": "color",
        "$description": "Canonical dark-mode canvas — the deployed youtube.com dark theme background."
      },
      "youtube-near-black": {
        "$value": "#181818",
        "$type": "color",
        "$description": "Elevated surface on dark mode — rows, cards, and modal headers."
      },
      "youtube-charcoal": {
        "$value": "#272727",
        "$type": "color",
        "$description": "Hovered surface and disabled-button background on dark mode."
      },
      "youtube-white": {
        "$value": "#FFFFFF",
        "$type": "color",
        "$description": "Canonical light-mode canvas — the classic YouTube surface."
      },
      "youtube-fog": {
        "$value": "#F2F2F2",
        "$type": "color",
        "$description": "Authored elevated surface on light mode."
      },
      "youtube-ink": {
        "$value": "#030303",
        "$type": "color",
        "$description": "Body text on the light canvas."
      },
      "youtube-graphite": {
        "$value": "#606060",
        "$type": "color",
        "$description": "Secondary text and metadata across both modes."
      },
      "youtube-gray": {
        "$value": "#AAAAAA",
        "$type": "color",
        "$description": "Tertiary text and inactive icons on the dark canvas."
      },
      "youtube-divider": {
        "$value": "#E5E5E5",
        "$type": "color",
        "$description": "Authored hairline divider on light mode."
      }
    },
    "roles": {
      "$description": "Semantic color roles (dark mode) mapped to palette swatches",
      "background": {
        "$value": "{color.swatches.youtube-black}",
        "$type": "color",
        "$description": "background role → YouTube Black"
      },
      "surface": {
        "$value": "{color.swatches.youtube-near-black}",
        "$type": "color",
        "$description": "surface role → YouTube Near-Black"
      },
      "surface-elevated": {
        "$value": "{color.swatches.youtube-charcoal}",
        "$type": "color",
        "$description": "surface-elevated role → YouTube Charcoal"
      },
      "text-primary": {
        "$value": "{color.swatches.youtube-white}",
        "$type": "color",
        "$description": "text-primary role → YouTube White"
      },
      "text-secondary": {
        "$value": "{color.swatches.youtube-gray}",
        "$type": "color",
        "$description": "text-secondary role → YouTube Gray"
      },
      "text-tertiary": {
        "$value": "{color.swatches.youtube-graphite}",
        "$type": "color",
        "$description": "text-tertiary role → YouTube Graphite"
      },
      "primary": {
        "$value": "{color.swatches.youtube-red}",
        "$type": "color",
        "$description": "primary role → YouTube Red"
      },
      "primary-hover": {
        "$value": "{color.swatches.youtube-red-light}",
        "$type": "color",
        "$description": "primary-hover role → YouTube Red Light"
      },
      "accent": {
        "$value": "{color.swatches.youtube-red}",
        "$type": "color",
        "$description": "accent role → YouTube Red"
      },
      "accent-hover": {
        "$value": "{color.swatches.youtube-red-light}",
        "$type": "color",
        "$description": "accent-hover role → YouTube Red Light"
      },
      "warning": {
        "$value": "{color.swatches.youtube-red-light}",
        "$type": "color",
        "$description": "warning role → YouTube Red Light"
      },
      "warning-hover": {
        "$value": "{color.swatches.youtube-red}",
        "$type": "color",
        "$description": "warning-hover role → YouTube Red"
      },
      "error": {
        "$value": "{color.swatches.youtube-red-light}",
        "$type": "color",
        "$description": "error role → YouTube Red Light"
      },
      "success": {
        "$value": "{color.swatches.youtube-white}",
        "$type": "color",
        "$description": "success role → YouTube White"
      },
      "brand-overrides": {
        "$description": "Brand-level role overrides (take precedence over palette role mappings)",
        "identity": {
          "$value": "{color.swatches.youtube-red}",
          "$type": "color",
          "$description": "Brand role identity → YouTube Red"
        },
        "on-identity": {
          "$value": "{color.swatches.youtube-white}",
          "$type": "color",
          "$description": "Brand role on-identity → YouTube White"
        },
        "primary": {
          "$value": "{color.swatches.youtube-red}",
          "$type": "color",
          "$description": "Brand role primary → YouTube Red"
        },
        "primary-hover": {
          "$value": "{color.swatches.youtube-red-dark}",
          "$type": "color",
          "$description": "Brand role primary-hover → YouTube Red Dark"
        },
        "accent": {
          "$value": "{color.swatches.youtube-red}",
          "$type": "color",
          "$description": "Brand role accent → YouTube Red"
        },
        "accent-hover": {
          "$value": "{color.swatches.youtube-red-dark}",
          "$type": "color",
          "$description": "Brand role accent-hover → YouTube Red Dark"
        },
        "mark": {
          "$value": "{color.swatches.youtube-red}",
          "$type": "color",
          "$description": "Brand role mark → YouTube Red"
        },
        "text-primary-light": {
          "$value": "{color.swatches.youtube-ink}",
          "$type": "color",
          "$description": "Brand role text-primary-light → YouTube Ink"
        },
        "text-primary-dark": {
          "$value": "{color.swatches.youtube-white}",
          "$type": "color",
          "$description": "Brand role text-primary-dark → YouTube White"
        },
        "text-secondary-light": {
          "$value": "{color.swatches.youtube-graphite}",
          "$type": "color",
          "$description": "Brand role text-secondary-light → YouTube Graphite"
        },
        "text-secondary-dark": {
          "$value": "{color.swatches.youtube-gray}",
          "$type": "color",
          "$description": "Brand role text-secondary-dark → YouTube Gray"
        },
        "background-light": {
          "$value": "{color.swatches.youtube-white}",
          "$type": "color",
          "$description": "Brand role background-light → YouTube White"
        },
        "background-dark": {
          "$value": "{color.swatches.youtube-black}",
          "$type": "color",
          "$description": "Brand role background-dark → YouTube Black"
        },
        "surface-light": {
          "$value": "{color.swatches.youtube-fog}",
          "$type": "color",
          "$description": "Brand role surface-light → YouTube Fog"
        },
        "surface-dark": {
          "$value": "{color.swatches.youtube-near-black}",
          "$type": "color",
          "$description": "Brand role surface-dark → YouTube Near-Black"
        },
        "divider": {
          "$value": "{color.swatches.youtube-divider}",
          "$type": "color",
          "$description": "Brand role divider → YouTube Divider"
        }
      }
    }
  },
  "font": {
    "$description": "Typography roles mapped to font atoms",
    "heading": {
      "family": {
        "$value": [
          "Roboto",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "heading role → Roboto (roboto@1.0.0)"
      },
      "weight": {
        "100": {
          "$value": 100,
          "$type": "fontWeight"
        },
        "300": {
          "$value": 300,
          "$type": "fontWeight"
        },
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "500": {
          "$value": 500,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$type": "fontWeight"
        },
        "900": {
          "$value": 900,
          "$type": "fontWeight"
        },
        "$description": "Available font weights"
      }
    },
    "body": {
      "family": {
        "$value": [
          "Roboto",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "body role → Roboto (roboto@1.0.0)"
      },
      "weight": {
        "100": {
          "$value": 100,
          "$type": "fontWeight"
        },
        "300": {
          "$value": 300,
          "$type": "fontWeight"
        },
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "500": {
          "$value": 500,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$type": "fontWeight"
        },
        "900": {
          "$value": 900,
          "$type": "fontWeight"
        },
        "$description": "Available font weights"
      }
    },
    "mono": {
      "family": {
        "$value": [
          "JetBrainsMono Nerd Font",
          "JetBrains Mono",
          "Fira Code",
          "Menlo",
          "Monaco",
          "Consolas",
          "Liberation Mono",
          "monospace"
        ],
        "$type": "fontFamily",
        "$description": "mono role → JetBrainsMono Nerd Font (jetbrainsmono-nerdfont@1.0.0)"
      },
      "weight": {
        "100": {
          "$value": 100,
          "$type": "fontWeight"
        },
        "200": {
          "$value": 200,
          "$type": "fontWeight"
        },
        "300": {
          "$value": 300,
          "$type": "fontWeight"
        },
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "500": {
          "$value": 500,
          "$type": "fontWeight"
        },
        "600": {
          "$value": 600,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$type": "fontWeight"
        },
        "800": {
          "$value": 800,
          "$type": "fontWeight"
        },
        "$description": "Available font weights"
      }
    }
  }
}
