{
  "$description": "Brand: Microsoft — dark mode",
  "color": {
    "swatches": {
      "$description": "Source-of-truth color swatches from palette microsoft@1.0.0",
      "microsoft-red": {
        "$value": "#F25022",
        "$type": "color",
        "$description": "Top-left quadrant of the Microsoft four-square logo. Used for Office, PowerPoint, and the warm corner of the corporate mark.\n"
      },
      "microsoft-green": {
        "$value": "#7FBA00",
        "$type": "color",
        "$description": "Top-right quadrant. Associated with Excel and the productivity side of the brand. (Sometimes also documented as #7CBB00.)\n"
      },
      "microsoft-blue": {
        "$value": "#00A4EF",
        "$type": "color",
        "$description": "Bottom-left quadrant of the logo — Windows blue, lighter than the Communications primary.\n"
      },
      "microsoft-yellow": {
        "$value": "#FFB900",
        "$type": "color",
        "$description": "Bottom-right quadrant. Often associated with Microsoft Build / developer surfaces.\n"
      },
      "communications-blue": {
        "$value": "#0078D4",
        "$type": "color",
        "$description": "Microsoft's primary communications blue — the Fluent system primary used across Microsoft 365, the corporate site, and product UI chrome.\n"
      },
      "microsoft-black": {
        "$value": "#000000",
        "$type": "color",
        "$description": "Wordmark fill and primary text on light backgrounds."
      },
      "microsoft-near-black": {
        "$value": "#1F1F1F",
        "$type": "color",
        "$description": "Softer near-black for body text and dark surfaces."
      },
      "microsoft-gray-160": {
        "$value": "#605E5C",
        "$type": "color",
        "$description": "Secondary text and inactive UI (Fluent Neutral Foreground 2)."
      },
      "microsoft-gray-130": {
        "$value": "#8A8886",
        "$type": "color",
        "$description": "Tertiary text and dividers (Fluent Neutral Foreground 3)."
      },
      "microsoft-gray-30": {
        "$value": "#EDEBE9",
        "$type": "color",
        "$description": "Subtle surface tint (Fluent Neutral Background 3)."
      },
      "microsoft-gray-20": {
        "$value": "#F3F2F1",
        "$type": "color",
        "$description": "Page-level background (Fluent Neutral Background 2)."
      },
      "microsoft-white": {
        "$value": "#FFFFFF",
        "$type": "color",
        "$description": "Base background and reversed text on chromatic surfaces."
      }
    },
    "roles": {
      "$description": "Semantic color roles (dark mode) mapped to palette swatches",
      "background": {
        "$value": "{color.swatches.microsoft-near-black}",
        "$type": "color",
        "$description": "background role → Microsoft Near-Black"
      },
      "surface": {
        "$value": "{color.swatches.microsoft-black}",
        "$type": "color",
        "$description": "surface role → Microsoft Black"
      },
      "surface-elevated": {
        "$value": "{color.swatches.microsoft-gray-160}",
        "$type": "color",
        "$description": "surface-elevated role → Microsoft Gray 160"
      },
      "text-primary": {
        "$value": "{color.swatches.microsoft-white}",
        "$type": "color",
        "$description": "text-primary role → Microsoft White"
      },
      "text-secondary": {
        "$value": "{color.swatches.microsoft-gray-30}",
        "$type": "color",
        "$description": "text-secondary role → Microsoft Gray 30"
      },
      "text-tertiary": {
        "$value": "{color.swatches.microsoft-gray-130}",
        "$type": "color",
        "$description": "text-tertiary role → Microsoft Gray 130"
      },
      "primary": {
        "$value": "{color.swatches.microsoft-blue}",
        "$type": "color",
        "$description": "primary role → Microsoft Blue (Logo)"
      },
      "primary-hover": {
        "$value": "{color.swatches.communications-blue}",
        "$type": "color",
        "$description": "primary-hover role → Communications Blue"
      },
      "accent": {
        "$value": "{color.swatches.communications-blue}",
        "$type": "color",
        "$description": "accent role → Communications Blue"
      },
      "accent-hover": {
        "$value": "{color.swatches.microsoft-blue}",
        "$type": "color",
        "$description": "accent-hover role → Microsoft Blue (Logo)"
      },
      "warning": {
        "$value": "{color.swatches.microsoft-yellow}",
        "$type": "color",
        "$description": "warning role → Microsoft Yellow"
      },
      "warning-hover": {
        "$value": "{color.swatches.microsoft-red}",
        "$type": "color",
        "$description": "warning-hover role → Microsoft Red"
      },
      "error": {
        "$value": "{color.swatches.microsoft-red}",
        "$type": "color",
        "$description": "error role → Microsoft Red"
      },
      "success": {
        "$value": "{color.swatches.microsoft-green}",
        "$type": "color",
        "$description": "success role → Microsoft Green"
      },
      "brand-overrides": {
        "$description": "Brand-level role overrides (take precedence over palette role mappings)",
        "identity": {
          "$value": "{color.swatches.communications-blue}",
          "$type": "color",
          "$description": "Brand role identity → Communications Blue"
        },
        "on-identity": {
          "$value": "{color.swatches.microsoft-white}",
          "$type": "color",
          "$description": "Brand role on-identity → Microsoft White"
        },
        "primary": {
          "$value": "{color.swatches.communications-blue}",
          "$type": "color",
          "$description": "Brand role primary → Communications Blue"
        },
        "primary-hover": {
          "$value": "{color.swatches.microsoft-blue}",
          "$type": "color",
          "$description": "Brand role primary-hover → Microsoft Blue (Logo)"
        },
        "accent": {
          "$value": "{color.swatches.microsoft-blue}",
          "$type": "color",
          "$description": "Brand role accent → Microsoft Blue (Logo)"
        },
        "background": {
          "$value": "{color.swatches.microsoft-white}",
          "$type": "color",
          "$description": "Brand role background → Microsoft White"
        },
        "surface": {
          "$value": "{color.swatches.microsoft-gray-20}",
          "$type": "color",
          "$description": "Brand role surface → Microsoft Gray 20"
        },
        "text-primary": {
          "$value": "{color.swatches.microsoft-near-black}",
          "$type": "color",
          "$description": "Brand role text-primary → Microsoft Near-Black"
        },
        "text-secondary": {
          "$value": "{color.swatches.microsoft-gray-160}",
          "$type": "color",
          "$description": "Brand role text-secondary → Microsoft Gray 160"
        },
        "logo-quadrant-red": {
          "$value": "{color.swatches.microsoft-red}",
          "$type": "color",
          "$description": "Brand role logo-quadrant-red → Microsoft Red"
        },
        "logo-quadrant-green": {
          "$value": "{color.swatches.microsoft-green}",
          "$type": "color",
          "$description": "Brand role logo-quadrant-green → Microsoft Green"
        },
        "logo-quadrant-blue": {
          "$value": "{color.swatches.microsoft-blue}",
          "$type": "color",
          "$description": "Brand role logo-quadrant-blue → Microsoft Blue (Logo)"
        },
        "logo-quadrant-yellow": {
          "$value": "{color.swatches.microsoft-yellow}",
          "$type": "color",
          "$description": "Brand role logo-quadrant-yellow → Microsoft Yellow"
        }
      }
    }
  },
  "font": {
    "$description": "Typography roles mapped to font atoms",
    "heading": {
      "family": {
        "$value": [
          "Segoe UI",
          "system-ui",
          "Inter",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "heading role → Segoe UI (segoe-ui@1.0.0)"
      },
      "weight": {
        "300": {
          "$value": 300,
          "$type": "fontWeight"
        },
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "600": {
          "$value": 600,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$type": "fontWeight"
        },
        "$description": "Available font weights"
      }
    },
    "body": {
      "family": {
        "$value": [
          "Segoe UI",
          "system-ui",
          "Inter",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "body role → Segoe UI (segoe-ui@1.0.0)"
      },
      "weight": {
        "300": {
          "$value": 300,
          "$type": "fontWeight"
        },
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "600": {
          "$value": 600,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$type": "fontWeight"
        },
        "$description": "Available font weights"
      }
    },
    "mono": {
      "family": {
        "$value": [
          "CaskaydiaCove Nerd Font",
          "Cascadia Code",
          "JetBrains Mono",
          "Menlo",
          "Monaco",
          "Consolas",
          "Liberation Mono",
          "monospace"
        ],
        "$type": "fontFamily",
        "$description": "mono role → CascadiaCode Nerd Font (cascadiacode-nerdfont@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"
        },
        "$description": "Available font weights"
      }
    }
  }
}
