developer.mozilla.org is built on a pure-white canvas (rgb(255,255,255)).
The system uses rgb(255, 255, 255) as the singular interactive color.
Sharp 0px corners on CTAs — architectural restraint, engineering precision alongside Inter as the primary typeface.
Depth comes from borders and surface contrast rather than shadows — a flat, structural elevation model.
Motion is minimal — a few targeted transitions, no decorative animation.
01
Color — roles, semantics & the full census
16 colors measured · click any swatch to copy
Canvas
#ffffff
AAA 18.88:1
Ink
#111111
AAA 18.88:1
Accent
#ffffff
Fail 1:1
Line
#51565d
AAA 7.4:1
Semantic states
No semantic state colors detected — this system signals state through weight & motion, not hue.
16 colors mined from the live renderexpand
02
Type — the ladder, in the real face
6 roles · rendered live in the real Inter (captured woff2) · lines are editable, click any spec to copy
Use 8px border-radius on cards — consistent with the grid card corners
Maintain nav height at 66px — consistent vertical space for the navigation bar
Include a search input directly in the nav — discoverability is a primary UX value here
Don't
Don't substitute with generic sans-serif or serif — the custom font carries the brand
Don't use weight 700 (bold) or above — 600 is the maximum weight in this system
Don't use heavy box-shadows for cards — borders are the containment mechanism
Don't introduce additional saturated accent colors — the palette is intentionally controlled
Don't over-round buttons with pill or large radius — the system uses restrained, sharp-ish corners
Don't collapse or hide the nav on scroll without an explicit scroll-triggered animation — the design uses fixed nav presence
Don't make the nav sticky — this design lets it scroll away to maximize content focus
Don't put a CTA button in the nav — this design uses links only at the top
10
Agent guide & export
Paste-ready prompt + the real files behind this page
Build a UI in the developer.mozilla.org design system.
Canvas #ffffff · ink #111111 · accent #ffffff.
Type: Inter — respect the size/weight ladder in §3.
Radius, spacing, shadow: use only the extracted scales (no magic numbers).
Full spec follows — paste the DESIGN.md below into your agent.