{
  "$description": "Brand: Python — dark mode",
  "color": {
    "swatches": {
      "$description": "Source-of-truth color swatches from palette python@1.0.0",
      "python-blue": {
        "$value": "#3776AB",
        "$type": "color",
        "$description": "Primary brand color — the upper snake of the two-snake mark. Used as the dominant identity color across python.org.\n"
      },
      "python-yellow": {
        "$value": "#FFD43B",
        "$type": "color",
        "$description": "Secondary brand color — the lower snake of the two-snake mark and the high-energy accent for callouts and CTAs.\n"
      },
      "python-dark-blue": {
        "$value": "#1E415E",
        "$type": "color",
        "$description": "Deeper navy used for hover states and the dark-mode canvas.\n"
      },
      "python-dark-yellow": {
        "$value": "#FFC331",
        "$type": "color",
        "$description": "Deeper amber used for hover states on the yellow accent.\n"
      },
      "python-black": {
        "$value": "#0E1217",
        "$type": "color",
        "$description": "Dark-mode page canvas."
      },
      "python-charcoal": {
        "$value": "#1C232C",
        "$type": "color",
        "$description": "Elevated dark surface."
      },
      "python-gray": {
        "$value": "#646464",
        "$type": "color",
        "$description": "Mid neutral for body text and dividers."
      },
      "python-light-gray": {
        "$value": "#D5D5D5",
        "$type": "color",
        "$description": "Hairline borders on light canvas."
      },
      "python-off-white": {
        "$value": "#F4F4F4",
        "$type": "color",
        "$description": "Subtle layered surface on light canvas."
      },
      "python-white": {
        "$value": "#FFFFFF",
        "$type": "color",
        "$description": "Page canvas in light mode."
      },
      "python-success": {
        "$value": "#3F924B",
        "$type": "color",
        "$description": "Status success color — used in PEP/issue badges."
      }
    },
    "roles": {
      "$description": "Semantic color roles (dark mode) mapped to palette swatches",
      "background": {
        "$value": "{color.swatches.python-black}",
        "$type": "color",
        "$description": "background role → Python Black"
      },
      "surface": {
        "$value": "{color.swatches.python-charcoal}",
        "$type": "color",
        "$description": "surface role → Python Charcoal"
      },
      "surface-elevated": {
        "$value": "{color.swatches.python-charcoal}",
        "$type": "color",
        "$description": "surface-elevated role → Python Charcoal"
      },
      "text-primary": {
        "$value": "{color.swatches.python-white}",
        "$type": "color",
        "$description": "text-primary role → Python White"
      },
      "text-secondary": {
        "$value": "{color.swatches.python-light-gray}",
        "$type": "color",
        "$description": "text-secondary role → Python Light Gray"
      },
      "text-tertiary": {
        "$value": "{color.swatches.python-yellow}",
        "$type": "color",
        "$description": "text-tertiary role → Python Yellow"
      },
      "primary": {
        "$value": "{color.swatches.python-yellow}",
        "$type": "color",
        "$description": "primary role → Python Yellow"
      },
      "primary-hover": {
        "$value": "{color.swatches.python-dark-yellow}",
        "$type": "color",
        "$description": "primary-hover role → Python Dark Yellow"
      },
      "accent": {
        "$value": "{color.swatches.python-blue}",
        "$type": "color",
        "$description": "accent role → Python Blue"
      },
      "accent-hover": {
        "$value": "{color.swatches.python-dark-blue}",
        "$type": "color",
        "$description": "accent-hover role → Python Dark Blue"
      },
      "warning": {
        "$value": "{color.swatches.python-yellow}",
        "$type": "color",
        "$description": "warning role → Python Yellow"
      },
      "warning-hover": {
        "$value": "{color.swatches.python-dark-yellow}",
        "$type": "color",
        "$description": "warning-hover role → Python Dark Yellow"
      },
      "error": {
        "$value": "{color.swatches.python-dark-yellow}",
        "$type": "color",
        "$description": "error role → Python Dark Yellow"
      },
      "success": {
        "$value": "{color.swatches.python-success}",
        "$type": "color",
        "$description": "success role → Python Success Green"
      },
      "brand-overrides": {
        "$description": "Brand-level role overrides (take precedence over palette role mappings)",
        "identity": {
          "$value": "{color.swatches.python-blue}",
          "$type": "color",
          "$description": "Brand role identity → Python Blue"
        },
        "on-identity": {
          "$value": "{color.swatches.python-white}",
          "$type": "color",
          "$description": "Brand role on-identity → Python White"
        },
        "primary": {
          "$value": "{color.swatches.python-blue}",
          "$type": "color",
          "$description": "Brand role primary → Python Blue"
        },
        "primary-hover": {
          "$value": "{color.swatches.python-dark-blue}",
          "$type": "color",
          "$description": "Brand role primary-hover → Python Dark Blue"
        },
        "accent": {
          "$value": "{color.swatches.python-yellow}",
          "$type": "color",
          "$description": "Brand role accent → Python Yellow"
        },
        "accent-hover": {
          "$value": "{color.swatches.python-dark-yellow}",
          "$type": "color",
          "$description": "Brand role accent-hover → Python Dark Yellow"
        },
        "background": {
          "$value": "{color.swatches.python-white}",
          "$type": "color",
          "$description": "Brand role background → Python White"
        },
        "surface": {
          "$value": "{color.swatches.python-off-white}",
          "$type": "color",
          "$description": "Brand role surface → Python Off-White"
        },
        "text-primary": {
          "$value": "{color.swatches.python-dark-blue}",
          "$type": "color",
          "$description": "Brand role text-primary → Python Dark Blue"
        },
        "text-secondary": {
          "$value": "{color.swatches.python-gray}",
          "$type": "color",
          "$description": "Brand role text-secondary → Python Gray"
        }
      }
    }
  },
  "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": [
          "Source Code Pro",
          "ui-monospace",
          "SFMono-Regular",
          "Menlo",
          "Consolas",
          "Liberation Mono",
          "monospace"
        ],
        "$type": "fontFamily",
        "$description": "mono role → Source Code Pro (source-code-pro@1.0.0)"
      },
      "weight": {
        "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"
      }
    }
  }
}
