---
description: Design system extracted from https://duolingo.com — use these tokens, do not invent new ones.
globs: **/*.{ts,tsx,jsx,js,css,scss,html,vue,svelte,swift,kt,dart,php}
alwaysApply: true
---

# Design system reference
Source: https://duolingo.com
Extracted by designlang v7.0.0 on 2026-06-25T08:27:36.259Z

## Semantic tokens (use these)
- color.action.primary: #d7ffb8
- color.surface.default: #ffffff
- color.text.body: #000000
- radius.control: 2px
- typography.body.fontFamily: duolingo-sans

## Regions
- nav
- nav
- nav
- pricing
- pricing
- pricing
- content
- content
- content
- content
- pricing
- pricing
- content
- pricing
- pricing
- cta
- footer

## How to use
- Prefer `semantic.*` tokens over `primitive.*`.
- Never invent new tokens or hex values; reuse the ones above.
- When a value is missing, pick the closest existing semantic token and flag the gap.
- Reference tokens by their dotted path (e.g. `semantic.color.action.primary`).
