Design system warbyparker.com
Warby Parker
warbyparker.com memakai utopia-std, proxima-nova untuk tipografi dan #00a2e1 sebagai warna aksennya. Diukur pada 28 September 2026.
Pakai dengan AI Andajuga ada di dalam zip sebagai README.md dan PROMPT.md
- .
- Unzip paket ke dalam proyek Anda sehingga foldernya berada di
design/warbyparker.com-design-pack/. - Opsional: salin juga folder ke
.claude/skills/warbyparker-com-design/. SKILL.md di dalamnya membuat Claude Code memuat paket dengan sendirinya setiap kali membangun UI. - Tempel prompt di bawah ke Claude Code dan isi apa yang ingin Anda bangun.
Prompt
Prompt tetap dalam bahasa Inggris: prompt itu menyebut nama file di dalam paket, dan AI Anda bisa membacanya dalam bahasa apa pun.
Use the design pack in `design/warbyparker.com-design-pack/` as the source of truth for how the UI looks and behaves. It was measured from https://www.warbyparker.com/.
1. Read DESIGN.md (colours, type, spacing, radii, shadows, components) and BEHAVIOR.md (hover, focus, tooltips, menus, motion, scrolling, forms, responsive rules) before writing any code.
2. Look at every image in `design/warbyparker.com-design-pack/screenshots/` and match the composition, density, whitespace and image treatment. Tokens do not carry those; the screenshots do.
3. Style everything with `design/warbyparker.com-design-pack/tokens.css` (or `tailwind.css` if this project uses Tailwind v4). Do not invent colours, radii, shadows or font sizes that are not in the pack.
4. Load the fonts named in DESIGN.md. Where a font is not freely available, use the stand-in it names at the same sizes and weights.
5. Match the breakpoints and hover, focus and motion rules in BEHAVIOR.md. The site has no dark mode, so do not add one.
Now build: [describe the page or app you want]
When you are done, compare the result with the screenshots at desktop and phone widths, fix the biggest visual difference first, and repeat.Warna5 token
background
#ffffff
foreground
#414b56
primary
#00a2e1
on-primary
#111111
border
#fcfcfc
Jarakunit 4px
- Lebar konten
- fluid
Radius
tombol 0pxinput 0pxkartu 0pxgambar 0px
Bayangan0
Datar: tidak ada box shadow yang dipakai.
Tipografi2 font family
utopia-stdpengganti Interproxima-novapengganti Montserrat
headline-displayQuick brown fox24px / 700 / lh 1.25
headline-lgQuick brown fox32px / 600 / lh 1.4
headline-mdQuick brown fox24px / 600 / lh 1.4
body-mdThe quick brown fox jumps over the lazy dog16px / 400 / lh 1.63
label-mdThe quick brown fox jumps over the lazy dog13px / 500 / lh 1.4
buttonThe quick brown fox jumps over the lazy dog14px / 500 / lh 1.4
Ukuran yang dipakai
121624
Komponen
- tautan
- #00a2e1, tanpa garis bawah, 400
- header
- 60px, static, 0 tautan pada 0px
- h1
- 24px / 700, perataan center, maks 476px
- formulir
- 0 forms, 0 inputs. Required markers: 0. Help texts: 0. Label placement: no labelled inputs.
- ikon
- Icons: 1 inline SVGs, filled, sizes .
Screenshotlebar 1440 dan 390
Interaksi dan animasi
- body link "In the meantime, entertain yourself by w": tanpa perubahan hover
- fokus body link: outline 1px auto rgb(16, 16, 16), offset 1px
- tooltip: No tooltips: nothing on the page carries tooltip attributes or roles and no tooltip styles exist. Do not add tooltips when rebuilding.
- menu: No dropdown menus found in the header.
- animasi: No CSS transitions on rendered elements: state changes are instant. No scroll-reveal: content is visible without scrolling into view.
Tema
No dark mode responded to prefers-color-scheme, a theme toggle, or a root class/attribute.
Responsif1440 / 1024 / 768 / 390 px




| Viewport | Konten | Gutter | Body | H1 | Header | Hero | Grid | Tombol |
|---|---|---|---|---|---|---|---|---|
| desktop 1440 | 500px | 482px | 16px | 24px, 2 lines, center | 60px, 0 links | text only | content-width | |
| laptop 1024 | 500px | 274px | 16px | 24px, 2 lines, center | 60px, 0 links | text only | content-width | |
| tablet 768 | 500px | 146px | 16px | 24px, 2 lines, center | 60px, 0 links | text only | content-width | |
| phone 390 | fluid | 24px | 16px | 24px, 2 lines, center | 60px, 0 links | text only | content-width |
- H1 goes 24px → 24px (100%), 2 → 2 lines.
- Nav never collapses to a hamburger (0 links still visible at 390px).
- Body text stays 16px at every width.
- Phone side gutter 24px.
- Horizontal overflow at 390px (the source has a responsive bug; do not copy it).
File di dalam paket14 file
DESIGN.md
Format DESIGN.md dari Google; Stitch, Claude Code, dan Cursor membacanya
tokens.json
W3C Design Tokens (DTCG) untuk Style Dictionary dan plugin Figma
tokens.css
Nilai yang sama sebagai CSS custom property
tailwind.css
Blok @theme Tailwind v4
SKILL.md
Skill Claude Code / Cursor yang mengurutkan isi paket untuk agen
BEHAVIOR.md
Hover, fokus, tooltip, menu, animasi, scrolling, tabel, formulir, teks, responsif, mode gelap, stack
evidence.json
Pengukuran mentah di balik kedua dokumen (setiap viewport, probe, dan aturan)
screenshots/
desktop-1440-fold.png, desktop-1440-full.jpg, laptop-1024-fold.png, tablet-768-fold.png, phone-390-fold.png, phone-390-full.jpg
DESIGN.md167 baris
---
version: alpha
name: "warbyparker.com"
description: "Design system extracted from https://www.warbyparker.com/ on 2026-09-28"
colors:
background: "#ffffff"
foreground: "#414b56"
primary: "#00a2e1"
on-primary: "#111111"
border: "#fcfcfc"
typography:
headline-display:
fontFamily: "utopia-std"
fontSize: "24px"
fontWeight: 700
lineHeight: "1.25"
headline-lg:
fontFamily: "proxima-nova"
fontSize: "32px"
fontWeight: 600
lineHeight: "1.4"
headline-md:
fontFamily: "proxima-nova"
fontSize: "24px"
fontWeight: 600
lineHeight: "1.4"
body-md:
fontFamily: "proxima-nova"
fontSize: "16px"
fontWeight: 400
lineHeight: "1.63"
label-md:
fontFamily: "proxima-nova"
fontSize: "13px"
fontWeight: 500
lineHeight: "1.4"
button:
fontFamily: "proxima-nova"
fontSize: "14px"
fontWeight: 500
lineHeight: "1.4"
rounded:
none: "0px"
full: "9999px"
spacing:
unit: "4px"
1: "12px"
2: "16px"
3: "24px"
4: "48px"
components:
---
# warbyparker.com
## Overview
Warby Parker: Warby Parker
Sharp, squared-off controls, flat surfaces separated by hairlines, restrained display type at 24px / 700, a single teal accent on neutrals. The site ships in light mode by default. Measured from 15 rendered elements at 1440px wide on 2026-09-28.
Reference screenshots live beside this file; look at them before writing any layout, they carry the composition, density and image treatment that tokens cannot:
- `screenshots/desktop-1440-fold.png`: Desktop 1440, above the fold
- `screenshots/desktop-1440-full.jpg`: Desktop 1440, full page
- `screenshots/laptop-1024-fold.png`: Laptop 1024, above the fold
- `screenshots/tablet-768-fold.png`: Tablet 768, above the fold
- `screenshots/phone-390-fold.png`: Phone 390, above the fold
- `screenshots/phone-390-full.jpg`: Phone 390, full page
## Colors
| Token | Value | Use |
| --- | --- | --- |
| background | `#ffffff` | Page background |
| foreground | `#414b56` | Primary text |
| primary | `#00a2e1` | Accent: primary buttons, links, focus |
| on-primary | `#111111` | Text on the accent |
| border | `#fcfcfc` | Hairlines, dividers, input borders |
Full painted palette by area (largest first): .
The accent `#00a2e1` is used sparingly: primary buttons, links and focus rings. Everything else stays neutral.
## Typography
- **utopia-std** for h1: unknown source; use **Inter** as the stand-in if it does not load.
- **proxima-nova** for body: unknown source; use **Montserrat** as the stand-in if it does not load.
| Role | Family | Size | Weight | Line height | Tracking |
| --- | --- | --- | --- | --- | --- |
| headline-display | utopia-std | 24px | 700 | 1.25 | normal |
| headline-lg | proxima-nova | 32px | 600 | 1.4 | normal |
| headline-md | proxima-nova | 24px | 600 | 1.4 | normal |
| body-md | proxima-nova | 16px | 400 | 1.63 | normal |
| label-md | proxima-nova | 13px | 500 | 1.4 | normal |
| button | proxima-nova | 14px | 500 | 1.4 | normal |
Type scale in use: 12px, 16px, 24px. Base body size 16px.
The H1 renders at 24px / 700, center aligned, up to 476px wide. Sample: "Warby Parker is currently down for scheduled maintenance.".
## Layout
- Spacing unit: 4px. Scale in use: 12, 16, 24, 48 (px).
- Content max width: not detected (fluid).
- Header: 60px tall, static, background `rgba(0, 0, 0, 0)`, bottom hairline 1px solid rgb(210, 214, 217); 0 nav links at nullpx / null.
## Elevation & Depth
No box shadows in use; depth comes from hairline borders and surface tints (flat design).
## Shapes
- Buttons: 0px
- Inputs: 0px
- Cards and panels: 0px
- Images and media: 0px
- Radius scale: none 0px, full 9999px
## Components
### Link
Colour `#00a2e1`, no underline at rest, weight 400.
## Dark Mode
No dark mode responded to prefers-color-scheme, a theme toggle, or a root class/attribute.
## Responsive Behavior
| Viewport | Content width | Gutter | Body | H1 | Header | Hero | Grids | Buttons |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| desktop 1440px | 500px | 482px | 16px | 24px, 2 lines, center | 60px, 0 links | text only | | content-width |
| laptop 1024px | 500px | 274px | 16px | 24px, 2 lines, center | 60px, 0 links | text only | | content-width |
| tablet 768px | 500px | 146px | 16px | 24px, 2 lines, center | 60px, 0 links | text only | | content-width |
| phone 390px | fluid | 24px | 16px | 24px, 2 lines, center | 60px, 0 links | text only | | content-width |
- H1 goes 24px → 24px (100%), 2 → 2 lines.
- Nav never collapses to a hamburger (0 links still visible at 390px).
- Body text stays 16px at every width.
- Phone side gutter 24px.
- Horizontal overflow at 390px (the source has a responsive bug; do not copy it).
## Interaction & Motion
No CSS transitions on rendered elements: state changes are instant.
- Hover on body-link ("In the meantime, entertain yourself by w"): no visible change; cursor pointer.
- Focus on body-link: outline 1px auto rgb(16, 16, 16), offset 1px.
- No tooltips: nothing on the page carries tooltip attributes or roles and no tooltip styles exist. Do not add tooltips when rebuilding.
- No dropdown menus found in the header.
- No scroll-reveal: content is visible without scrolling into view.
Full detail (every overlay, table, form, scroll and text rule measured) is in `BEHAVIOR.md`; raw evidence in `evidence.json`.
## Do's and Don'ts
- Do use 4px multiples for every padding, margin and gap; the site does not use odd values.
- Do reserve `#00a2e1` for actions and focus; never paint large areas with it.
- Do keep body text at 16px in proxima-nova and headings in utopia-std.
- Do match corner radii per element class (buttons 0px, cards 0px); do not pick one radius for everything.
- Don't add drop shadows; this design is flat.
- Don't substitute a different accent hue or introduce gradients that are not listed above.
- Don't rebuild from the tokens alone; open the screenshots for composition, density and image treatment.