{
  "$description": "Brand: Slack — dark mode",
  "color": {
    "swatches": {
      "$description": "Source-of-truth color swatches from palette slack@1.0.0",
      "aubergine": {
        "$value": "#4A154B",
        "$type": "color",
        "$description": "Signature deep-purple corporate color. The institutional voice of the brand — used for the wordmark on light backgrounds, primary typographic blocks, and the brand's identity surfaces.\n"
      },
      "slack-green": {
        "$value": "#2EB67D",
        "$type": "color",
        "$description": "Top-right quadrant of the Slack mark. Success / positive accent."
      },
      "slack-blue": {
        "$value": "#36C5F0",
        "$type": "color",
        "$description": "Bottom-right quadrant of the Slack mark. Cool informational accent."
      },
      "slack-yellow": {
        "$value": "#ECB22E",
        "$type": "color",
        "$description": "Bottom-left quadrant of the Slack mark. Warm attention / warning accent."
      },
      "slack-red": {
        "$value": "#E01E5A",
        "$type": "color",
        "$description": "Top-left quadrant of the Slack mark. Hot pink-red used for errors and emphasis."
      },
      "slack-white": {
        "$value": "#FFFFFF",
        "$type": "color",
        "$description": "Page background on light surfaces; reversed wordmark fill on aubergine."
      },
      "slack-black": {
        "$value": "#1D1C1D",
        "$type": "color",
        "$description": "Near-black body text on light backgrounds; canvas on dark surfaces."
      },
      "slack-surface-light": {
        "$value": "#F4F4F4",
        "$type": "color",
        "$description": "Subtle panel surface on light mode."
      },
      "slack-surface-dark": {
        "$value": "#2C2D30",
        "$type": "color",
        "$description": "Elevated surface on dark mode (sidebar / channels surface)."
      },
      "slack-text-secondary": {
        "$value": "#616061",
        "$type": "color",
        "$description": "Secondary text on light backgrounds."
      },
      "slack-text-tertiary": {
        "$value": "#868686",
        "$type": "color",
        "$description": "Tertiary / muted text."
      },
      "slack-text-on-dark-secondary": {
        "$value": "#ABABAD",
        "$type": "color",
        "$description": "Secondary text on dark backgrounds."
      }
    },
    "roles": {
      "$description": "Semantic color roles (dark mode) mapped to palette swatches",
      "background": {
        "$value": "{color.swatches.aubergine}",
        "$type": "color",
        "$description": "background role → Slack Aubergine"
      },
      "surface": {
        "$value": "{color.swatches.slack-surface-dark}",
        "$type": "color",
        "$description": "surface role → Slack Surface Dark"
      },
      "surface-elevated": {
        "$value": "{color.swatches.slack-black}",
        "$type": "color",
        "$description": "surface-elevated role → Slack Black"
      },
      "text-primary": {
        "$value": "{color.swatches.slack-white}",
        "$type": "color",
        "$description": "text-primary role → Slack White"
      },
      "text-secondary": {
        "$value": "{color.swatches.slack-text-on-dark-secondary}",
        "$type": "color",
        "$description": "text-secondary role → Slack Text Secondary (Dark)"
      },
      "text-tertiary": {
        "$value": "{color.swatches.slack-text-tertiary}",
        "$type": "color",
        "$description": "text-tertiary role → Slack Text Tertiary"
      },
      "primary": {
        "$value": "{color.swatches.slack-blue}",
        "$type": "color",
        "$description": "primary role → Slack Blue"
      },
      "primary-hover": {
        "$value": "{color.swatches.slack-blue}",
        "$type": "color",
        "$description": "primary-hover role → Slack Blue"
      },
      "accent": {
        "$value": "{color.swatches.slack-green}",
        "$type": "color",
        "$description": "accent role → Slack Green"
      },
      "accent-hover": {
        "$value": "{color.swatches.slack-green}",
        "$type": "color",
        "$description": "accent-hover role → Slack Green"
      },
      "warning": {
        "$value": "{color.swatches.slack-yellow}",
        "$type": "color",
        "$description": "warning role → Slack Yellow"
      },
      "warning-hover": {
        "$value": "{color.swatches.slack-yellow}",
        "$type": "color",
        "$description": "warning-hover role → Slack Yellow"
      },
      "error": {
        "$value": "{color.swatches.slack-red}",
        "$type": "color",
        "$description": "error role → Slack Red"
      },
      "success": {
        "$value": "{color.swatches.slack-green}",
        "$type": "color",
        "$description": "success role → Slack Green"
      },
      "brand-overrides": {
        "$description": "Brand-level role overrides (take precedence over palette role mappings)",
        "identity": {
          "$value": "{color.swatches.aubergine}",
          "$type": "color",
          "$description": "Brand role identity → Slack Aubergine"
        },
        "on-identity": {
          "$value": "{color.swatches.slack-white}",
          "$type": "color",
          "$description": "Brand role on-identity → Slack White"
        },
        "primary": {
          "$value": "{color.swatches.aubergine}",
          "$type": "color",
          "$description": "Brand role primary → Slack Aubergine"
        },
        "primary-hover": {
          "$value": "{color.swatches.aubergine}",
          "$type": "color",
          "$description": "Brand role primary-hover → Slack Aubergine"
        },
        "accent": {
          "$value": "{color.swatches.slack-green}",
          "$type": "color",
          "$description": "Brand role accent → Slack Green"
        },
        "accent-hover": {
          "$value": "{color.swatches.slack-green}",
          "$type": "color",
          "$description": "Brand role accent-hover → Slack Green"
        },
        "accent-blue": {
          "$value": "{color.swatches.slack-blue}",
          "$type": "color",
          "$description": "Brand role accent-blue → Slack Blue"
        },
        "accent-yellow": {
          "$value": "{color.swatches.slack-yellow}",
          "$type": "color",
          "$description": "Brand role accent-yellow → Slack Yellow"
        },
        "accent-red": {
          "$value": "{color.swatches.slack-red}",
          "$type": "color",
          "$description": "Brand role accent-red → Slack Red"
        },
        "success": {
          "$value": "{color.swatches.slack-green}",
          "$type": "color",
          "$description": "Brand role success → Slack Green"
        },
        "warning": {
          "$value": "{color.swatches.slack-yellow}",
          "$type": "color",
          "$description": "Brand role warning → Slack Yellow"
        },
        "error": {
          "$value": "{color.swatches.slack-red}",
          "$type": "color",
          "$description": "Brand role error → Slack Red"
        },
        "background-light": {
          "$value": "{color.swatches.slack-white}",
          "$type": "color",
          "$description": "Brand role background-light → Slack White"
        },
        "background-dark": {
          "$value": "{color.swatches.aubergine}",
          "$type": "color",
          "$description": "Brand role background-dark → Slack Aubergine"
        },
        "surface-light": {
          "$value": "{color.swatches.slack-surface-light}",
          "$type": "color",
          "$description": "Brand role surface-light → Slack Surface Light"
        },
        "surface-dark": {
          "$value": "{color.swatches.slack-surface-dark}",
          "$type": "color",
          "$description": "Brand role surface-dark → Slack Surface Dark"
        },
        "text-primary-light": {
          "$value": "{color.swatches.slack-black}",
          "$type": "color",
          "$description": "Brand role text-primary-light → Slack Black"
        },
        "text-primary-dark": {
          "$value": "{color.swatches.slack-white}",
          "$type": "color",
          "$description": "Brand role text-primary-dark → Slack White"
        }
      }
    }
  },
  "font": {
    "$description": "Typography roles mapped to font atoms",
    "heading": {
      "family": {
        "$value": [
          "Slack Sans",
          "Lato",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "heading role → Slack Sans (slack-sans@1.0.0)"
      },
      "weight": {
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "500": {
          "$value": 500,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$type": "fontWeight"
        },
        "900": {
          "$value": 900,
          "$type": "fontWeight"
        },
        "$description": "Available font weights"
      }
    },
    "body": {
      "family": {
        "$value": [
          "Slack Sans",
          "Lato",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "body role → Slack Sans (slack-sans@1.0.0)"
      },
      "weight": {
        "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"
      }
    }
  }
}
