{
  "$description": "Brand: Meta — dark mode",
  "color": {
    "swatches": {
      "$description": "Source-of-truth color swatches from palette meta@1.0.0",
      "meta-blue": {
        "$value": "#0668E1",
        "$type": "color",
        "$description": "Primary Meta brand blue — the Meta wordmark and corporate mark color."
      },
      "meta-blue-dark": {
        "$value": "#1877F2",
        "$type": "color",
        "$description": "Facebook product blue — adjacent Meta brand-family color; used on Facebook product surfaces."
      },
      "meta-vivid-blue": {
        "$value": "#0064E0",
        "$type": "color",
        "$description": "Vivid blue from the Meta gradient palette — used in motion and editorial accent."
      },
      "meta-vivid-green": {
        "$value": "#00C853",
        "$type": "color",
        "$description": "Vivid green from the Meta corporate gradient palette."
      },
      "meta-vivid-red": {
        "$value": "#F02849",
        "$type": "color",
        "$description": "Vivid red from the Meta corporate gradient palette."
      },
      "meta-vivid-purple": {
        "$value": "#7E4BFF",
        "$type": "color",
        "$description": "Vivid purple from the Meta corporate gradient palette."
      },
      "meta-black": {
        "$value": "#000000",
        "$type": "color",
        "$description": "Headline ink and dark-mode canvas."
      },
      "meta-ink": {
        "$value": "#1C2B33",
        "$type": "color",
        "$description": "Primary text on light surfaces — softer than pure black."
      },
      "meta-gray": {
        "$value": "#65676B",
        "$type": "color",
        "$description": "Secondary text and metadata on the light canvas."
      },
      "meta-gray-light": {
        "$value": "#8A8D91",
        "$type": "color",
        "$description": "Tertiary text and dividers."
      },
      "meta-surface": {
        "$value": "#F0F2F5",
        "$type": "color",
        "$description": "Quiet surface — Facebook-family content cards and feed backgrounds."
      },
      "meta-white": {
        "$value": "#FFFFFF",
        "$type": "color",
        "$description": "Primary canvas on light corporate surfaces."
      }
    },
    "roles": {
      "$description": "Semantic color roles (dark mode) mapped to palette swatches",
      "background": {
        "$value": "{color.swatches.meta-black}",
        "$type": "color",
        "$description": "background role → Meta Black"
      },
      "surface": {
        "$value": "{color.swatches.meta-ink}",
        "$type": "color",
        "$description": "surface role → Meta Ink"
      },
      "surface-elevated": {
        "$value": "{color.swatches.meta-gray}",
        "$type": "color",
        "$description": "surface-elevated role → Meta Gray"
      },
      "text-primary": {
        "$value": "{color.swatches.meta-white}",
        "$type": "color",
        "$description": "text-primary role → Meta White"
      },
      "text-secondary": {
        "$value": "{color.swatches.meta-surface}",
        "$type": "color",
        "$description": "text-secondary role → Meta Surface"
      },
      "text-tertiary": {
        "$value": "{color.swatches.meta-gray-light}",
        "$type": "color",
        "$description": "text-tertiary role → Meta Gray Light"
      },
      "primary": {
        "$value": "{color.swatches.meta-blue}",
        "$type": "color",
        "$description": "primary role → Meta Blue"
      },
      "primary-hover": {
        "$value": "{color.swatches.meta-blue-dark}",
        "$type": "color",
        "$description": "primary-hover role → Meta Blue Dark"
      },
      "accent": {
        "$value": "{color.swatches.meta-vivid-purple}",
        "$type": "color",
        "$description": "accent role → Meta Vivid Purple"
      },
      "accent-hover": {
        "$value": "{color.swatches.meta-vivid-blue}",
        "$type": "color",
        "$description": "accent-hover role → Meta Vivid Blue"
      },
      "warning": {
        "$value": "{color.swatches.meta-vivid-red}",
        "$type": "color",
        "$description": "warning role → Meta Vivid Red"
      },
      "warning-hover": {
        "$value": "{color.swatches.meta-vivid-red}",
        "$type": "color",
        "$description": "warning-hover role → Meta Vivid Red"
      },
      "error": {
        "$value": "{color.swatches.meta-vivid-red}",
        "$type": "color",
        "$description": "error role → Meta Vivid Red"
      },
      "success": {
        "$value": "{color.swatches.meta-vivid-green}",
        "$type": "color",
        "$description": "success role → Meta Vivid Green"
      },
      "brand-overrides": {
        "$description": "Brand-level role overrides (take precedence over palette role mappings)",
        "identity": {
          "$value": "{color.swatches.meta-blue}",
          "$type": "color",
          "$description": "Brand role identity → Meta Blue"
        },
        "on-identity": {
          "$value": "{color.swatches.meta-white}",
          "$type": "color",
          "$description": "Brand role on-identity → Meta White"
        },
        "background": {
          "$value": "{color.swatches.meta-white}",
          "$type": "color",
          "$description": "Brand role background → Meta White"
        },
        "surface": {
          "$value": "{color.swatches.meta-surface}",
          "$type": "color",
          "$description": "Brand role surface → Meta Surface"
        },
        "surface-elevated": {
          "$value": "{color.swatches.meta-white}",
          "$type": "color",
          "$description": "Brand role surface-elevated → Meta White"
        },
        "text-primary": {
          "$value": "{color.swatches.meta-ink}",
          "$type": "color",
          "$description": "Brand role text-primary → Meta Ink"
        },
        "text-secondary": {
          "$value": "{color.swatches.meta-gray}",
          "$type": "color",
          "$description": "Brand role text-secondary → Meta Gray"
        },
        "text-tertiary": {
          "$value": "{color.swatches.meta-gray-light}",
          "$type": "color",
          "$description": "Brand role text-tertiary → Meta Gray Light"
        },
        "primary": {
          "$value": "{color.swatches.meta-blue}",
          "$type": "color",
          "$description": "Brand role primary → Meta Blue"
        },
        "primary-hover": {
          "$value": "{color.swatches.meta-vivid-blue}",
          "$type": "color",
          "$description": "Brand role primary-hover → Meta Vivid Blue"
        },
        "accent": {
          "$value": "{color.swatches.meta-vivid-purple}",
          "$type": "color",
          "$description": "Brand role accent → Meta Vivid Purple"
        },
        "accent-hover": {
          "$value": "{color.swatches.meta-vivid-blue}",
          "$type": "color",
          "$description": "Brand role accent-hover → Meta Vivid Blue"
        },
        "mark": {
          "$value": "{color.swatches.meta-blue}",
          "$type": "color",
          "$description": "Brand role mark → Meta Blue"
        },
        "text-emphasis": {
          "$value": "{color.swatches.meta-ink}",
          "$type": "color",
          "$description": "Brand role text-emphasis → Meta Ink"
        },
        "text-muted": {
          "$value": "{color.swatches.meta-gray}",
          "$type": "color",
          "$description": "Brand role text-muted → Meta Gray"
        }
      }
    }
  },
  "font": {
    "$description": "Typography roles mapped to font atoms",
    "heading": {
      "family": {
        "$value": [
          "Meta Sans",
          "Inter",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "heading role → Meta Sans (meta-sans@1.0.0)"
      },
      "weight": {
        "300": {
          "$value": 300,
          "$type": "fontWeight"
        },
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "500": {
          "$value": 500,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$type": "fontWeight"
        },
        "$description": "Available font weights"
      }
    },
    "body": {
      "family": {
        "$value": [
          "Meta Sans",
          "Inter",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "body role → Meta Sans (meta-sans@1.0.0)"
      },
      "weight": {
        "300": {
          "$value": 300,
          "$type": "fontWeight"
        },
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "500": {
          "$value": 500,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$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"
      }
    }
  }
}
