{
  "$description": "Brand: X (formerly Twitter) — light mode",
  "color": {
    "swatches": {
      "$description": "Source-of-truth color swatches from palette x-twitter@1.0.0",
      "x-black": {
        "$value": "#000000",
        "$type": "color",
        "$description": "Canonical canvas — the X identity reads as the white mark on black."
      },
      "x-white": {
        "$value": "#FFFFFF",
        "$type": "color",
        "$description": "Inverse canvas / mark fill — the X mark renders white on black or black on white."
      },
      "x-dim": {
        "$value": "#15202B",
        "$type": "color",
        "$description": "\"Dim\" surface — the desaturated near-navy product canvas inherited from Twitter's three-mode theme system, still surfaced on x.com under the Display settings.\n"
      },
      "x-dim-elevated": {
        "$value": "#1E2732",
        "$type": "color",
        "$description": "Authored elevated surface on the Dim canvas — modals, hover rows."
      },
      "x-charcoal": {
        "$value": "#16181C",
        "$type": "color",
        "$description": "Authored elevated surface on the Lights Out (pure-black) canvas — rows, tile borders, and modal backgrounds on x.com dark mode.\n"
      },
      "x-gray": {
        "$value": "#71767B",
        "$type": "color",
        "$description": "Secondary text and icon tone on the dark canvas."
      },
      "x-gray-light": {
        "$value": "#E7E9EA",
        "$type": "color",
        "$description": "Primary text tone on the dark canvas (off-white)."
      },
      "x-gray-border": {
        "$value": "#2F3336",
        "$type": "color",
        "$description": "Hairline divider and border tone on the dark canvas."
      },
      "twitter-blue-legacy": {
        "$value": "#1DA1F2",
        "$type": "color",
        "$description": "The pre-2023 Twitter Blue. Retained as a deprecated reference for historical applications and migration documentation only; not part of the current X monochrome identity.\n"
      }
    },
    "roles": {
      "$description": "Semantic color roles (light mode) mapped to palette swatches",
      "background": {
        "$value": "{color.swatches.x-white}",
        "$type": "color",
        "$description": "background role → X White"
      },
      "surface": {
        "$value": "{color.swatches.x-white}",
        "$type": "color",
        "$description": "surface role → X White"
      },
      "surface-elevated": {
        "$value": "{color.swatches.x-white}",
        "$type": "color",
        "$description": "surface-elevated role → X White"
      },
      "text-primary": {
        "$value": "{color.swatches.x-black}",
        "$type": "color",
        "$description": "text-primary role → X Black"
      },
      "text-secondary": {
        "$value": "{color.swatches.x-gray}",
        "$type": "color",
        "$description": "text-secondary role → X Gray"
      },
      "text-tertiary": {
        "$value": "{color.swatches.x-gray}",
        "$type": "color",
        "$description": "text-tertiary role → X Gray"
      },
      "primary": {
        "$value": "{color.swatches.x-black}",
        "$type": "color",
        "$description": "primary role → X Black"
      },
      "primary-hover": {
        "$value": "{color.swatches.x-charcoal}",
        "$type": "color",
        "$description": "primary-hover role → X Charcoal"
      },
      "accent": {
        "$value": "{color.swatches.x-black}",
        "$type": "color",
        "$description": "accent role → X Black"
      },
      "accent-hover": {
        "$value": "{color.swatches.x-charcoal}",
        "$type": "color",
        "$description": "accent-hover role → X Charcoal"
      },
      "warning": {
        "$value": "{color.swatches.x-black}",
        "$type": "color",
        "$description": "warning role → X Black"
      },
      "warning-hover": {
        "$value": "{color.swatches.x-charcoal}",
        "$type": "color",
        "$description": "warning-hover role → X Charcoal"
      },
      "error": {
        "$value": "{color.swatches.x-black}",
        "$type": "color",
        "$description": "error role → X Black"
      },
      "success": {
        "$value": "{color.swatches.x-black}",
        "$type": "color",
        "$description": "success role → X Black"
      },
      "brand-overrides": {
        "$description": "Brand-level role overrides (take precedence over palette role mappings)",
        "identity": {
          "$value": "{color.swatches.x-black}",
          "$type": "color",
          "$description": "Brand role identity → X Black"
        },
        "on-identity": {
          "$value": "{color.swatches.x-white}",
          "$type": "color",
          "$description": "Brand role on-identity → X White"
        },
        "background": {
          "$value": "{color.swatches.x-black}",
          "$type": "color",
          "$description": "Brand role background → X Black"
        },
        "surface": {
          "$value": "{color.swatches.x-charcoal}",
          "$type": "color",
          "$description": "Brand role surface → X Charcoal"
        },
        "surface-elevated": {
          "$value": "{color.swatches.x-dim-elevated}",
          "$type": "color",
          "$description": "Brand role surface-elevated → X Dim Elevated"
        },
        "text-primary": {
          "$value": "{color.swatches.x-gray-light}",
          "$type": "color",
          "$description": "Brand role text-primary → X Gray Light"
        },
        "text-secondary": {
          "$value": "{color.swatches.x-gray}",
          "$type": "color",
          "$description": "Brand role text-secondary → X Gray"
        },
        "text-tertiary": {
          "$value": "{color.swatches.x-gray}",
          "$type": "color",
          "$description": "Brand role text-tertiary → X Gray"
        },
        "primary": {
          "$value": "{color.swatches.x-white}",
          "$type": "color",
          "$description": "Brand role primary → X White"
        },
        "primary-hover": {
          "$value": "{color.swatches.x-gray-light}",
          "$type": "color",
          "$description": "Brand role primary-hover → X Gray Light"
        },
        "accent": {
          "$value": "{color.swatches.x-white}",
          "$type": "color",
          "$description": "Brand role accent → X White"
        },
        "accent-hover": {
          "$value": "{color.swatches.x-gray-light}",
          "$type": "color",
          "$description": "Brand role accent-hover → X Gray Light"
        },
        "mark": {
          "$value": "{color.swatches.x-white}",
          "$type": "color",
          "$description": "Brand role mark → X White"
        },
        "text-emphasis": {
          "$value": "{color.swatches.x-gray-light}",
          "$type": "color",
          "$description": "Brand role text-emphasis → X Gray Light"
        },
        "text-muted": {
          "$value": "{color.swatches.x-gray}",
          "$type": "color",
          "$description": "Brand role text-muted → X Gray"
        }
      }
    }
  },
  "font": {
    "$description": "Typography roles mapped to font atoms",
    "heading": {
      "family": {
        "$value": [
          "Chirp",
          "Inter",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "heading role → Chirp (chirp@1.0.0)"
      },
      "weight": {
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "500": {
          "$value": 500,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$type": "fontWeight"
        },
        "800": {
          "$value": 800,
          "$type": "fontWeight"
        },
        "$description": "Available font weights"
      }
    },
    "body": {
      "family": {
        "$value": [
          "Chirp",
          "Inter",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "body role → Chirp (chirp@1.0.0)"
      },
      "weight": {
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "500": {
          "$value": 500,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$type": "fontWeight"
        },
        "800": {
          "$value": 800,
          "$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"
      }
    }
  }
}
