{
  "$description": "Brand: Gmail — dark mode",
  "color": {
    "swatches": {
      "$description": "Source-of-truth color swatches from palette gmail@1.0.0",
      "gmail-red": {
        "$value": "#EA4335",
        "$type": "color",
        "$description": "Right downstroke of the Gmail \"M\" envelope. Google Red / Material Red 500 — the canonical Google four-color red.\n"
      },
      "gmail-crimson": {
        "$value": "#C5221F",
        "$type": "color",
        "$description": "Deeper red used for the envelope interior fold in the 2020 Gmail icon. Provides depth between the outer Red and the inner envelope face.\n"
      },
      "gmail-yellow": {
        "$value": "#FBBC04",
        "$type": "color",
        "$description": "Right-of-center valley of the \"M\". Google Yellow / Material Yellow 600 — used for highlight and starred states inside the Gmail UI.\n"
      },
      "gmail-green": {
        "$value": "#34A853",
        "$type": "color",
        "$description": "Left-of-center valley of the \"M\". Google Green / Material Green 500 — used as the canonical success / send-confirmed hue in Gmail product chrome.\n"
      },
      "gmail-blue": {
        "$value": "#4285F4",
        "$type": "color",
        "$description": "Left downstroke of the \"M\". Google Blue / Material Blue 500 — Gmail's primary action color (Compose button, link affordance).\n"
      },
      "gmail-grey-900": {
        "$value": "#202124",
        "$type": "color",
        "$description": "Primary text on light surfaces; near-black drawn from Material Grey 900 to match the Google parent.\n"
      },
      "gmail-grey-700": {
        "$value": "#5F6368",
        "$type": "color",
        "$description": "Secondary text and inactive icons (Material Grey 700)."
      },
      "gmail-grey-200": {
        "$value": "#E8EAED",
        "$type": "color",
        "$description": "Divider and subtle surface tint (Material Grey 200)."
      },
      "gmail-grey-100": {
        "$value": "#F1F3F4",
        "$type": "color",
        "$description": "Page-level background — Gmail's product chrome uses this warm light-grey as the inbox canvas.\n"
      },
      "gmail-white": {
        "$value": "#FFFFFF",
        "$type": "color",
        "$description": "Base background and reversed surface fill."
      }
    },
    "roles": {
      "$description": "Semantic color roles (dark mode) mapped to palette swatches",
      "background": {
        "$value": "{color.swatches.gmail-grey-900}",
        "$type": "color",
        "$description": "background role → Gmail Grey 900"
      },
      "surface": {
        "$value": "{color.swatches.gmail-grey-700}",
        "$type": "color",
        "$description": "surface role → Gmail Grey 700"
      },
      "surface-elevated": {
        "$value": "{color.swatches.gmail-grey-700}",
        "$type": "color",
        "$description": "surface-elevated role → Gmail Grey 700"
      },
      "text-primary": {
        "$value": "{color.swatches.gmail-white}",
        "$type": "color",
        "$description": "text-primary role → Gmail White"
      },
      "text-secondary": {
        "$value": "{color.swatches.gmail-grey-200}",
        "$type": "color",
        "$description": "text-secondary role → Gmail Grey 200"
      },
      "primary": {
        "$value": "{color.swatches.gmail-blue}",
        "$type": "color",
        "$description": "primary role → Gmail Blue"
      },
      "primary-hover": {
        "$value": "{color.swatches.gmail-blue}",
        "$type": "color",
        "$description": "primary-hover role → Gmail Blue"
      },
      "accent": {
        "$value": "{color.swatches.gmail-red}",
        "$type": "color",
        "$description": "accent role → Gmail Red"
      },
      "accent-hover": {
        "$value": "{color.swatches.gmail-crimson}",
        "$type": "color",
        "$description": "accent-hover role → Gmail Crimson"
      },
      "warning": {
        "$value": "{color.swatches.gmail-yellow}",
        "$type": "color",
        "$description": "warning role → Gmail Yellow"
      },
      "warning-hover": {
        "$value": "{color.swatches.gmail-yellow}",
        "$type": "color",
        "$description": "warning-hover role → Gmail Yellow"
      },
      "error": {
        "$value": "{color.swatches.gmail-red}",
        "$type": "color",
        "$description": "error role → Gmail Red"
      },
      "success": {
        "$value": "{color.swatches.gmail-green}",
        "$type": "color",
        "$description": "success role → Gmail Green"
      },
      "border": {
        "$value": "{color.swatches.gmail-grey-700}",
        "$type": "color",
        "$description": "border role → Gmail Grey 700"
      },
      "brand-overrides": {
        "$description": "Brand-level role overrides (take precedence over palette role mappings)",
        "identity": {
          "$value": "{color.swatches.gmail-red}",
          "$type": "color",
          "$description": "Brand role identity → Gmail Red"
        },
        "on-identity": {
          "$value": "{color.swatches.gmail-white}",
          "$type": "color",
          "$description": "Brand role on-identity → Gmail White"
        },
        "primary": {
          "$value": "{color.swatches.gmail-blue}",
          "$type": "color",
          "$description": "Brand role primary → Gmail Blue"
        },
        "primary-hover": {
          "$value": "{color.swatches.gmail-blue}",
          "$type": "color",
          "$description": "Brand role primary-hover → Gmail Blue"
        },
        "accent": {
          "$value": "{color.swatches.gmail-red}",
          "$type": "color",
          "$description": "Brand role accent → Gmail Red"
        },
        "accent-hover": {
          "$value": "{color.swatches.gmail-crimson}",
          "$type": "color",
          "$description": "Brand role accent-hover → Gmail Crimson"
        },
        "mark-outer": {
          "$value": "{color.swatches.gmail-red}",
          "$type": "color",
          "$description": "Brand role mark-outer → Gmail Red"
        },
        "mark-inner": {
          "$value": "{color.swatches.gmail-crimson}",
          "$type": "color",
          "$description": "Brand role mark-inner → Gmail Crimson"
        },
        "mark-blue": {
          "$value": "{color.swatches.gmail-blue}",
          "$type": "color",
          "$description": "Brand role mark-blue → Gmail Blue"
        },
        "mark-green": {
          "$value": "{color.swatches.gmail-green}",
          "$type": "color",
          "$description": "Brand role mark-green → Gmail Green"
        },
        "mark-yellow": {
          "$value": "{color.swatches.gmail-yellow}",
          "$type": "color",
          "$description": "Brand role mark-yellow → Gmail Yellow"
        },
        "background": {
          "$value": "{color.swatches.gmail-white}",
          "$type": "color",
          "$description": "Brand role background → Gmail White"
        },
        "surface": {
          "$value": "{color.swatches.gmail-grey-100}",
          "$type": "color",
          "$description": "Brand role surface → Gmail Grey 100"
        },
        "text-primary": {
          "$value": "{color.swatches.gmail-grey-900}",
          "$type": "color",
          "$description": "Brand role text-primary → Gmail Grey 900"
        },
        "text-secondary": {
          "$value": "{color.swatches.gmail-grey-700}",
          "$type": "color",
          "$description": "Brand role text-secondary → Gmail Grey 700"
        },
        "error": {
          "$value": "{color.swatches.gmail-red}",
          "$type": "color",
          "$description": "Brand role error → Gmail Red"
        },
        "success": {
          "$value": "{color.swatches.gmail-green}",
          "$type": "color",
          "$description": "Brand role success → Gmail Green"
        },
        "warning": {
          "$value": "{color.swatches.gmail-yellow}",
          "$type": "color",
          "$description": "Brand role warning → Gmail Yellow"
        }
      }
    }
  },
  "font": {
    "$description": "Typography roles mapped to font atoms",
    "heading": {
      "family": {
        "$value": [
          "Google Sans",
          "Roboto",
          "Inter",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "heading role → Google Sans (google-sans@1.0.0)"
      },
      "weight": {
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "500": {
          "$value": 500,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$type": "fontWeight"
        },
        "$description": "Available font weights"
      }
    },
    "body": {
      "family": {
        "$value": [
          "Roboto",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "body role → Roboto (roboto@1.0.0)"
      },
      "weight": {
        "100": {
          "$value": 100,
          "$type": "fontWeight"
        },
        "300": {
          "$value": 300,
          "$type": "fontWeight"
        },
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "500": {
          "$value": 500,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$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"
      }
    }
  }
}
