Interfaces — Design Reference
annotated whitewall type specimen
Source: https://interfaces.dev
Theme: light
Category: Blog
Mood: light, minimal, technical, precise, editorial, typographic
Captured: 2026-11-12
Overview
A near-white editorial canvas treated like a design tool artboard: the hero headline sits inside live measurement overlays — cyan baseline rules, a blue selection box with handles, monospace pills reading oklch(0.991 0 0), x-height, 294 × 58, 32 px. The magazine is the subject and the craft of typesetting is the ornament. One saturated sky-blue CTA is the only loud colour in an otherwise fully monochrome page, so every pill-shaped Subscribe button reads as the single destination.
Technically it is Inter Variable at 400/450/500/600 doing almost all the work, with a Libre Baskerville italic swapped in mid-headline ("Magazine", "feel") and Heldane for pull-quotes, Berkeley Mono for every annotation, code block and label, and Mondwest as a display novelty in specimen cards. Colour is a single blue ramp over #fcfcfc; depth comes not from shadows but from a layered hairline recipe — a 1px 6% black ring plus two faint 1–2px drops — on 12px and 16px radius cards, while buttons and chips go fully pill (border-radius: 9999px). Spacing is a strict 4px grid, dense inside components (4/8/12/16) and generous between sections (64–128px).
Tokens — Colors
| Name |
Value |
Token |
Role |
| Paper White |
#fcfcfc |
--color-background |
Page ground on every route; the dominant surface by a huge margin, 1% off pure white so white cards lift off it |
| Card White |
#ffffff |
--color-card |
Raised surfaces: demo cards, pricing panels, inputs, nav pills — always paired with the hairline ring shadow |
| Ink |
#1a1a1a |
--color-foreground |
Headlines and body copy; the 60px hero and all h2/h3 sit here |
| Graphite |
#6b6b6b |
--color-muted-foreground |
Secondary copy, card subtitles, dates, annotation text, placeholder fill |
| Signal Blue |
#16b1f5 |
--color-primary |
The single CTA fill: Subscribe, Subscribe Now, Send code; also active link accent |
| Annotation Cyan |
#22d3ee |
--color-accent-line |
Baseline/x-height measurement rules drawn over the hero headline |
| Selection Blue |
#5865f2 |
--color-ring |
Artboard selection boxes, handles and focus rings around measured elements |
| Selection Fill |
#eef1fd |
--color-accent |
Translucent tint inside the hero selection rectangle; also hover tint on list rows |
| Measure Pink |
#ec4899 |
--color-semantic-measure |
Spacing annotation — the 32px gap swatch and its monospace label |
| Lavender Link |
#7c83ff |
--color-link |
Inline accent links inside annotation and Discord-flavoured UI |
| Night Ground |
#101010 |
--color-background-dark |
Page ground in the dark scheme; cards step up to #1a1a1a with white 6% rings |
Semantic roles
| Role |
Value |
| background |
#fcfcfc |
| surface |
#ffffff |
| surface raised |
#ffffff |
| border |
rgba(0,0,0,0.06) |
| text |
#1a1a1a |
| text muted |
#6b6b6b |
| primary |
#16b1f5 |
| primary text |
#ffffff |
| accent |
#5865f2 |
Tokens — Typography
- Body: Inter (400, 450, 500, 600) — fallbacks: Inter Variable, system-ui, -apple-system, Helvetica Neue, sans-serif. Does 90% of the page — hero at 60px/500 with -1.5px tracking, h2 at 24px/500 -0.3px, body at 18px/1.56. Use the variable 450 weight for inline links.
- Accent: Libre Baskerville (400, 500) — fallbacks: Heldane, Iowan Old Style, Georgia, serif. Italic only, used as a word-level swap inside sans headlines and prose ("Magazine", "feel"). Heldane 20px/1.38 carries the testimonial blockquotes.
- Mono: Berkeley Mono (400, 500, 700) — fallbacks: ui-monospace, SFMono-Regular, JetBrains Mono, monospace. Every annotation pill, code block, scorecard and tiny label. 12–14px, often uppercase-free and grey.
- Display: Mondwest (400) — fallbacks: Times New Roman, serif. Novelty display face reserved for type-specimen cards (76px "Aa Bb Cc") and a few issue titles. Never for UI chrome.
| Role |
Size |
Line height |
Weight |
Letter spacing |
Family |
| Display (specimen) |
76px |
1 |
400 |
normal |
display |
| H1 / Hero |
60px |
1 |
500 |
-1.5px |
body |
| Stat / Price |
36px |
1.11 |
500 |
normal |
body |
| H2 / Page title |
24px |
1.33 |
500 |
-0.3px |
body |
| Quote |
20px |
1.38 |
400 |
-0.2px |
accent |
| Body / Lead |
18px |
1.56 |
400 |
normal |
body |
| H3 / Card title |
18px |
1.56 |
500 |
normal |
body |
| Small / UI |
16px |
1.5 |
400 |
normal |
body |
| Mono caption |
13px |
1.4 |
400 |
normal |
mono |
Tokens — Spacing & Layout
- Base unit: 4px
- Density: comfortable
- Container max width: 720px (prose column); 1100px for full-bleed grids
- Section gap: 96px
- Card padding: 16px
- Scale: 2px, 4px, 6px, 8px, 12px, 16px, 20px, 24px, 32px, 64px, 80px, 128px
Tokens — Radius
| Element |
Value |
| Buttons, chips, author badge, date pill |
9999px |
| Inputs (login) |
8px |
| Small tags, code chips |
6px |
| Cards, demo panels |
12px |
| Large feature cards / media frames |
16px |
| Nested inner panels |
24px |
Tokens — Shadows
| Name |
Value |
Usage |
| hairline |
0 0 0 1px rgba(0,0,0,0.06), 0 1px 2px -1px rgba(0,0,0,0.06), 0 2px 4px 0 rgba(0,0,0,0.04) |
The house shadow — every card, panel, nav pill and badge. Ring first, then two whisper-soft drops. |
| inset-ring |
inset 0 0 0 1px rgba(0,0,0,0.09) |
Flat inset outlines on inputs, toggle groups and quiet secondary buttons. |
| lift |
0 1px 2px 0 rgba(0,0,0,0.05) |
Minimal lift on small interactive chips and list rows. |
| primary-cta |
inset 0 0 1px 1px rgba(255,255,255,0.06), 0 1.5px 2px 0 rgba(0,0,0,0.10), 0 0 0 1px #16b1f5 |
Blue Subscribe button: inner white rim + tight drop + colour-matched ring. |
Components
Primary CTA (Subscribe Now) (button)
| Property |
Value |
| background |
#16b1f5 |
| color |
#ffffff |
| border |
1px solid #16b1f5 |
| radius |
9999px |
| padding |
14px 28px |
| font size |
18px |
| font weight |
500 |
| shadow |
inset 0 0 1px 1px rgba(255,255,255,0.06), 0 1.5px 2px 0 rgba(0,0,0,0.10) |
| hover |
brightness(1.06) and a 1px upward translate; 150ms ease-out |
Full-width in forms and on mobile (max-width 300px block), auto-width in the hero. Only one per viewport.
Secondary pill (Log in / Back) (button)
| Property |
Value |
| background |
#ffffff |
| color |
#1a1a1a |
| border |
none |
| radius |
9999px |
| padding |
10px 20px |
| font size |
16px |
| font weight |
500 |
| shadow |
0 0 0 1px rgba(0,0,0,0.06), 0 1px 2px -1px rgba(0,0,0,0.06), 0 2px 4px 0 rgba(0,0,0,0.04) |
| hover |
background #fafafa, ring deepens to rgba(0,0,0,0.10) |
White pill floating on the #fcfcfc ground — the ring shadow is what makes it readable, not a border.
Email input (input)
| Property |
Value |
| background |
#ffffff |
| color |
#1a1a1a |
| border |
none |
| radius |
8px |
| padding |
0 12px |
| font size |
14px |
| font weight |
400 |
| shadow |
inset 0 0 0 1px rgba(0,0,0,0.09) |
| hover |
focus: inset ring becomes 1px #16b1f5 plus 0 0 0 3px rgba(22,177,245,0.15) |
44px tall on /login, 56px with 20px side padding in the newsletter form. Placeholder in Graphite #6b6b6b.
Content card (card)
| Property |
Value |
| background |
#ffffff |
| color |
#1a1a1a |
| border |
none |
| radius |
12px |
| padding |
16px |
| font size |
18px |
| font weight |
500 |
| shadow |
0 0 0 1px rgba(0,0,0,0.06), 0 1px 2px -1px rgba(0,0,0,0.06), 0 2px 4px 0 rgba(0,0,0,0.04) |
| hover |
no lift; interactive cards tint to #fafafa |
Title 18px/500 Inter, description 16px Graphite below. Media or live demo sits flush inside a 12px inner radius frame; a tiny mono label chip can sit in the top-right corner.
Sticky header (nav)
| Property |
Value |
| background |
transparent |
| color |
#1a1a1a |
| border |
none |
| radius |
0px |
| padding |
0 24px |
| font size |
16px |
| font weight |
400 |
| shadow |
none |
| hover |
link colour unchanged; pills get their ring deepened |
64px tall, position: sticky, fully transparent with no border or backdrop blur. Isometric logo mark far left, Log in white pill + Subscribe blue pill far right.
Annotation chip (badge)
| Property |
Value |
| background |
#ffffff |
| color |
#6b6b6b |
| border |
none |
| radius |
6px |
| padding |
4px 8px |
| font size |
13px |
| font weight |
400 |
| shadow |
0 0 0 1px rgba(0,0,0,0.06), 0 1px 2px -1px rgba(0,0,0,0.06) |
| hover |
none — decorative |
Berkeley Mono label in a tiny white pill, connected to its target by a 1px dashed grey leader line ending in a 4px hollow circle. Used for x-height, 294 × 58, oklch(0.991 0 0), Call to action.
Author / date pill (badge)
| Property |
Value |
| background |
#ffffff |
| color |
#1a1a1a |
| border |
none |
| radius |
9999px |
| padding |
6px 16px 6px 6px |
| font size |
16px |
| font weight |
400 |
| shadow |
0 0 0 1px rgba(0,0,0,0.06), 0 1px 2px -1px rgba(0,0,0,0.06), 0 2px 4px 0 rgba(0,0,0,0.04) |
| hover |
none |
24px circular avatar inset left, label right; the changelog variant drops the avatar and uses symmetrical 6px 16px padding.
Layout
Single centred column, left-aligned content, no visible gutters or rules. Prose locks to roughly 720px with 18px/1.56 text; feature grids break out to ~1100px as two- or three-up card rows with 16px gaps. The hero is left-aligned within the column rather than centred, giving the annotation chips room to float into the surrounding whitespace at arbitrary offsets. Sections are separated by 64–128px of empty paper with no dividers — rhythm comes from the h2 at 24px and the next paragraph, nothing else. Pricing and testimonial blocks use equal-height card grids; the footer-adjacent CTA repeats the blue pill.
Imagery
No photography on the marketing surfaces. Imagery is the product itself: screenshots of live demo cards, code blocks in Berkeley Mono, colour-swatch strips, type specimens in Mondwest, and a grid of monochrome company wordmarks (Anthropic, Vercel, Stripe, Google, Meta…) rendered at ~40% grey. The logo is a small isometric grey slab of 'pages'. The signature device is the annotation layer — cyan baseline rules, a Figma-style blue selection rectangle with square handles, pink spacing swatches and dashed leader lines drawn directly over real UI. Avatars are tiny circular photos only inside pills.
Motion
Restrained and physical. Hover states are 120–180ms ease-out colour/brightness shifts; interactive cards and carousels use spring-ish transforms rather than fades. The hero annotations are intended to feel drawn-on and can animate in on load (line draw, then chip fade). Respect prefers-reduced-motion by disabling the annotation reveal and any demo autoplay.
Responsive
At phone width the layout collapses to one column with ~16px side padding. The 64px header stays sticky and transparent but shows no menu drawer — just the logo mark plus the two pills (Log in, Subscribe), which shrink to 14–15px labels and tighter 8px/16px padding. The hero headline stays at 60px and simply rewraps from three to four lines ('Interfaces / The Design / Engineering / Magazine'), keeping the Libre Baskerville italic on its own line; the annotation chips reposition to sit above the lines they measure instead of beside them, and the 294 × 58 size label is dropped while the selection box grows to wrap two lines. The Subscribe Now CTA becomes a full-width (minus padding) pill at 56px tall with its 'Call to action' leader line centred beneath it. Multi-column card grids stack to single file at 16px gaps, section gaps shrink from ~96px to ~56px, and body copy stays 18px/1.56.
Do
- Keep the page ground at #fcfcfc and build every panel as pure #ffffff lifted by the ring shadow — it is the only depth cue.
- Use exactly one Signal Blue #16b1f5 pill per viewport; everything else is monochrome.
- Swap single words to Libre Baskerville italic inside sans headings and prose for editorial emphasis, never a whole sentence.
- Label anything technical in Berkeley Mono at 13px in Graphite — chips, code, scorecards, metric readouts.
- Track the 60px hero at -1.5px and h2 at -0.3px; large Inter needs the negative tracking to look set rather than typed.
- Pin annotation chips to their target with a 1px dashed grey leader ending in a hollow 4px dot.
- Stay on the 4px grid: 4/8/12/16 inside components, 64/96/128 between sections.
Don't
- Don't add hard 1px solid grey borders — the hairline is always a 6% black ring shadow.
- Don't introduce a second accent hue; cyan, indigo and pink exist only as measurement annotations, never as UI fills.
- Don't centre body copy or headlines — everything is left-aligned in the column.
- Don't use large blurred drop shadows or gradients on cards; max blur is 4px at 4% opacity.
- Don't set Mondwest or Heldane in navigation, buttons or body text — specimen and quotes only.
- Don't give the sticky header a background, blur or bottom border; it must float on the paper.
- Don't round buttons at 8–12px; CTAs and chips are fully pill at 9999px.
Agent prompt
Build a near-white design-engineering magazine: body background #fcfcfc, text #1a1a1a, secondary text #6b6b6b, Inter Variable (weights 400/450/500/600) for everything structural, Libre Baskerville italic as a word-level accent inside headlines and prose, Berkeley Mono (fallback ui-monospace) for all labels/code/annotation chips, and Mondwest reserved for 76px type-specimen cards. Hero h1 60px/1.0 weight 500 letter-spacing -1.5px, left-aligned in a ~720px column with the last word set in Libre Baskerville italic; h2 24px/1.33 weight 500 -0.3px; body 18px/1.56 weight 400; mono captions 13px. Surfaces are pure #ffffff cards at radius 12px (16px for feature/media frames, 24px for nested panels, 8px for inputs, 6px for tags) carrying the house shadow 0 0 0 1px rgba(0,0,0,0.06), 0 1px 2px -1px rgba(0,0,0,0.06), 0 2px 4px 0 rgba(0,0,0,0.04) — never a solid border. Buttons and badges are fully pill (9999px): the single CTA is #16b1f5 with white 18px/500 label, 14px 28px padding and an inset white rim; secondary is a white pill with the ring shadow. Header is 64px, sticky, fully transparent, no border or blur: isometric grey logo left, white 'Log in' pill and blue 'Subscribe' pill right. Space on a 4px grid (4/8/12/16/20/24 inside, 64/96/128 between sections), no dividers. The signature flourish is an annotation layer drawn over the hero: #22d3ee baseline and x-height rules, a #5865f2 selection rectangle with square handles and #eef1fd fill, a #ec4899 32px spacing swatch, and white mono chips (oklch(0.991 0 0), x-height, 294 × 58, Call to action) tethered by 1px dashed grey leader lines. Support prefers-color-scheme: dark by swapping the ground to #101010, cards to #1a1a1a, text to #fafafa and rings to rgba(255,255,255,0.08), keeping #16b1f5 as the CTA. Motion: 120–180ms ease-out hovers only.
CSS custom properties
/* Interfaces — CSS custom properties. Generated from style.json */
:root {
/* Palette */
--color-background: #fcfcfc; /* Page ground on every route; the dominant surface by a huge margin, 1% off pure white so white cards lift off it */
--color-card: #ffffff; /* Raised surfaces: demo cards, pricing panels, inputs, nav pills — always paired with the hairline ring shadow */
--color-foreground: #1a1a1a; /* Headlines and body copy; the 60px hero and all h2/h3 sit here */
--color-muted-foreground: #6b6b6b; /* Secondary copy, card subtitles, dates, annotation text, placeholder fill */
--color-primary: #16b1f5; /* The single CTA fill: Subscribe, Subscribe Now, Send code; also active link accent */
--color-accent-line: #22d3ee; /* Baseline/x-height measurement rules drawn over the hero headline */
--color-ring: #5865f2; /* Artboard selection boxes, handles and focus rings around measured elements */
--color-accent: #eef1fd; /* Translucent tint inside the hero selection rectangle; also hover tint on list rows */
--color-semantic-measure: #ec4899; /* Spacing annotation — the 32px gap swatch and its monospace label */
--color-link: #7c83ff; /* Inline accent links inside annotation and Discord-flavoured UI */
--color-background-dark: #101010; /* Page ground in the dark scheme; cards step up to #1a1a1a with white 6% rings */
/* Semantic roles */
--background: #fcfcfc;
--surface: #ffffff;
--surface-raised: #ffffff;
--border: rgba(0,0,0,0.06);
--text: #1a1a1a;
--text-muted: #6b6b6b;
--primary: #16b1f5;
--primary-text: #ffffff;
--accent: #5865f2;
/* Typography */
--font-body: Inter, 'Inter Variable', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
--font-accent: 'Libre Baskerville', Heldane, 'Iowan Old Style', Georgia, serif;
--font-mono: 'Berkeley Mono', ui-monospace, SFMono-Regular, 'JetBrains Mono', monospace;
--font-display: Mondwest, 'Times New Roman', serif;
--text-display-specimen: 76px;
--text-display-specimen--line-height: 1;
--text-display-specimen--letter-spacing: normal;
--text-display-specimen--font-weight: 400;
--text-h1-hero: 60px;
--text-h1-hero--line-height: 1;
--text-h1-hero--letter-spacing: -1.5px;
--text-h1-hero--font-weight: 500;
--text-stat-price: 36px;
--text-stat-price--line-height: 1.11;
--text-stat-price--letter-spacing: normal;
--text-stat-price--font-weight: 500;
--text-h2-page-title: 24px;
--text-h2-page-title--line-height: 1.33;
--text-h2-page-title--letter-spacing: -0.3px;
--text-h2-page-title--font-weight: 500;
--text-quote: 20px;
--text-quote--line-height: 1.38;
--text-quote--letter-spacing: -0.2px;
--text-quote--font-weight: 400;
--text-body-lead: 18px;
--text-body-lead--line-height: 1.56;
--text-body-lead--letter-spacing: normal;
--text-body-lead--font-weight: 400;
--text-h3-card-title: 18px;
--text-h3-card-title--line-height: 1.56;
--text-h3-card-title--letter-spacing: normal;
--text-h3-card-title--font-weight: 500;
--text-small-ui: 16px;
--text-small-ui--line-height: 1.5;
--text-small-ui--letter-spacing: normal;
--text-small-ui--font-weight: 400;
--text-mono-caption: 13px;
--text-mono-caption--line-height: 1.4;
--text-mono-caption--letter-spacing: normal;
--text-mono-caption--font-weight: 400;
/* Spacing */
--space-1: 2px;
--space-2: 4px;
--space-3: 6px;
--space-4: 8px;
--space-5: 12px;
--space-6: 16px;
--space-7: 20px;
--space-8: 24px;
--space-9: 32px;
--space-10: 64px;
--space-11: 80px;
--space-12: 128px;
--container: 720px (prose column); 1100px for full-bleed grids;
--section-gap: 96px;
/* Radius */
--radius-buttons-chips-author-badge-date-pill: 9999px;
--radius-inputs-login: 8px;
--radius-small-tags-code-chips: 6px;
--radius-cards-demo-panels: 12px;
--radius-large-feature-cards-media-frames: 16px;
--radius-nested-inner-panels: 24px;
/* Shadows */
--shadow-hairline: 0 0 0 1px rgba(0,0,0,0.06), 0 1px 2px -1px rgba(0,0,0,0.06), 0 2px 4px 0 rgba(0,0,0,0.04);
--shadow-inset-ring: inset 0 0 0 1px rgba(0,0,0,0.09);
--shadow-lift: 0 1px 2px 0 rgba(0,0,0,0.05);
--shadow-primary-cta: inset 0 0 1px 1px rgba(255,255,255,0.06), 0 1.5px 2px 0 rgba(0,0,0,0.10), 0 0 0 1px #16b1f5;
}
Tailwind v4 theme
/* Interfaces — Tailwind CSS v4 theme. Import after tailwindcss: @import "tailwindcss"; then paste this block. */
@theme {
--color-background: #fcfcfc;
--color-card: #ffffff;
--color-foreground: #1a1a1a;
--color-muted-foreground: #6b6b6b;
--color-primary: #16b1f5;
--color-accent-line: #22d3ee;
--color-ring: #5865f2;
--color-accent: #eef1fd;
--color-semantic-measure: #ec4899;
--color-link: #7c83ff;
--color-background-dark: #101010;
--color-background: #fcfcfc;
--color-surface: #ffffff;
--color-surface-raised: #ffffff;
--color-border: rgba(0,0,0,0.06);
--color-text: #1a1a1a;
--color-text-muted: #6b6b6b;
--color-primary: #16b1f5;
--color-primary-text: #ffffff;
--color-accent: #5865f2;
--font-body: Inter, 'Inter Variable', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
--font-accent: 'Libre Baskerville', Heldane, 'Iowan Old Style', Georgia, serif;
--font-mono: 'Berkeley Mono', ui-monospace, SFMono-Regular, 'JetBrains Mono', monospace;
--font-display: Mondwest, 'Times New Roman', serif;
--text-display-specimen: 76px;
--text-display-specimen--line-height: 1;
--text-display-specimen--letter-spacing: normal;
--text-display-specimen--font-weight: 400;
--text-h1-hero: 60px;
--text-h1-hero--line-height: 1;
--text-h1-hero--letter-spacing: -1.5px;
--text-h1-hero--font-weight: 500;
--text-stat-price: 36px;
--text-stat-price--line-height: 1.11;
--text-stat-price--letter-spacing: normal;
--text-stat-price--font-weight: 500;
--text-h2-page-title: 24px;
--text-h2-page-title--line-height: 1.33;
--text-h2-page-title--letter-spacing: -0.3px;
--text-h2-page-title--font-weight: 500;
--text-quote: 20px;
--text-quote--line-height: 1.38;
--text-quote--letter-spacing: -0.2px;
--text-quote--font-weight: 400;
--text-body-lead: 18px;
--text-body-lead--line-height: 1.56;
--text-body-lead--letter-spacing: normal;
--text-body-lead--font-weight: 400;
--text-h3-card-title: 18px;
--text-h3-card-title--line-height: 1.56;
--text-h3-card-title--letter-spacing: normal;
--text-h3-card-title--font-weight: 500;
--text-small-ui: 16px;
--text-small-ui--line-height: 1.5;
--text-small-ui--letter-spacing: normal;
--text-small-ui--font-weight: 400;
--text-mono-caption: 13px;
--text-mono-caption--line-height: 1.4;
--text-mono-caption--letter-spacing: normal;
--text-mono-caption--font-weight: 400;
--radius-buttons-chips-author-badge-date-pill: 9999px;
--radius-inputs-login: 8px;
--radius-small-tags-code-chips: 6px;
--radius-cards-demo-panels: 12px;
--radius-large-feature-cards-media-frames: 16px;
--radius-nested-inner-panels: 24px;
--shadow-hairline: 0 0 0 1px rgba(0,0,0,0.06), 0 1px 2px -1px rgba(0,0,0,0.06), 0 2px 4px 0 rgba(0,0,0,0.04);
--shadow-inset-ring: inset 0 0 0 1px rgba(0,0,0,0.09);
--shadow-lift: 0 1px 2px 0 rgba(0,0,0,0.05);
--shadow-primary-cta: inset 0 0 1px 1px rgba(255,255,255,0.06), 0 1.5px 2px 0 rgba(0,0,0,0.10), 0 0 0 1px #16b1f5;
--container-site: 720px (prose column); 1100px for full-bleed grids;
}
Theme tokens — light + dark
The shadcn-named layer DevDojo Sites speaks (bg-background, text-foreground, bg-primary, rounded-medium…). Paste into site.css after @import "tailwindcss" to restyle any site in this look.
/* Interfaces — DevDojo theme tokens (light + dark). Generated from style.json. */
/* Drop into site.css after @import "tailwindcss": bg-background, text-foreground, bg-primary, border-border, rounded-medium… all read these. Both schemes come from the site. */
@custom-variant dark (&:where(.dark, .dark *));
:root {
color-scheme: light;
--background: #fcfcfc;
--foreground: #1a1a1a;
--card: #ffffff;
--card-foreground: #1a1a1a;
--popover: #ffffff;
--popover-foreground: #1a1a1a;
--primary: #16b1f5;
--primary-foreground: #ffffff;
--secondary: #f4f4f5; /* estimated */
--secondary-foreground: #1a1a1a;
--muted: #f4f4f5; /* estimated */
--muted-foreground: #6b6b6b;
--accent: #eef1fd;
--accent-foreground: #5865f2;
--destructive: #ec4899; /* estimated */
--destructive-foreground: #ffffff; /* estimated */
--border: rgba(0,0,0,0.06);
--input: rgba(0,0,0,0.09);
--ring: #16b1f5; /* estimated */
--radius-small: 6px;
--radius-medium: 12px;
--radius-large: 16px;
--radius: var(--radius-medium);
--font-body: Inter, 'Inter Variable', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
--font-mono: 'Berkeley Mono', ui-monospace, SFMono-Regular, 'JetBrains Mono', monospace;
--font-display: Mondwest, 'Times New Roman', serif;
}
.dark {
color-scheme: dark;
--background: #101010;
--foreground: #fafafa;
--card: #1a1a1a;
--card-foreground: #fafafa;
--popover: #1a1a1a;
--popover-foreground: #fafafa;
--primary: #16b1f5;
--primary-foreground: #ffffff;
--secondary: #1f1f1f;
--secondary-foreground: #fafafa;
--muted: #1f1f1f;
--muted-foreground: #9b9b9b;
--accent: #1c1f33;
--accent-foreground: #9aa0ff;
--destructive: #ec4899;
--destructive-foreground: #ffffff;
--border: rgba(255,255,255,0.08);
--input: rgba(255,255,255,0.12);
--ring: #16b1f5;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-destructive: var(--destructive);
--color-destructive-foreground: var(--destructive-foreground);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--radius-small: var(--radius-small);
--radius-medium: var(--radius-medium);
--radius-large: var(--radius-large);
--font-body: var(--font-body);
--font-mono: var(--font-mono);
--font-display: var(--font-display);
}
Interfaces — Style Reference
annotated whitewall type specimen
Theme: light · Mood: light, minimal, technical, precise, editorial, typographic
A near-white editorial canvas treated like a design tool artboard: the hero headline sits inside live measurement overlays — cyan baseline rules, a blue selection box with handles, monospace pills reading oklch(0.991 0 0), x-height, 294 × 58, 32 px. The magazine is the subject and the craft of typesetting is the ornament. One saturated sky-blue CTA is the only loud colour in an otherwise fully monochrome page, so every pill-shaped Subscribe button reads as the single destination.
Tokens — Colors
| Name |
Value |
Token |
Role |
| Paper White |
#fcfcfc |
--background |
Page ground on every route; the dominant surface by a huge margin, 1% off pure white so white cards lift off it |
| Card White |
#ffffff |
--card |
Raised surfaces: demo cards, pricing panels, inputs, nav pills — always paired with the hairline ring shadow |
| Ink |
#1a1a1a |
--foreground |
Headlines and body copy; the 60px hero and all h2/h3 sit here |
| Graphite |
#6b6b6b |
--muted-foreground |
Secondary copy, card subtitles, dates, annotation text, placeholder fill |
| Signal Blue |
#16b1f5 |
--primary |
The single CTA fill: Subscribe, Subscribe Now, Send code; also active link accent |
| Annotation Cyan |
#22d3ee |
--accent-line |
Baseline/x-height measurement rules drawn over the hero headline |
| Selection Blue |
#5865f2 |
--ring |
Artboard selection boxes, handles and focus rings around measured elements |
| Selection Fill |
#eef1fd |
--accent |
Translucent tint inside the hero selection rectangle; also hover tint on list rows |
| Measure Pink |
#ec4899 |
--semantic-measure |
Spacing annotation — the 32px gap swatch and its monospace label |
| Lavender Link |
#7c83ff |
--link |
Inline accent links inside annotation and Discord-flavoured UI |
| Night Ground |
#101010 |
--background-dark |
Page ground in the dark scheme; cards step up to #1a1a1a with white 6% rings |
Tokens — Typography
- Body: Inter (Inter Variable, system-ui, -apple-system, Helvetica Neue, sans-serif) — weights 400/450/500/600
- Accent: Libre Baskerville (Heldane, Iowan Old Style, Georgia, serif) — weights 400/500
- Mono: Berkeley Mono (ui-monospace, SFMono-Regular, JetBrains Mono, monospace) — weights 400/500/700
- Display: Mondwest (Times New Roman, serif) — weights 400
Tokens — Radius
| Element |
Value |
| Buttons, chips, author badge, date pill |
9999px |
| Inputs (login) |
8px |
| Small tags, code chips |
6px |
| Cards, demo panels |
12px |
| Large feature cards / media frames |
16px |
| Nested inner panels |
24px |
Do
- Keep the page ground at #fcfcfc and build every panel as pure #ffffff lifted by the ring shadow — it is the only depth cue.
- Use exactly one Signal Blue #16b1f5 pill per viewport; everything else is monochrome.
- Swap single words to Libre Baskerville italic inside sans headings and prose for editorial emphasis, never a whole sentence.
- Label anything technical in Berkeley Mono at 13px in Graphite — chips, code, scorecards, metric readouts.
- Track the 60px hero at -1.5px and h2 at -0.3px; large Inter needs the negative tracking to look set rather than typed.
- Pin annotation chips to their target with a 1px dashed grey leader ending in a hollow 4px dot.
- Stay on the 4px grid: 4/8/12/16 inside components, 64/96/128 between sections.
Don't
- Don't add hard 1px solid grey borders — the hairline is always a 6% black ring shadow.
- Don't introduce a second accent hue; cyan, indigo and pink exist only as measurement annotations, never as UI fills.
- Don't centre body copy or headlines — everything is left-aligned in the column.
- Don't use large blurred drop shadows or gradients on cards; max blur is 4px at 4% opacity.
- Don't set Mondwest or Heldane in navigation, buttons or body text — specimen and quotes only.
- Don't give the sticky header a background, blur or bottom border; it must float on the paper.
- Don't round buttons at 8–12px; CTAs and chips are fully pill at 9999px.
{
"$name": "Interfaces",
"$source": "https://interfaces.dev",
"$theme": "light",
"$generated": "inspiration library",
"color": {
"background": {
"$type": "color",
"$value": "#fcfcfc",
"$description": "Page ground on every route; the dominant surface by a huge margin, 1% off pure white so white cards lift off it"
},
"card": {
"$type": "color",
"$value": "#ffffff",
"$description": "Raised surfaces: demo cards, pricing panels, inputs, nav pills — always paired with the hairline ring shadow"
},
"foreground": {
"$type": "color",
"$value": "#1a1a1a",
"$description": "Headlines and body copy; the 60px hero and all h2/h3 sit here"
},
"muted-foreground": {
"$type": "color",
"$value": "#6b6b6b",
"$description": "Secondary copy, card subtitles, dates, annotation text, placeholder fill"
},
"primary": {
"$type": "color",
"$value": "#16b1f5",
"$description": "The single CTA fill: Subscribe, Subscribe Now, Send code; also active link accent"
},
"accent-line": {
"$type": "color",
"$value": "#22d3ee",
"$description": "Baseline/x-height measurement rules drawn over the hero headline"
},
"ring": {
"$type": "color",
"$value": "#5865f2",
"$description": "Artboard selection boxes, handles and focus rings around measured elements"
},
"accent": {
"$type": "color",
"$value": "#eef1fd",
"$description": "Translucent tint inside the hero selection rectangle; also hover tint on list rows"
},
"semantic-measure": {
"$type": "color",
"$value": "#ec4899",
"$description": "Spacing annotation — the 32px gap swatch and its monospace label"
},
"link": {
"$type": "color",
"$value": "#7c83ff",
"$description": "Inline accent links inside annotation and Discord-flavoured UI"
},
"background-dark": {
"$type": "color",
"$value": "#101010",
"$description": "Page ground in the dark scheme; cards step up to #1a1a1a with white 6% rings"
}
},
"role": {
"background": {
"$type": "color",
"$value": "#fcfcfc"
},
"surface": {
"$type": "color",
"$value": "#ffffff"
},
"surface_raised": {
"$type": "color",
"$value": "#ffffff"
},
"border": {
"$type": "color",
"$value": "rgba(0,0,0,0.06)"
},
"text": {
"$type": "color",
"$value": "#1a1a1a"
},
"text_muted": {
"$type": "color",
"$value": "#6b6b6b"
},
"primary": {
"$type": "color",
"$value": "#16b1f5"
},
"primary_text": {
"$type": "color",
"$value": "#ffffff"
},
"accent": {
"$type": "color",
"$value": "#5865f2"
}
},
"fontFamily": {
"body": {
"$type": "fontFamily",
"$value": [
"Inter",
"Inter Variable",
"system-ui",
"-apple-system",
"Helvetica Neue",
"sans-serif"
],
"$description": "Does 90% of the page — hero at 60px/500 with -1.5px tracking, h2 at 24px/500 -0.3px, body at 18px/1.56. Use the variable 450 weight for inline links."
},
"accent": {
"$type": "fontFamily",
"$value": [
"Libre Baskerville",
"Heldane",
"Iowan Old Style",
"Georgia",
"serif"
],
"$description": "Italic only, used as a word-level swap inside sans headlines and prose (\"Magazine\", \"feel\"). Heldane 20px/1.38 carries the testimonial blockquotes."
},
"mono": {
"$type": "fontFamily",
"$value": [
"Berkeley Mono",
"ui-monospace",
"SFMono-Regular",
"JetBrains Mono",
"monospace"
],
"$description": "Every annotation pill, code block, scorecard and tiny label. 12–14px, often uppercase-free and grey."
},
"display": {
"$type": "fontFamily",
"$value": [
"Mondwest",
"Times New Roman",
"serif"
],
"$description": "Novelty display face reserved for type-specimen cards (76px \"Aa Bb Cc\") and a few issue titles. Never for UI chrome."
}
},
"typography": {
"display-specimen": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "76px",
"lineHeight": "1",
"fontWeight": 400,
"letterSpacing": "normal"
}
},
"h1-hero": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "60px",
"lineHeight": "1",
"fontWeight": 500,
"letterSpacing": "-1.5px"
}
},
"stat-price": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "36px",
"lineHeight": "1.11",
"fontWeight": 500,
"letterSpacing": "normal"
}
},
"h2-page-title": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "24px",
"lineHeight": "1.33",
"fontWeight": 500,
"letterSpacing": "-0.3px"
}
},
"quote": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.accent}",
"fontSize": "20px",
"lineHeight": "1.38",
"fontWeight": 400,
"letterSpacing": "-0.2px"
}
},
"body-lead": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "18px",
"lineHeight": "1.56",
"fontWeight": 400,
"letterSpacing": "normal"
}
},
"h3-card-title": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "18px",
"lineHeight": "1.56",
"fontWeight": 500,
"letterSpacing": "normal"
}
},
"small-ui": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "16px",
"lineHeight": "1.5",
"fontWeight": 400,
"letterSpacing": "normal"
}
},
"mono-caption": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.mono}",
"fontSize": "13px",
"lineHeight": "1.4",
"fontWeight": 400,
"letterSpacing": "normal"
}
}
},
"spacing": {
"1": {
"$type": "dimension",
"$value": "2px"
},
"2": {
"$type": "dimension",
"$value": "4px"
},
"3": {
"$type": "dimension",
"$value": "6px"
},
"4": {
"$type": "dimension",
"$value": "8px"
},
"5": {
"$type": "dimension",
"$value": "12px"
},
"6": {
"$type": "dimension",
"$value": "16px"
},
"7": {
"$type": "dimension",
"$value": "20px"
},
"8": {
"$type": "dimension",
"$value": "24px"
},
"9": {
"$type": "dimension",
"$value": "32px"
},
"10": {
"$type": "dimension",
"$value": "64px"
},
"11": {
"$type": "dimension",
"$value": "80px"
},
"12": {
"$type": "dimension",
"$value": "128px"
}
},
"radius": {
"buttons-chips-author-badge-date-pill": {
"$type": "dimension",
"$value": "9999px"
},
"inputs-login": {
"$type": "dimension",
"$value": "8px"
},
"small-tags-code-chips": {
"$type": "dimension",
"$value": "6px"
},
"cards-demo-panels": {
"$type": "dimension",
"$value": "12px"
},
"large-feature-cards-media-frames": {
"$type": "dimension",
"$value": "16px"
},
"nested-inner-panels": {
"$type": "dimension",
"$value": "24px"
}
},
"shadow": {
"hairline": {
"$type": "shadow",
"$value": "0 0 0 1px rgba(0,0,0,0.06), 0 1px 2px -1px rgba(0,0,0,0.06), 0 2px 4px 0 rgba(0,0,0,0.04)",
"$description": "The house shadow — every card, panel, nav pill and badge. Ring first, then two whisper-soft drops."
},
"inset-ring": {
"$type": "shadow",
"$value": "inset 0 0 0 1px rgba(0,0,0,0.09)",
"$description": "Flat inset outlines on inputs, toggle groups and quiet secondary buttons."
},
"lift": {
"$type": "shadow",
"$value": "0 1px 2px 0 rgba(0,0,0,0.05)",
"$description": "Minimal lift on small interactive chips and list rows."
},
"primary-cta": {
"$type": "shadow",
"$value": "inset 0 0 1px 1px rgba(255,255,255,0.06), 0 1.5px 2px 0 rgba(0,0,0,0.10), 0 0 0 1px #16b1f5",
"$description": "Blue Subscribe button: inner white rim + tight drop + colour-matched ring."
}
},
"component": {
"primary-cta-subscribe-now": {
"kind": "button",
"background": "#16b1f5",
"color": "#ffffff",
"border": "1px solid #16b1f5",
"radius": "9999px",
"padding": "14px 28px",
"font_size": "18px",
"font_weight": 500,
"shadow": "inset 0 0 1px 1px rgba(255,255,255,0.06), 0 1.5px 2px 0 rgba(0,0,0,0.10)",
"hover": "brightness(1.06) and a 1px upward translate; 150ms ease-out",
"notes": "Full-width in forms and on mobile (max-width 300px block), auto-width in the hero. Only one per viewport."
},
"secondary-pill-log-in-back": {
"kind": "button",
"background": "#ffffff",
"color": "#1a1a1a",
"border": "none",
"radius": "9999px",
"padding": "10px 20px",
"font_size": "16px",
"font_weight": 500,
"shadow": "0 0 0 1px rgba(0,0,0,0.06), 0 1px 2px -1px rgba(0,0,0,0.06), 0 2px 4px 0 rgba(0,0,0,0.04)",
"hover": "background #fafafa, ring deepens to rgba(0,0,0,0.10)",
"notes": "White pill floating on the #fcfcfc ground — the ring shadow is what makes it readable, not a border."
},
"email-input": {
"kind": "input",
"background": "#ffffff",
"color": "#1a1a1a",
"border": "none",
"radius": "8px",
"padding": "0 12px",
"font_size": "14px",
"font_weight": 400,
"shadow": "inset 0 0 0 1px rgba(0,0,0,0.09)",
"hover": "focus: inset ring becomes 1px #16b1f5 plus 0 0 0 3px rgba(22,177,245,0.15)",
"notes": "44px tall on /login, 56px with 20px side padding in the newsletter form. Placeholder in Graphite #6b6b6b."
},
"content-card": {
"kind": "card",
"background": "#ffffff",
"color": "#1a1a1a",
"border": "none",
"radius": "12px",
"padding": "16px",
"font_size": "18px",
"font_weight": 500,
"shadow": "0 0 0 1px rgba(0,0,0,0.06), 0 1px 2px -1px rgba(0,0,0,0.06), 0 2px 4px 0 rgba(0,0,0,0.04)",
"hover": "no lift; interactive cards tint to #fafafa",
"notes": "Title 18px/500 Inter, description 16px Graphite below. Media or live demo sits flush inside a 12px inner radius frame; a tiny mono label chip can sit in the top-right corner."
},
"sticky-header": {
"kind": "nav",
"background": "transparent",
"color": "#1a1a1a",
"border": "none",
"radius": "0px",
"padding": "0 24px",
"font_size": "16px",
"font_weight": 400,
"shadow": "none",
"hover": "link colour unchanged; pills get their ring deepened",
"notes": "64px tall, position: sticky, fully transparent with no border or backdrop blur. Isometric logo mark far left, Log in white pill + Subscribe blue pill far right."
},
"annotation-chip": {
"kind": "badge",
"background": "#ffffff",
"color": "#6b6b6b",
"border": "none",
"radius": "6px",
"padding": "4px 8px",
"font_size": "13px",
"font_weight": 400,
"shadow": "0 0 0 1px rgba(0,0,0,0.06), 0 1px 2px -1px rgba(0,0,0,0.06)",
"hover": "none — decorative",
"notes": "Berkeley Mono label in a tiny white pill, connected to its target by a 1px dashed grey leader line ending in a 4px hollow circle. Used for `x-height`, `294 × 58`, `oklch(0.991 0 0)`, `Call to action`."
},
"author-date-pill": {
"kind": "badge",
"background": "#ffffff",
"color": "#1a1a1a",
"border": "none",
"radius": "9999px",
"padding": "6px 16px 6px 6px",
"font_size": "16px",
"font_weight": 400,
"shadow": "0 0 0 1px rgba(0,0,0,0.06), 0 1px 2px -1px rgba(0,0,0,0.06), 0 2px 4px 0 rgba(0,0,0,0.04)",
"hover": "none",
"notes": "24px circular avatar inset left, label right; the changelog variant drops the avatar and uses symmetrical 6px 16px padding."
}
}
}