{
  "$description": "Brand: Cursor — dark mode",
  "color": {
    "swatches": {
      "$description": "Source-of-truth color swatches from palette cursor@1.0.0",
      "sand-canvas": {
        "$value": "#F7F7F4",
        "$type": "color",
        "$description": "Page canvas — the warm near-paper surface cursor.com reads against."
      },
      "sand-card": {
        "$value": "#F2F1ED",
        "$type": "color",
        "$description": "Subtle elevated card surface; one step warmer than canvas."
      },
      "sand-card-hover": {
        "$value": "#EBEAE5",
        "$type": "color",
        "$description": "Hover state for card surfaces on the sand canvas."
      },
      "sand-border": {
        "$value": "#E1E0DB",
        "$type": "color",
        "$description": "Quiet divider on the sand canvas; near-canvas border."
      },
      "cursor-ink": {
        "$value": "#26251E",
        "$type": "color",
        "$description": "Primary text on sand canvas; dark-mode canvas inversion."
      },
      "cursor-ink-secondary": {
        "$value": "#4A443B",
        "$type": "color",
        "$description": "Secondary text; muted ink for body copy de-emphasis."
      },
      "cursor-ink-tertiary": {
        "$value": "#76716A",
        "$type": "color",
        "$description": "Tertiary text / caption ink; quiet metadata."
      },
      "cursor-orange": {
        "$value": "#F54E00",
        "$type": "color",
        "$description": "Cursor's signature hot orange accent — the brand's primary action color."
      },
      "cursor-orange-pressed": {
        "$value": "#DB7042",
        "$type": "color",
        "$description": "Pressed / muted variant of cursor orange used on hover-secondary surfaces."
      },
      "cursor-green": {
        "$value": "#1F8A65",
        "$type": "color",
        "$description": "ANSI-aligned success green from the product UI."
      },
      "cursor-red": {
        "$value": "#CF2D56",
        "$type": "color",
        "$description": "ANSI-aligned error red from the product UI."
      },
      "cursor-night": {
        "$value": "#1A1A17",
        "$type": "color",
        "$description": "Dark-mode canvas — the inverted product chrome surface."
      },
      "cursor-night-elevated": {
        "$value": "#26251E",
        "$type": "color",
        "$description": "Elevated surface in dark mode; one step above canvas."
      },
      "cursor-night-border": {
        "$value": "#3C3933",
        "$type": "color",
        "$description": "Quiet divider on the cursor-night canvas."
      }
    },
    "roles": {
      "$description": "Semantic color roles (dark mode) mapped to palette swatches",
      "background": {
        "$value": "{color.swatches.cursor-night}",
        "$type": "color",
        "$description": "background role → Cursor Night"
      },
      "surface": {
        "$value": "{color.swatches.cursor-night-elevated}",
        "$type": "color",
        "$description": "surface role → Cursor Night Elevated"
      },
      "surface-elevated": {
        "$value": "{color.swatches.cursor-ink-secondary}",
        "$type": "color",
        "$description": "surface-elevated role → Cursor Ink Secondary"
      },
      "text-primary": {
        "$value": "{color.swatches.sand-canvas}",
        "$type": "color",
        "$description": "text-primary role → Sand Canvas"
      },
      "text-secondary": {
        "$value": "{color.swatches.sand-card-hover}",
        "$type": "color",
        "$description": "text-secondary role → Sand Card Hover"
      },
      "text-tertiary": {
        "$value": "{color.swatches.cursor-ink-tertiary}",
        "$type": "color",
        "$description": "text-tertiary role → Cursor Ink Tertiary"
      },
      "primary": {
        "$value": "{color.swatches.cursor-orange}",
        "$type": "color",
        "$description": "primary role → Cursor Orange"
      },
      "primary-hover": {
        "$value": "{color.swatches.cursor-orange-pressed}",
        "$type": "color",
        "$description": "primary-hover role → Cursor Orange Pressed"
      },
      "accent": {
        "$value": "{color.swatches.cursor-orange}",
        "$type": "color",
        "$description": "accent role → Cursor Orange"
      },
      "accent-hover": {
        "$value": "{color.swatches.cursor-orange-pressed}",
        "$type": "color",
        "$description": "accent-hover role → Cursor Orange Pressed"
      },
      "success": {
        "$value": "{color.swatches.cursor-green}",
        "$type": "color",
        "$description": "success role → Cursor Green"
      },
      "warning": {
        "$value": "{color.swatches.cursor-orange}",
        "$type": "color",
        "$description": "warning role → Cursor Orange"
      },
      "error": {
        "$value": "{color.swatches.cursor-red}",
        "$type": "color",
        "$description": "error role → Cursor Red"
      },
      "border": {
        "$value": "{color.swatches.cursor-night-border}",
        "$type": "color",
        "$description": "border role → Cursor Night Border"
      },
      "brand-overrides": {
        "$description": "Brand-level role overrides (take precedence over palette role mappings)",
        "identity": {
          "$value": "{color.swatches.sand-canvas}",
          "$type": "color",
          "$description": "Brand role identity → Sand Canvas"
        },
        "on-identity": {
          "$value": "{color.swatches.cursor-ink}",
          "$type": "color",
          "$description": "Brand role on-identity → Cursor Ink"
        },
        "primary": {
          "$value": "{color.swatches.cursor-orange}",
          "$type": "color",
          "$description": "Brand role primary → Cursor Orange"
        },
        "primary-hover": {
          "$value": "{color.swatches.cursor-orange-pressed}",
          "$type": "color",
          "$description": "Brand role primary-hover → Cursor Orange Pressed"
        },
        "accent": {
          "$value": "{color.swatches.cursor-orange}",
          "$type": "color",
          "$description": "Brand role accent → Cursor Orange"
        },
        "accent-hover": {
          "$value": "{color.swatches.cursor-orange-pressed}",
          "$type": "color",
          "$description": "Brand role accent-hover → Cursor Orange Pressed"
        },
        "mark": {
          "$value": "{color.swatches.cursor-ink}",
          "$type": "color",
          "$description": "Brand role mark → Cursor Ink"
        },
        "success": {
          "$value": "{color.swatches.cursor-green}",
          "$type": "color",
          "$description": "Brand role success → Cursor Green"
        },
        "warning": {
          "$value": "{color.swatches.cursor-orange}",
          "$type": "color",
          "$description": "Brand role warning → Cursor Orange"
        },
        "error": {
          "$value": "{color.swatches.cursor-red}",
          "$type": "color",
          "$description": "Brand role error → Cursor Red"
        },
        "text-primary-light": {
          "$value": "{color.swatches.cursor-ink}",
          "$type": "color",
          "$description": "Brand role text-primary-light → Cursor Ink"
        },
        "text-primary-dark": {
          "$value": "{color.swatches.sand-canvas}",
          "$type": "color",
          "$description": "Brand role text-primary-dark → Sand Canvas"
        },
        "background-light": {
          "$value": "{color.swatches.sand-canvas}",
          "$type": "color",
          "$description": "Brand role background-light → Sand Canvas"
        },
        "background-dark": {
          "$value": "{color.swatches.cursor-night}",
          "$type": "color",
          "$description": "Brand role background-dark → Cursor Night"
        },
        "surface-light": {
          "$value": "{color.swatches.sand-card}",
          "$type": "color",
          "$description": "Brand role surface-light → Sand Card"
        },
        "surface-dark": {
          "$value": "{color.swatches.cursor-night-elevated}",
          "$type": "color",
          "$description": "Brand role surface-dark → Cursor Night Elevated"
        },
        "text-secondary-light": {
          "$value": "{color.swatches.cursor-ink-secondary}",
          "$type": "color",
          "$description": "Brand role text-secondary-light → Cursor Ink Secondary"
        },
        "text-tertiary-light": {
          "$value": "{color.swatches.cursor-ink-tertiary}",
          "$type": "color",
          "$description": "Brand role text-tertiary-light → Cursor Ink Tertiary"
        },
        "border-light": {
          "$value": "{color.swatches.sand-border}",
          "$type": "color",
          "$description": "Brand role border-light → Sand Border"
        }
      }
    }
  },
  "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"
      }
    }
  }
}
