{
  "$description": "Brand: Tesla — dark mode",
  "color": {
    "swatches": {
      "$description": "Source-of-truth color swatches from palette tesla@1.0.0",
      "tesla-red": {
        "$value": "#E82127",
        "$type": "color",
        "$description": "Tesla's signature brand red — the wordmark, the \"T\" mark, and high-priority highlights."
      },
      "tesla-red-deep": {
        "$value": "#B91A1F",
        "$type": "color",
        "$description": "Pressed / hover variant of Tesla Red for interactive states."
      },
      "tesla-black": {
        "$value": "#000000",
        "$type": "color",
        "$description": "Canonical canvas — the brand's identity surface; Tesla.com hero modules and the in-car UI default to black."
      },
      "tesla-near-black": {
        "$value": "#0F0F10",
        "$type": "color",
        "$description": "Surface color just above true black — used for the dark product chrome and elevated dark surfaces."
      },
      "tesla-charcoal": {
        "$value": "#1C1C1F",
        "$type": "color",
        "$description": "Elevated surface — modal headers, card backgrounds on the dark canvas."
      },
      "tesla-graphite": {
        "$value": "#3A3A3D",
        "$type": "color",
        "$description": "Border on dark surfaces; secondary surface on light."
      },
      "tesla-silver": {
        "$value": "#86868B",
        "$type": "color",
        "$description": "Tertiary text and icon color on the dark canvas; secondary text on light."
      },
      "tesla-pearl": {
        "$value": "#D6D6D9",
        "$type": "color",
        "$description": "Light surface neutral; secondary text on dark."
      },
      "tesla-white": {
        "$value": "#FFFFFF",
        "$type": "color",
        "$description": "Primary text on the dark canvas; canvas for light-mode marketing surfaces."
      }
    },
    "roles": {
      "$description": "Semantic color roles (dark mode) mapped to palette swatches",
      "background": {
        "$value": "{color.swatches.tesla-black}",
        "$type": "color",
        "$description": "background role → Tesla Black"
      },
      "surface": {
        "$value": "{color.swatches.tesla-near-black}",
        "$type": "color",
        "$description": "surface role → Tesla Near-Black"
      },
      "surface-elevated": {
        "$value": "{color.swatches.tesla-charcoal}",
        "$type": "color",
        "$description": "surface-elevated role → Tesla Charcoal"
      },
      "text-primary": {
        "$value": "{color.swatches.tesla-white}",
        "$type": "color",
        "$description": "text-primary role → Tesla White"
      },
      "text-secondary": {
        "$value": "{color.swatches.tesla-pearl}",
        "$type": "color",
        "$description": "text-secondary role → Tesla Pearl"
      },
      "text-tertiary": {
        "$value": "{color.swatches.tesla-silver}",
        "$type": "color",
        "$description": "text-tertiary role → Tesla Silver"
      },
      "primary": {
        "$value": "{color.swatches.tesla-red}",
        "$type": "color",
        "$description": "primary role → Tesla Red"
      },
      "primary-hover": {
        "$value": "{color.swatches.tesla-red-deep}",
        "$type": "color",
        "$description": "primary-hover role → Tesla Red Deep"
      },
      "accent": {
        "$value": "{color.swatches.tesla-red}",
        "$type": "color",
        "$description": "accent role → Tesla Red"
      },
      "accent-hover": {
        "$value": "{color.swatches.tesla-red-deep}",
        "$type": "color",
        "$description": "accent-hover role → Tesla Red Deep"
      },
      "success": {
        "$value": "{color.swatches.tesla-white}",
        "$type": "color",
        "$description": "success role → Tesla White"
      },
      "warning": {
        "$value": "{color.swatches.tesla-red}",
        "$type": "color",
        "$description": "warning role → Tesla Red"
      },
      "error": {
        "$value": "{color.swatches.tesla-red-deep}",
        "$type": "color",
        "$description": "error role → Tesla Red Deep"
      },
      "border": {
        "$value": "{color.swatches.tesla-graphite}",
        "$type": "color",
        "$description": "border role → Tesla Graphite"
      },
      "brand-overrides": {
        "$description": "Brand-level role overrides (take precedence over palette role mappings)",
        "identity": {
          "$value": "{color.swatches.tesla-black}",
          "$type": "color",
          "$description": "Brand role identity → Tesla Black"
        },
        "on-identity": {
          "$value": "{color.swatches.tesla-red}",
          "$type": "color",
          "$description": "Brand role on-identity → Tesla Red"
        },
        "background": {
          "$value": "{color.swatches.tesla-black}",
          "$type": "color",
          "$description": "Brand role background → Tesla Black"
        },
        "surface": {
          "$value": "{color.swatches.tesla-near-black}",
          "$type": "color",
          "$description": "Brand role surface → Tesla Near-Black"
        },
        "surface-elevated": {
          "$value": "{color.swatches.tesla-charcoal}",
          "$type": "color",
          "$description": "Brand role surface-elevated → Tesla Charcoal"
        },
        "text-primary": {
          "$value": "{color.swatches.tesla-white}",
          "$type": "color",
          "$description": "Brand role text-primary → Tesla White"
        },
        "text-secondary": {
          "$value": "{color.swatches.tesla-pearl}",
          "$type": "color",
          "$description": "Brand role text-secondary → Tesla Pearl"
        },
        "text-tertiary": {
          "$value": "{color.swatches.tesla-silver}",
          "$type": "color",
          "$description": "Brand role text-tertiary → Tesla Silver"
        },
        "primary": {
          "$value": "{color.swatches.tesla-red}",
          "$type": "color",
          "$description": "Brand role primary → Tesla Red"
        },
        "primary-hover": {
          "$value": "{color.swatches.tesla-red-deep}",
          "$type": "color",
          "$description": "Brand role primary-hover → Tesla Red Deep"
        },
        "accent": {
          "$value": "{color.swatches.tesla-red}",
          "$type": "color",
          "$description": "Brand role accent → Tesla Red"
        },
        "accent-hover": {
          "$value": "{color.swatches.tesla-red-deep}",
          "$type": "color",
          "$description": "Brand role accent-hover → Tesla Red Deep"
        },
        "mark": {
          "$value": "{color.swatches.tesla-red}",
          "$type": "color",
          "$description": "Brand role mark → Tesla Red"
        },
        "success": {
          "$value": "{color.swatches.tesla-white}",
          "$type": "color",
          "$description": "Brand role success → Tesla White"
        },
        "warning": {
          "$value": "{color.swatches.tesla-red}",
          "$type": "color",
          "$description": "Brand role warning → Tesla Red"
        },
        "error": {
          "$value": "{color.swatches.tesla-red-deep}",
          "$type": "color",
          "$description": "Brand role error → Tesla Red Deep"
        },
        "background-light": {
          "$value": "{color.swatches.tesla-white}",
          "$type": "color",
          "$description": "Brand role background-light → Tesla White"
        },
        "background-dark": {
          "$value": "{color.swatches.tesla-black}",
          "$type": "color",
          "$description": "Brand role background-dark → Tesla Black"
        },
        "surface-light": {
          "$value": "{color.swatches.tesla-pearl}",
          "$type": "color",
          "$description": "Brand role surface-light → Tesla Pearl"
        },
        "surface-dark": {
          "$value": "{color.swatches.tesla-near-black}",
          "$type": "color",
          "$description": "Brand role surface-dark → Tesla Near-Black"
        },
        "text-primary-light": {
          "$value": "{color.swatches.tesla-black}",
          "$type": "color",
          "$description": "Brand role text-primary-light → Tesla Black"
        },
        "text-primary-dark": {
          "$value": "{color.swatches.tesla-white}",
          "$type": "color",
          "$description": "Brand role text-primary-dark → Tesla White"
        },
        "text-secondary-light": {
          "$value": "{color.swatches.tesla-charcoal}",
          "$type": "color",
          "$description": "Brand role text-secondary-light → Tesla Charcoal"
        },
        "text-tertiary-light": {
          "$value": "{color.swatches.tesla-silver}",
          "$type": "color",
          "$description": "Brand role text-tertiary-light → Tesla Silver"
        },
        "border-light": {
          "$value": "{color.swatches.tesla-pearl}",
          "$type": "color",
          "$description": "Brand role border-light → Tesla Pearl"
        }
      }
    }
  },
  "font": {
    "$description": "Typography roles mapped to font atoms",
    "heading": {
      "family": {
        "$value": [
          "Inter",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Roboto",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "heading role → Inter (inter@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"
        },
        "900": {
          "$value": 900,
          "$type": "fontWeight"
        },
        "$description": "Available font weights"
      }
    },
    "body": {
      "family": {
        "$value": [
          "Inter",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Roboto",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "body role → Inter (inter@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"
        },
        "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"
      }
    }
  }
}
