{
  "$description": "Brand: Uber — dark mode",
  "color": {
    "swatches": {
      "$description": "Source-of-truth color swatches from palette uber@1.0.0",
      "uber-black": {
        "$value": "#000000",
        "$type": "color",
        "$description": "Uber's primary brand color — the wordmark, mark, and dominant chrome on Uber surfaces."
      },
      "uber-white": {
        "$value": "#FFFFFF",
        "$type": "color",
        "$description": "Primary canvas — the rider and marketing surfaces default to white space against Uber Black chrome."
      },
      "uber-gray-50": {
        "$value": "#F6F6F6",
        "$type": "color",
        "$description": "Subtle elevated surface on white — hover states and quiet panels."
      },
      "uber-gray-100": {
        "$value": "#EEEEEE",
        "$type": "color",
        "$description": "Card and divider surface on white canvas."
      },
      "uber-gray-200": {
        "$value": "#E2E2E2",
        "$type": "color",
        "$description": "Border on white surfaces."
      },
      "uber-gray-300": {
        "$value": "#CBCBCB",
        "$type": "color",
        "$description": "Disabled foreground; quiet stroke."
      },
      "uber-gray-500": {
        "$value": "#757575",
        "$type": "color",
        "$description": "Tertiary text and icon color."
      },
      "uber-gray-700": {
        "$value": "#3F3F3F",
        "$type": "color",
        "$description": "Secondary text on white; elevated surface in dark mode."
      },
      "uber-gray-900": {
        "$value": "#1F1F1F",
        "$type": "color",
        "$description": "Surface in dark mode — sits just above Uber Black."
      },
      "uber-green": {
        "$value": "#0E8345",
        "$type": "color",
        "$description": "Functional success — confirmation states on product surfaces."
      },
      "uber-red": {
        "$value": "#E11900",
        "$type": "color",
        "$description": "Functional error / destructive — never used as a brand accent."
      }
    },
    "roles": {
      "$description": "Semantic color roles (dark mode) mapped to palette swatches",
      "background": {
        "$value": "{color.swatches.uber-black}",
        "$type": "color",
        "$description": "background role → Uber Black"
      },
      "surface": {
        "$value": "{color.swatches.uber-gray-900}",
        "$type": "color",
        "$description": "surface role → Uber Gray 900"
      },
      "surface-elevated": {
        "$value": "{color.swatches.uber-gray-700}",
        "$type": "color",
        "$description": "surface-elevated role → Uber Gray 700"
      },
      "text-primary": {
        "$value": "{color.swatches.uber-white}",
        "$type": "color",
        "$description": "text-primary role → Uber White"
      },
      "text-secondary": {
        "$value": "{color.swatches.uber-gray-200}",
        "$type": "color",
        "$description": "text-secondary role → Uber Gray 200"
      },
      "text-tertiary": {
        "$value": "{color.swatches.uber-gray-300}",
        "$type": "color",
        "$description": "text-tertiary role → Uber Gray 300"
      },
      "primary": {
        "$value": "{color.swatches.uber-white}",
        "$type": "color",
        "$description": "primary role → Uber White"
      },
      "primary-hover": {
        "$value": "{color.swatches.uber-gray-50}",
        "$type": "color",
        "$description": "primary-hover role → Uber Gray 50"
      },
      "accent": {
        "$value": "{color.swatches.uber-white}",
        "$type": "color",
        "$description": "accent role → Uber White"
      },
      "accent-hover": {
        "$value": "{color.swatches.uber-gray-50}",
        "$type": "color",
        "$description": "accent-hover role → Uber Gray 50"
      },
      "success": {
        "$value": "{color.swatches.uber-green}",
        "$type": "color",
        "$description": "success role → Uber Green"
      },
      "warning": {
        "$value": "{color.swatches.uber-red}",
        "$type": "color",
        "$description": "warning role → Uber Red"
      },
      "error": {
        "$value": "{color.swatches.uber-red}",
        "$type": "color",
        "$description": "error role → Uber Red"
      },
      "border": {
        "$value": "{color.swatches.uber-gray-700}",
        "$type": "color",
        "$description": "border role → Uber Gray 700"
      },
      "brand-overrides": {
        "$description": "Brand-level role overrides (take precedence over palette role mappings)",
        "identity": {
          "$value": "{color.swatches.uber-black}",
          "$type": "color",
          "$description": "Brand role identity → Uber Black"
        },
        "on-identity": {
          "$value": "{color.swatches.uber-white}",
          "$type": "color",
          "$description": "Brand role on-identity → Uber White"
        },
        "primary": {
          "$value": "{color.swatches.uber-black}",
          "$type": "color",
          "$description": "Brand role primary → Uber Black"
        },
        "primary-hover": {
          "$value": "{color.swatches.uber-gray-900}",
          "$type": "color",
          "$description": "Brand role primary-hover → Uber Gray 900"
        },
        "accent": {
          "$value": "{color.swatches.uber-black}",
          "$type": "color",
          "$description": "Brand role accent → Uber Black"
        },
        "accent-hover": {
          "$value": "{color.swatches.uber-gray-900}",
          "$type": "color",
          "$description": "Brand role accent-hover → Uber Gray 900"
        },
        "mark": {
          "$value": "{color.swatches.uber-black}",
          "$type": "color",
          "$description": "Brand role mark → Uber Black"
        },
        "success": {
          "$value": "{color.swatches.uber-green}",
          "$type": "color",
          "$description": "Brand role success → Uber Green"
        },
        "warning": {
          "$value": "{color.swatches.uber-red}",
          "$type": "color",
          "$description": "Brand role warning → Uber Red"
        },
        "error": {
          "$value": "{color.swatches.uber-red}",
          "$type": "color",
          "$description": "Brand role error → Uber Red"
        },
        "background-light": {
          "$value": "{color.swatches.uber-white}",
          "$type": "color",
          "$description": "Brand role background-light → Uber White"
        },
        "background-dark": {
          "$value": "{color.swatches.uber-black}",
          "$type": "color",
          "$description": "Brand role background-dark → Uber Black"
        },
        "surface-light": {
          "$value": "{color.swatches.uber-gray-50}",
          "$type": "color",
          "$description": "Brand role surface-light → Uber Gray 50"
        },
        "surface-dark": {
          "$value": "{color.swatches.uber-gray-900}",
          "$type": "color",
          "$description": "Brand role surface-dark → Uber Gray 900"
        },
        "text-primary-light": {
          "$value": "{color.swatches.uber-black}",
          "$type": "color",
          "$description": "Brand role text-primary-light → Uber Black"
        },
        "text-primary-dark": {
          "$value": "{color.swatches.uber-white}",
          "$type": "color",
          "$description": "Brand role text-primary-dark → Uber White"
        },
        "text-secondary-light": {
          "$value": "{color.swatches.uber-gray-700}",
          "$type": "color",
          "$description": "Brand role text-secondary-light → Uber Gray 700"
        },
        "text-tertiary-light": {
          "$value": "{color.swatches.uber-gray-500}",
          "$type": "color",
          "$description": "Brand role text-tertiary-light → Uber Gray 500"
        },
        "border-light": {
          "$value": "{color.swatches.uber-gray-200}",
          "$type": "color",
          "$description": "Brand role border-light → Uber Gray 200"
        }
      }
    }
  },
  "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"
      }
    }
  }
}
