{
  "$description": "Brand: TikTok — dark mode",
  "color": {
    "swatches": {
      "$description": "Source-of-truth color swatches from palette tiktok@1.0.0",
      "tiktok-red": {
        "$value": "#FE2C55",
        "$type": "color",
        "$description": "Signature warm red — the red-channel anchor of the chromatic mark and a primary brand accent."
      },
      "tiktok-cyan": {
        "$value": "#25F4EE",
        "$type": "color",
        "$description": "Signature cyan — the cyan-channel anchor of the chromatic mark, offset against the red."
      },
      "tiktok-red-deep": {
        "$value": "#D91E45",
        "$type": "color",
        "$description": "Authored deeper red used for hover/pressed states on the primary red."
      },
      "tiktok-cyan-deep": {
        "$value": "#0BB8B3",
        "$type": "color",
        "$description": "Authored deeper cyan used for hover/pressed states on the cyan accent."
      },
      "tiktok-black": {
        "$value": "#000000",
        "$type": "color",
        "$description": "Canonical canvas — the TikTok consumer surface and wordmark frame is solid black."
      },
      "tiktok-near-black": {
        "$value": "#121212",
        "$type": "color",
        "$description": "Elevated surface on the dark canvas — feed background, modal headers."
      },
      "tiktok-charcoal": {
        "$value": "#1F1F1F",
        "$type": "color",
        "$description": "Hovered surface and elevated tiles on the dark mode."
      },
      "tiktok-white": {
        "$value": "#FFFFFF",
        "$type": "color",
        "$description": "Primary text on the dark canvas; the core \"d\" mark interior; reversed wordmark fill on light surfaces."
      },
      "tiktok-fog": {
        "$value": "#F1F1F2",
        "$type": "color",
        "$description": "Authored light-mode canvas; secondary surface for marketing."
      },
      "tiktok-gray": {
        "$value": "#86878B",
        "$type": "color",
        "$description": "Secondary text and metadata across both modes."
      },
      "tiktok-gray-light": {
        "$value": "#BBBBBC",
        "$type": "color",
        "$description": "Tertiary text and inactive icons on the dark canvas."
      }
    },
    "roles": {
      "$description": "Semantic color roles (dark mode) mapped to palette swatches",
      "background": {
        "$value": "{color.swatches.tiktok-black}",
        "$type": "color",
        "$description": "background role → TikTok Black"
      },
      "surface": {
        "$value": "{color.swatches.tiktok-near-black}",
        "$type": "color",
        "$description": "surface role → TikTok Near-Black"
      },
      "surface-elevated": {
        "$value": "{color.swatches.tiktok-charcoal}",
        "$type": "color",
        "$description": "surface-elevated role → TikTok Charcoal"
      },
      "text-primary": {
        "$value": "{color.swatches.tiktok-white}",
        "$type": "color",
        "$description": "text-primary role → TikTok White"
      },
      "text-secondary": {
        "$value": "{color.swatches.tiktok-gray-light}",
        "$type": "color",
        "$description": "text-secondary role → TikTok Gray Light"
      },
      "text-tertiary": {
        "$value": "{color.swatches.tiktok-gray}",
        "$type": "color",
        "$description": "text-tertiary role → TikTok Gray"
      },
      "primary": {
        "$value": "{color.swatches.tiktok-red}",
        "$type": "color",
        "$description": "primary role → TikTok Red"
      },
      "primary-hover": {
        "$value": "{color.swatches.tiktok-red-deep}",
        "$type": "color",
        "$description": "primary-hover role → TikTok Red Deep"
      },
      "accent": {
        "$value": "{color.swatches.tiktok-cyan}",
        "$type": "color",
        "$description": "accent role → TikTok Cyan"
      },
      "accent-hover": {
        "$value": "{color.swatches.tiktok-cyan-deep}",
        "$type": "color",
        "$description": "accent-hover role → TikTok Cyan Deep"
      },
      "warning": {
        "$value": "{color.swatches.tiktok-red}",
        "$type": "color",
        "$description": "warning role → TikTok Red"
      },
      "warning-hover": {
        "$value": "{color.swatches.tiktok-red-deep}",
        "$type": "color",
        "$description": "warning-hover role → TikTok Red Deep"
      },
      "error": {
        "$value": "{color.swatches.tiktok-red}",
        "$type": "color",
        "$description": "error role → TikTok Red"
      },
      "success": {
        "$value": "{color.swatches.tiktok-cyan}",
        "$type": "color",
        "$description": "success role → TikTok Cyan"
      },
      "brand-overrides": {
        "$description": "Brand-level role overrides (take precedence over palette role mappings)",
        "identity": {
          "$value": "{color.swatches.tiktok-black}",
          "$type": "color",
          "$description": "Brand role identity → TikTok Black"
        },
        "on-identity": {
          "$value": "{color.swatches.tiktok-white}",
          "$type": "color",
          "$description": "Brand role on-identity → TikTok White"
        },
        "background": {
          "$value": "{color.swatches.tiktok-black}",
          "$type": "color",
          "$description": "Brand role background → TikTok Black"
        },
        "surface": {
          "$value": "{color.swatches.tiktok-near-black}",
          "$type": "color",
          "$description": "Brand role surface → TikTok Near-Black"
        },
        "surface-elevated": {
          "$value": "{color.swatches.tiktok-charcoal}",
          "$type": "color",
          "$description": "Brand role surface-elevated → TikTok Charcoal"
        },
        "text-primary": {
          "$value": "{color.swatches.tiktok-white}",
          "$type": "color",
          "$description": "Brand role text-primary → TikTok White"
        },
        "text-secondary": {
          "$value": "{color.swatches.tiktok-gray-light}",
          "$type": "color",
          "$description": "Brand role text-secondary → TikTok Gray Light"
        },
        "text-tertiary": {
          "$value": "{color.swatches.tiktok-gray}",
          "$type": "color",
          "$description": "Brand role text-tertiary → TikTok Gray"
        },
        "primary": {
          "$value": "{color.swatches.tiktok-red}",
          "$type": "color",
          "$description": "Brand role primary → TikTok Red"
        },
        "primary-hover": {
          "$value": "{color.swatches.tiktok-red-deep}",
          "$type": "color",
          "$description": "Brand role primary-hover → TikTok Red Deep"
        },
        "accent": {
          "$value": "{color.swatches.tiktok-cyan}",
          "$type": "color",
          "$description": "Brand role accent → TikTok Cyan"
        },
        "accent-hover": {
          "$value": "{color.swatches.tiktok-cyan-deep}",
          "$type": "color",
          "$description": "Brand role accent-hover → TikTok Cyan Deep"
        },
        "mark": {
          "$value": "{color.swatches.tiktok-white}",
          "$type": "color",
          "$description": "Brand role mark → TikTok White"
        },
        "mark-channel-red": {
          "$value": "{color.swatches.tiktok-red}",
          "$type": "color",
          "$description": "Brand role mark-channel-red → TikTok Red"
        },
        "mark-channel-cyan": {
          "$value": "{color.swatches.tiktok-cyan}",
          "$type": "color",
          "$description": "Brand role mark-channel-cyan → TikTok Cyan"
        },
        "text-emphasis": {
          "$value": "{color.swatches.tiktok-white}",
          "$type": "color",
          "$description": "Brand role text-emphasis → TikTok White"
        }
      }
    }
  },
  "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"
      }
    }
  }
}
