// Khan Academy (khan-academy@1.0.0)
// Palette: khan-academy@1.0.0
// Fonts:   heading=inter@1.0.0, body=inter@1.0.0, mono=jetbrainsmono-nerdfont@1.0.0
// Generated by brand-atoms converter — do not edit by hand.

// ─── Swatches ─────────────────────────────────────────
$swatch-blue: #1865F2;
$swatch-green: #00A60E;
$swatch-gold: #FFB100;
$swatch-red: #D92916;
$swatch-purple: #9059FF;
$swatch-off-black: #21242C;
$swatch-off-white: #F7F8FA;
$swatch-white: #FFFFFF;
$swatch-dark-blue: #0B2149;
$swatch-teal: #14BF96;
$swatch-eggplant: #5F1E5C;
$swatch-blue-hover: #11459E;
$swatch-blue-pale: #E5EEFE;
$swatch-red-pale: #FBE7E5;
$swatch-green-pale: #E0F4E1;
$swatch-gold-pale: #FFF6E0;

// ─── Light-mode role mappings ─────────────────────────
$light-background: $swatch-white;
$light-surface: $swatch-off-white;
$light-surface-elevated: $swatch-white;
$light-text-primary: $swatch-off-black;
$light-text-secondary: $swatch-off-black;
$light-text-tertiary: $swatch-off-black;
$light-primary: $swatch-blue;
$light-primary-hover: $swatch-blue-hover;
$light-accent: $swatch-blue;
$light-accent-hover: $swatch-blue-hover;
$light-warning: $swatch-gold;
$light-warning-hover: $swatch-gold;
$light-error: $swatch-red;
$light-success: $swatch-green;
$light-border: $swatch-off-white;

// ─── Dark-mode role mappings ──────────────────────────
$dark-background: $swatch-off-black;
$dark-surface: $swatch-dark-blue;
$dark-surface-elevated: $swatch-off-black;
$dark-text-primary: $swatch-white;
$dark-text-secondary: $swatch-off-white;
$dark-text-tertiary: $swatch-off-white;
$dark-primary: $swatch-blue;
$dark-primary-hover: $swatch-blue-pale;
$dark-accent: $swatch-teal;
$dark-accent-hover: $swatch-green;
$dark-warning: $swatch-gold;
$dark-warning-hover: $swatch-gold-pale;
$dark-error: $swatch-red;
$dark-success: $swatch-green;
$dark-border: $swatch-dark-blue;

// ─── Brand-level color role overrides ─────────────────
$brand-identity: $swatch-white;
$brand-on-identity: $swatch-off-black;
$brand-primary: $swatch-blue;
$brand-primary-hover: $swatch-blue-hover;
$brand-accent: $swatch-blue;
$brand-accent-hover: $swatch-blue-hover;
$brand-mark: $swatch-blue;
$brand-success: $swatch-green;
$brand-warning: $swatch-gold;
$brand-error: $swatch-red;
$brand-text-primary-light: $swatch-off-black;
$brand-text-primary-dark: $swatch-white;
$brand-background-light: $swatch-white;
$brand-background-dark: $swatch-off-black;
$brand-surface-light: $swatch-off-white;
$brand-surface-dark: $swatch-dark-blue;
$brand-text-secondary-light: $swatch-off-black;
$brand-border-light: $swatch-off-white;

// ─── Typography ───────────────────────────────────────
$font-heading: (Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif);
$font-body: (Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif);
$font-mono: ('JetBrainsMono Nerd Font', 'JetBrains Mono', 'Fira Code', Menlo, Monaco, Consolas, 'Liberation Mono', monospace);

// ─── Iteration maps ───────────────────────────────────
$swatches: (
  "blue": $swatch-blue,
  "green": $swatch-green,
  "gold": $swatch-gold,
  "red": $swatch-red,
  "purple": $swatch-purple,
  "off-black": $swatch-off-black,
  "off-white": $swatch-off-white,
  "white": $swatch-white,
  "dark-blue": $swatch-dark-blue,
  "teal": $swatch-teal,
  "eggplant": $swatch-eggplant,
  "blue-hover": $swatch-blue-hover,
  "blue-pale": $swatch-blue-pale,
  "red-pale": $swatch-red-pale,
  "green-pale": $swatch-green-pale,
  "gold-pale": $swatch-gold-pale,
);

$light-roles: (
  "background": $light-background,
  "surface": $light-surface,
  "surface-elevated": $light-surface-elevated,
  "text-primary": $light-text-primary,
  "text-secondary": $light-text-secondary,
  "text-tertiary": $light-text-tertiary,
  "primary": $light-primary,
  "primary-hover": $light-primary-hover,
  "accent": $light-accent,
  "accent-hover": $light-accent-hover,
  "warning": $light-warning,
  "warning-hover": $light-warning-hover,
  "error": $light-error,
  "success": $light-success,
  "border": $light-border,
);

$dark-roles: (
  "background": $dark-background,
  "surface": $dark-surface,
  "surface-elevated": $dark-surface-elevated,
  "text-primary": $dark-text-primary,
  "text-secondary": $dark-text-secondary,
  "text-tertiary": $dark-text-tertiary,
  "primary": $dark-primary,
  "primary-hover": $dark-primary-hover,
  "accent": $dark-accent,
  "accent-hover": $dark-accent-hover,
  "warning": $dark-warning,
  "warning-hover": $dark-warning-hover,
  "error": $dark-error,
  "success": $dark-success,
  "border": $dark-border,
);
