Duolingo
Identity
Productivity & SaaS
Bundled OpenDesign package for Duolingo, derived from curated DESIGN.md, tokens.css, and components.html fixtures.
Typography
Ag
Ag
Ag
--text-4xl · 56pxThe quick brown fox--text-3xl · 40pxThe quick brown fox--text-2xl · 32pxThe quick brown fox--text-xl · 24pxThe quick brown fox--text-lg · 18pxThe quick brown fox--text-base · 15pxThe quick brown fox--text-sm · 13pxThe quick brown fox--text-xs · 12pxThe quick brown foxPalette
#ffffffPage background — defines the brand canvas.#f7f7f7Card / lifted container background.var(--surface)Tertiary surface tier (kami warm-sand).#3c3c3cPrimary text color.var(--fg)Secondary text tier (kami dark-warm).#777777Subtext / captions.#afafafTertiary FG / metadata tier (kami stone).#e5e5e5Default border / card edge.var(--border)Inner row separator that should not visually compete.#58cc02Brand accent. ≤2 visible uses per screen (lint enforced).#ffffffFG when --accent is the bg.#58cc02Success state.#ffc800Warning state.#ff4b4bDanger state.Also named in DESIGN.md
#58a700Pressed/shadow color for green buttons.#89e219Hover, soft fills.#dbf8c5Soft surface, success banner.#ff9600Streak counter, fire icon, premium energy.#cc7a00Pressed orange.#ce82ffGem currency, Super Duolingo.#1cb0f6Hint button, info link.Imagery & layout
Radius
12px16px20px9999pxSpacing
--space-1 · 4px--space-2 · 8px--space-3 · 12px--space-4 · 16px--space-5 · 20px--space-6 · 24px--space-8 · 32px--space-12 · 48pxElevation
--elev-raisedLayout
Layout rules
- Base unit: 4px. Scale: 4, 8, 12, 16, 24, 32, 48, 64.
- Container: max 1080px, 24px gutter.
- Lesson tree column: 320px wide; centered on desktop.