{
  "$description": "Brand: OpenAI — light mode",
  "color": {
    "swatches": {
      "$description": "Source-of-truth color swatches from palette openai@1.0.0",
      "openai-black": {
        "$value": "#000000",
        "$type": "color",
        "$description": "Canvas in dark mode; foreground in light mode."
      },
      "openai-white": {
        "$value": "#FFFFFF",
        "$type": "color",
        "$description": "Canvas in light mode; foreground in dark mode."
      },
      "primary-solid-4": {
        "$value": "#1F1F1F",
        "$type": "color",
        "$description": "Subtle elevated surface on dark canvas."
      },
      "primary-solid-12": {
        "$value": "#333333",
        "$type": "color",
        "$description": "Borders / quiet dividers on dark canvas."
      },
      "primary-solid-44": {
        "$value": "#707070",
        "$type": "color",
        "$description": "Tertiary text on dark canvas."
      },
      "primary-solid-60": {
        "$value": "#999999",
        "$type": "color",
        "$description": "Secondary text on dark canvas."
      },
      "primary-solid-80": {
        "$value": "#CCCCCC",
        "$type": "color",
        "$description": "Primary muted text on dark canvas."
      },
      "secondary-solid-4": {
        "$value": "#F5F5F5",
        "$type": "color",
        "$description": "Subtle elevated surface on light canvas."
      },
      "secondary-solid-12": {
        "$value": "#E0E0E0",
        "$type": "color",
        "$description": "Borders / quiet dividers on light canvas."
      },
      "secondary-solid-44": {
        "$value": "#8F8F8F",
        "$type": "color",
        "$description": "Tertiary text on light canvas."
      },
      "secondary-solid-60": {
        "$value": "#666666",
        "$type": "color",
        "$description": "Secondary text on light canvas."
      },
      "secondary-solid-80": {
        "$value": "#333333",
        "$type": "color",
        "$description": "Body text on light canvas."
      },
      "tertiary-solid-60": {
        "$value": "#888888",
        "$type": "color",
        "$description": "Mid-tone neutral."
      },
      "tertiary-solid-80": {
        "$value": "#5C5C5C",
        "$type": "color",
        "$description": "Deep neutral."
      },
      "tertiary-solid-100": {
        "$value": "#1F1F1F",
        "$type": "color",
        "$description": "Near-black accent."
      },
      "openai-hue-red": {
        "$value": "#ED6079",
        "$type": "color",
        "$description": "Hue ramp red — used in data viz and code syntax."
      },
      "openai-hue-lime": {
        "$value": "#8FAC39",
        "$type": "color"
      },
      "openai-hue-magenta": {
        "$value": "#C759AB",
        "$type": "color"
      },
      "openai-hue-blue": {
        "$value": "#36A6D7",
        "$type": "color"
      },
      "openai-hue-yellow": {
        "$value": "#E2A727",
        "$type": "color"
      },
      "openai-accent-blue": {
        "$value": "#4DA3FF",
        "$type": "color",
        "$description": "Documented `--color-supply-accent-color` — link / interactive blue."
      }
    },
    "roles": {
      "$description": "Semantic color roles (light mode) mapped to palette swatches",
      "background": {
        "$value": "{color.swatches.openai-white}",
        "$type": "color",
        "$description": "background role → OpenAI White"
      },
      "surface": {
        "$value": "{color.swatches.secondary-solid-4}",
        "$type": "color",
        "$description": "surface role → Secondary Solid 4"
      },
      "surface-elevated": {
        "$value": "{color.swatches.openai-white}",
        "$type": "color",
        "$description": "surface-elevated role → OpenAI White"
      },
      "text-primary": {
        "$value": "{color.swatches.openai-black}",
        "$type": "color",
        "$description": "text-primary role → OpenAI Black"
      },
      "text-secondary": {
        "$value": "{color.swatches.secondary-solid-60}",
        "$type": "color",
        "$description": "text-secondary role → Secondary Solid 60"
      },
      "text-tertiary": {
        "$value": "{color.swatches.secondary-solid-44}",
        "$type": "color",
        "$description": "text-tertiary role → Secondary Solid 44"
      },
      "primary": {
        "$value": "{color.swatches.openai-black}",
        "$type": "color",
        "$description": "primary role → OpenAI Black"
      },
      "primary-hover": {
        "$value": "{color.swatches.secondary-solid-80}",
        "$type": "color",
        "$description": "primary-hover role → Secondary Solid 80"
      },
      "accent": {
        "$value": "{color.swatches.openai-accent-blue}",
        "$type": "color",
        "$description": "accent role → OpenAI Accent Blue"
      },
      "accent-hover": {
        "$value": "{color.swatches.openai-hue-blue}",
        "$type": "color",
        "$description": "accent-hover role → OpenAI Hue Blue"
      },
      "warning": {
        "$value": "{color.swatches.openai-hue-yellow}",
        "$type": "color",
        "$description": "warning role → OpenAI Hue Yellow"
      },
      "warning-hover": {
        "$value": "{color.swatches.openai-hue-yellow}",
        "$type": "color",
        "$description": "warning-hover role → OpenAI Hue Yellow"
      },
      "error": {
        "$value": "{color.swatches.openai-hue-red}",
        "$type": "color",
        "$description": "error role → OpenAI Hue Red"
      },
      "success": {
        "$value": "{color.swatches.openai-hue-lime}",
        "$type": "color",
        "$description": "success role → OpenAI Hue Lime"
      },
      "border": {
        "$value": "{color.swatches.secondary-solid-12}",
        "$type": "color",
        "$description": "border role → Secondary Solid 12"
      },
      "brand-overrides": {
        "$description": "Brand-level role overrides (take precedence over palette role mappings)",
        "identity": {
          "$value": "{color.swatches.openai-black}",
          "$type": "color",
          "$description": "Brand role identity → OpenAI Black"
        },
        "on-identity": {
          "$value": "{color.swatches.openai-white}",
          "$type": "color",
          "$description": "Brand role on-identity → OpenAI White"
        },
        "primary": {
          "$value": "{color.swatches.openai-black}",
          "$type": "color",
          "$description": "Brand role primary → OpenAI Black"
        },
        "primary-hover": {
          "$value": "{color.swatches.secondary-solid-80}",
          "$type": "color",
          "$description": "Brand role primary-hover → Secondary Solid 80"
        },
        "accent": {
          "$value": "{color.swatches.openai-accent-blue}",
          "$type": "color",
          "$description": "Brand role accent → OpenAI Accent Blue"
        },
        "accent-hover": {
          "$value": "{color.swatches.openai-hue-blue}",
          "$type": "color",
          "$description": "Brand role accent-hover → OpenAI Hue Blue"
        },
        "success": {
          "$value": "{color.swatches.openai-hue-lime}",
          "$type": "color",
          "$description": "Brand role success → OpenAI Hue Lime"
        },
        "warning": {
          "$value": "{color.swatches.openai-hue-yellow}",
          "$type": "color",
          "$description": "Brand role warning → OpenAI Hue Yellow"
        },
        "error": {
          "$value": "{color.swatches.openai-hue-red}",
          "$type": "color",
          "$description": "Brand role error → OpenAI Hue Red"
        },
        "text-primary-light": {
          "$value": "{color.swatches.openai-black}",
          "$type": "color",
          "$description": "Brand role text-primary-light → OpenAI Black"
        },
        "text-primary-dark": {
          "$value": "{color.swatches.openai-white}",
          "$type": "color",
          "$description": "Brand role text-primary-dark → OpenAI White"
        },
        "background-light": {
          "$value": "{color.swatches.openai-white}",
          "$type": "color",
          "$description": "Brand role background-light → OpenAI White"
        },
        "background-dark": {
          "$value": "{color.swatches.openai-black}",
          "$type": "color",
          "$description": "Brand role background-dark → OpenAI Black"
        },
        "surface-light": {
          "$value": "{color.swatches.secondary-solid-4}",
          "$type": "color",
          "$description": "Brand role surface-light → Secondary Solid 4"
        },
        "surface-dark": {
          "$value": "{color.swatches.primary-solid-4}",
          "$type": "color",
          "$description": "Brand role surface-dark → Primary Solid 4"
        }
      }
    }
  },
  "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"
      }
    }
  }
}
