{
  "$themes": [
    {
      "id": "light",
      "name": "Light",
      "selectedTokenSets": {
        "global": "enabled",
        "role-light": "enabled",
        "brand": "enabled"
      }
    },
    {
      "id": "dark",
      "name": "Dark",
      "selectedTokenSets": {
        "global": "enabled",
        "role-dark": "enabled",
        "brand": "enabled"
      }
    }
  ],
  "global": {
    "color": {
      "blue": {
        "value": "#1865F2",
        "type": "color",
        "description": "Khan Academy's primary brand blue (Wonder Blocks blue). The signature action color."
      },
      "green": {
        "value": "#00A60E",
        "type": "color",
        "description": "Mastery / completion green — the \"correct answer\" signal."
      },
      "gold": {
        "value": "#FFB100",
        "type": "color",
        "description": "Achievement / streak gold — the motivational accent."
      },
      "red": {
        "value": "#D92916",
        "type": "color",
        "description": "Error / destructive red — the \"wrong answer\" signal."
      },
      "purple": {
        "value": "#9059FF",
        "type": "color",
        "description": "Editorial purple — secondary accent in illustrations and badges."
      },
      "off-black": {
        "value": "#21242C",
        "type": "color",
        "description": "Canonical text ink — Wonder Blocks deliberately avoids pure"
      },
      "off-white": {
        "value": "#F7F8FA",
        "type": "color",
        "description": "Default surface canvas — Wonder Blocks light-mode background."
      },
      "white": {
        "value": "#FFFFFF",
        "type": "color",
        "description": "Pure white — elevated surface and card background."
      },
      "dark-blue": {
        "value": "#0B2149",
        "type": "color",
        "description": "Wonder Blocks brand-tier deep navy — hero callouts and chart anchor."
      },
      "teal": {
        "value": "#14BF96",
        "type": "color",
        "description": "Wonder Blocks brand-tier teal — secondary accent and editorial highlight."
      },
      "eggplant": {
        "value": "#5F1E5C",
        "type": "color",
        "description": "The Khanmigo AI tutor brand accent. Reserved for the AI product surface."
      },
      "blue-hover": {
        "value": "#11459E",
        "type": "color",
        "description": "Pressed / active variant of Khan Academy Blue — derived for hover/active states."
      },
      "blue-pale": {
        "value": "#E5EEFE",
        "type": "color",
        "description": "Pale blue surface tint — Wonder Blocks faded-blue background."
      },
      "red-pale": {
        "value": "#FBE7E5",
        "type": "color",
        "description": "Pale red surface tint — Wonder Blocks faded-red background."
      },
      "green-pale": {
        "value": "#E0F4E1",
        "type": "color",
        "description": "Pale green surface tint — Wonder Blocks faded-green background."
      },
      "gold-pale": {
        "value": "#FFF6E0",
        "type": "color",
        "description": "Pale gold surface tint — Wonder Blocks faded-gold background."
      }
    },
    "fontFamily": {
      "heading": {
        "value": "Inter",
        "type": "fontFamilies",
        "description": "inter@1.0.0 · sans-serif"
      },
      "body": {
        "value": "Inter",
        "type": "fontFamilies",
        "description": "inter@1.0.0 · sans-serif"
      },
      "mono": {
        "value": "JetBrainsMono Nerd Font",
        "type": "fontFamilies",
        "description": "jetbrainsmono-nerdfont@1.0.0 · monospace"
      }
    },
    "fontStack": {
      "heading": {
        "value": [
          "Inter",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Roboto",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "type": "fontFamilies"
      },
      "body": {
        "value": [
          "Inter",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Roboto",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "type": "fontFamilies"
      },
      "mono": {
        "value": [
          "JetBrainsMono Nerd Font",
          "JetBrains Mono",
          "Fira Code",
          "Menlo",
          "Monaco",
          "Consolas",
          "Liberation Mono",
          "monospace"
        ],
        "type": "fontFamilies"
      }
    }
  },
  "role-light": {
    "color": {
      "background": {
        "value": "{global.color.white}",
        "type": "color"
      },
      "surface": {
        "value": "{global.color.off-white}",
        "type": "color"
      },
      "surface-elevated": {
        "value": "{global.color.white}",
        "type": "color"
      },
      "text-primary": {
        "value": "{global.color.off-black}",
        "type": "color"
      },
      "text-secondary": {
        "value": "{global.color.off-black}",
        "type": "color"
      },
      "text-tertiary": {
        "value": "{global.color.off-black}",
        "type": "color"
      },
      "primary": {
        "value": "{global.color.blue}",
        "type": "color"
      },
      "primary-hover": {
        "value": "{global.color.blue-hover}",
        "type": "color"
      },
      "accent": {
        "value": "{global.color.blue}",
        "type": "color"
      },
      "accent-hover": {
        "value": "{global.color.blue-hover}",
        "type": "color"
      },
      "warning": {
        "value": "{global.color.gold}",
        "type": "color"
      },
      "warning-hover": {
        "value": "{global.color.gold}",
        "type": "color"
      },
      "error": {
        "value": "{global.color.red}",
        "type": "color"
      },
      "success": {
        "value": "{global.color.green}",
        "type": "color"
      },
      "border": {
        "value": "{global.color.off-white}",
        "type": "color"
      }
    }
  },
  "role-dark": {
    "color": {
      "background": {
        "value": "{global.color.off-black}",
        "type": "color"
      },
      "surface": {
        "value": "{global.color.dark-blue}",
        "type": "color"
      },
      "surface-elevated": {
        "value": "{global.color.off-black}",
        "type": "color"
      },
      "text-primary": {
        "value": "{global.color.white}",
        "type": "color"
      },
      "text-secondary": {
        "value": "{global.color.off-white}",
        "type": "color"
      },
      "text-tertiary": {
        "value": "{global.color.off-white}",
        "type": "color"
      },
      "primary": {
        "value": "{global.color.blue}",
        "type": "color"
      },
      "primary-hover": {
        "value": "{global.color.blue-pale}",
        "type": "color"
      },
      "accent": {
        "value": "{global.color.teal}",
        "type": "color"
      },
      "accent-hover": {
        "value": "{global.color.green}",
        "type": "color"
      },
      "warning": {
        "value": "{global.color.gold}",
        "type": "color"
      },
      "warning-hover": {
        "value": "{global.color.gold-pale}",
        "type": "color"
      },
      "error": {
        "value": "{global.color.red}",
        "type": "color"
      },
      "success": {
        "value": "{global.color.green}",
        "type": "color"
      },
      "border": {
        "value": "{global.color.dark-blue}",
        "type": "color"
      }
    }
  },
  "brand": {
    "color": {
      "identity": {
        "value": "{global.color.white}",
        "type": "color"
      },
      "on-identity": {
        "value": "{global.color.off-black}",
        "type": "color"
      },
      "primary": {
        "value": "{global.color.blue}",
        "type": "color"
      },
      "primary-hover": {
        "value": "{global.color.blue-hover}",
        "type": "color"
      },
      "accent": {
        "value": "{global.color.blue}",
        "type": "color"
      },
      "accent-hover": {
        "value": "{global.color.blue-hover}",
        "type": "color"
      },
      "mark": {
        "value": "{global.color.blue}",
        "type": "color"
      },
      "success": {
        "value": "{global.color.green}",
        "type": "color"
      },
      "warning": {
        "value": "{global.color.gold}",
        "type": "color"
      },
      "error": {
        "value": "{global.color.red}",
        "type": "color"
      },
      "text-primary-light": {
        "value": "{global.color.off-black}",
        "type": "color"
      },
      "text-primary-dark": {
        "value": "{global.color.white}",
        "type": "color"
      },
      "background-light": {
        "value": "{global.color.white}",
        "type": "color"
      },
      "background-dark": {
        "value": "{global.color.off-black}",
        "type": "color"
      },
      "surface-light": {
        "value": "{global.color.off-white}",
        "type": "color"
      },
      "surface-dark": {
        "value": "{global.color.dark-blue}",
        "type": "color"
      },
      "text-secondary-light": {
        "value": "{global.color.off-black}",
        "type": "color"
      },
      "border-light": {
        "value": "{global.color.off-white}",
        "type": "color"
      }
    }
  },
  "$metadata": {
    "name": "Khan Academy",
    "ref": "khan-academy@1.0.0",
    "paletteRef": "khan-academy@1.0.0",
    "generatedBy": "brand-atoms converter"
  }
}
