{
  "$themes": [
    {
      "id": "light",
      "name": "Light",
      "selectedTokenSets": {
        "global": "enabled",
        "role-light": "enabled",
        "brand": "enabled"
      }
    },
    {
      "id": "dark",
      "name": "Dark",
      "selectedTokenSets": {
        "global": "enabled",
        "role-dark": "enabled",
        "brand": "enabled"
      }
    }
  ],
  "global": {
    "color": {
      "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."
      }
    },
    "fontFamily": {
      "heading": {
        "value": "Inter",
        "type": "fontFamilies",
        "description": "inter@1.0.0 · sans-serif"
      },
      "body": {
        "value": "Inter",
        "type": "fontFamilies",
        "description": "inter@1.0.0 · sans-serif"
      },
      "mono": {
        "value": "JetBrainsMono Nerd Font",
        "type": "fontFamilies",
        "description": "jetbrainsmono-nerdfont@1.0.0 · monospace"
      }
    },
    "fontStack": {
      "heading": {
        "value": [
          "Inter",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Roboto",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "type": "fontFamilies"
      },
      "body": {
        "value": [
          "Inter",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Roboto",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "type": "fontFamilies"
      },
      "mono": {
        "value": [
          "JetBrainsMono Nerd Font",
          "JetBrains Mono",
          "Fira Code",
          "Menlo",
          "Monaco",
          "Consolas",
          "Liberation Mono",
          "monospace"
        ],
        "type": "fontFamilies"
      }
    }
  },
  "role-light": {
    "color": {
      "background": {
        "value": "{global.color.tesla-white}",
        "type": "color"
      },
      "surface": {
        "value": "{global.color.tesla-pearl}",
        "type": "color"
      },
      "surface-elevated": {
        "value": "{global.color.tesla-white}",
        "type": "color"
      },
      "text-primary": {
        "value": "{global.color.tesla-black}",
        "type": "color"
      },
      "text-secondary": {
        "value": "{global.color.tesla-charcoal}",
        "type": "color"
      },
      "text-tertiary": {
        "value": "{global.color.tesla-silver}",
        "type": "color"
      },
      "primary": {
        "value": "{global.color.tesla-red}",
        "type": "color"
      },
      "primary-hover": {
        "value": "{global.color.tesla-red-deep}",
        "type": "color"
      },
      "accent": {
        "value": "{global.color.tesla-red}",
        "type": "color"
      },
      "accent-hover": {
        "value": "{global.color.tesla-red-deep}",
        "type": "color"
      },
      "success": {
        "value": "{global.color.tesla-silver}",
        "type": "color"
      },
      "warning": {
        "value": "{global.color.tesla-red}",
        "type": "color"
      },
      "error": {
        "value": "{global.color.tesla-red-deep}",
        "type": "color"
      },
      "border": {
        "value": "{global.color.tesla-pearl}",
        "type": "color"
      }
    }
  },
  "role-dark": {
    "color": {
      "background": {
        "value": "{global.color.tesla-black}",
        "type": "color"
      },
      "surface": {
        "value": "{global.color.tesla-near-black}",
        "type": "color"
      },
      "surface-elevated": {
        "value": "{global.color.tesla-charcoal}",
        "type": "color"
      },
      "text-primary": {
        "value": "{global.color.tesla-white}",
        "type": "color"
      },
      "text-secondary": {
        "value": "{global.color.tesla-pearl}",
        "type": "color"
      },
      "text-tertiary": {
        "value": "{global.color.tesla-silver}",
        "type": "color"
      },
      "primary": {
        "value": "{global.color.tesla-red}",
        "type": "color"
      },
      "primary-hover": {
        "value": "{global.color.tesla-red-deep}",
        "type": "color"
      },
      "accent": {
        "value": "{global.color.tesla-red}",
        "type": "color"
      },
      "accent-hover": {
        "value": "{global.color.tesla-red-deep}",
        "type": "color"
      },
      "success": {
        "value": "{global.color.tesla-white}",
        "type": "color"
      },
      "warning": {
        "value": "{global.color.tesla-red}",
        "type": "color"
      },
      "error": {
        "value": "{global.color.tesla-red-deep}",
        "type": "color"
      },
      "border": {
        "value": "{global.color.tesla-graphite}",
        "type": "color"
      }
    }
  },
  "brand": {
    "color": {
      "identity": {
        "value": "{global.color.tesla-black}",
        "type": "color"
      },
      "on-identity": {
        "value": "{global.color.tesla-red}",
        "type": "color"
      },
      "background": {
        "value": "{global.color.tesla-black}",
        "type": "color"
      },
      "surface": {
        "value": "{global.color.tesla-near-black}",
        "type": "color"
      },
      "surface-elevated": {
        "value": "{global.color.tesla-charcoal}",
        "type": "color"
      },
      "text-primary": {
        "value": "{global.color.tesla-white}",
        "type": "color"
      },
      "text-secondary": {
        "value": "{global.color.tesla-pearl}",
        "type": "color"
      },
      "text-tertiary": {
        "value": "{global.color.tesla-silver}",
        "type": "color"
      },
      "primary": {
        "value": "{global.color.tesla-red}",
        "type": "color"
      },
      "primary-hover": {
        "value": "{global.color.tesla-red-deep}",
        "type": "color"
      },
      "accent": {
        "value": "{global.color.tesla-red}",
        "type": "color"
      },
      "accent-hover": {
        "value": "{global.color.tesla-red-deep}",
        "type": "color"
      },
      "mark": {
        "value": "{global.color.tesla-red}",
        "type": "color"
      },
      "success": {
        "value": "{global.color.tesla-white}",
        "type": "color"
      },
      "warning": {
        "value": "{global.color.tesla-red}",
        "type": "color"
      },
      "error": {
        "value": "{global.color.tesla-red-deep}",
        "type": "color"
      },
      "background-light": {
        "value": "{global.color.tesla-white}",
        "type": "color"
      },
      "background-dark": {
        "value": "{global.color.tesla-black}",
        "type": "color"
      },
      "surface-light": {
        "value": "{global.color.tesla-pearl}",
        "type": "color"
      },
      "surface-dark": {
        "value": "{global.color.tesla-near-black}",
        "type": "color"
      },
      "text-primary-light": {
        "value": "{global.color.tesla-black}",
        "type": "color"
      },
      "text-primary-dark": {
        "value": "{global.color.tesla-white}",
        "type": "color"
      },
      "text-secondary-light": {
        "value": "{global.color.tesla-charcoal}",
        "type": "color"
      },
      "text-tertiary-light": {
        "value": "{global.color.tesla-silver}",
        "type": "color"
      },
      "border-light": {
        "value": "{global.color.tesla-pearl}",
        "type": "color"
      }
    }
  },
  "$metadata": {
    "name": "Tesla",
    "ref": "tesla@1.0.0",
    "paletteRef": "tesla@1.0.0",
    "generatedBy": "brand-atoms converter"
  }
}
