prism·mdthe design press
EXTRACTED · 8 SECTIONS · 16 COLORS · GRADE C 63/100

developer.mozilla.org

16 colours · Inter woff2 captured · real motion · desktop + mobile shots — every number measured, never written.

16
colors
3
faces
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

display xl
display-xl40px · 400
display md
display-md16px · 500 · ×2.50
body
body12.8px · 500 · ×1.25
body sm
body-sm16px · 600 · ×0.80
caption
caption12.8px · 500 · ×1.25
button
button14px · 450 · ×0.91
03

Spacing & radius, made spatial

9 spacing steps · 7 radii · bars are exact px widths

Spacing scale
xxs · 2px
xs · 6px
sm · 12px
md · 13px
base · 16px
lg · 27px
xl · 28px
2xl · 48px
3xl · 64px
Radius
none
0px
xs
4px
sm
8px
md
14px
lg
20px
xl
32px
full
9999px
06

Components — the closed vocabulary

10 component families · 22 variants counted on the live DOM

ComponentVariants found
badges×3
footer Links×3
heading H3×3
buttons×2
cards×2
nav Links×2
heading H2×2
links×2
breadcrumb×2
heading H1×1
Component style specs (§4)expand

Buttons

Secondary

  • Background: #6b6b6b
  • Text: #ffffff {colors.primary}
  • Padding: 1px 6px
  • Radius: 0px
  • Border: 2px outset rgb(255, 255, 255)
  • Font: 16px weight 400
  • Use: Secondary action

Ghost

  • Background: transparent
  • Text: #ffffff {colors.primary}
  • Padding: 8px 11.2px
  • Radius: 0px
  • Font: 16px weight 400
  • Use: Subtle action, toolbar, nav button

Light / Invert

  • Background: #f7f7f8 {colors.surface-2}
  • Text: #044c9f {colors.primary-hover}
  • Padding: 12.8px
  • Radius: 0px
  • Font: 16px weight 600
  • Use: Bright CTA on dark sections

Cards & Containers

Standard Card

  • Background: transparent
  • Padding: 16px
  • Radius: 8px
  • Border: 1px solid rgb(195, 199, 203)
  • Use: Content containers, listing items
07

Layout — structure & dimensions

5 layout metrics measured

header 98px 1200px max-width
max Width1200px
header Height98px
sidebar Width0px
gap16px
container Padding24px
08

Responsive — real breakpoints

fluid system — no hard stops

No distinct @media breakpoints captured at the desktop/mobile pass — this layout is fluid, adapting by ratio rather than hard stops.

09

Do's & Don'ts

17 enforceable rules pulled verbatim from the spec

Do
Use Inter as the primary typeface — it defines the brand personality
Keep font weights between 400-600 — the system uses a narrow weight range for subtle hierarchy
Use borders for card containment — this design uses border-based depth, not shadow-based
Use White (`#ffffff`) as the primary accent — it's the brand's signature interactive color
Use small 4px radius for buttons — this design system uses subtle rounding, not pill shapes
Apply 16px padding inside cards — matches the design system's content breathing room
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.
Every value above was getComputedStyle-verified.
$ npx prismd add developer
DESIGN.md · narrative spec tokens.json
A · InstrumentB · Press