---
version: alpha
name: Joshwcomeau
description: Light design system extracted from www.joshwcomeau.com (DOM-true values, Emblematic extractor 0.2.0, 2026-11-12).
colors:
  background: "#FFFFFF"
  on-surface: "#0A0C10"
  on-surface-variant: "#5A6072"
  primary: "#B1DFF6"
  sky-from: "#A0D4EE"
  sky-to: "#7DC4E8"
  color-7: "#294E60"
  gray-900: "#262D40"
  on-primary: "#0A0C10"
  background-dark: "#0D0F12"
  on-surface-dark: "#E3E6E8"
  on-surface-variant-dark: "#9CA8B4"
typography:
  display-lg:
    fontFamily: Wotfard
    fontSize: 32px
    fontWeight: 700
    lineHeight: 1.5
  headline-md:
    fontFamily: Wotfard
    fontSize: 16px
    fontWeight: 500
    lineHeight: 1.5
    letterSpacing: 0.125em
  body-md:
    fontFamily: Wotfard
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  body-sm:
    fontFamily: Wotfard
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.5
  mono-md:
    fontFamily: Cartograph CF
    fontSize: 15.94px
    fontWeight: 600
    lineHeight: 1.5
rounded:
  xs: 2px
  sm: 4px
  md: 8px
  lg: 12px
spacing:
  xxs: 2px
  xs: 4px
  sm: 5px
  md: 8px
  lg: 12px
  xl: 16px
  2xl: 32px
  3xl: 36px
  4xl: 48px
  5xl: 96px
  6xl: 170px
  base: 4px
  container: 1100px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-surface}"
    rounded: "{rounded.md}"
    padding: 5px
    height: 31px
  input:
    rounded: 0px
    padding: 4px
    height: 36px
---

# Joshwcomeau

> Extracted from [https://www.joshwcomeau.com/](https://www.joshwcomeau.com/) on 2026-11-12 by Emblematic. Every value below was read from the rendered DOM (computed styles, `document.fonts`, and the fonts Chrome actually used to paint text), not estimated from pixels. When the YAML front matter and this prose disagree, the YAML wins. Copy values from this file exactly; don't transcribe them from memory. Don't copy logos, imagery, illustrations or marketing copy.

## Overview

Joshwcomeau uses a light canvas (#FFFFFF) with a palette led by #B1DFF6. Type is set in **Wotfard** (display + body), **Cartograph CF** (mono), with 16px body text. Layout: 1100px container, top-static+transparent navigation, 3 sections. Built with next.js, vercel.

## Colors

Area-weighted from painted backgrounds, text and borders on the 1440px light capture. Roles are inferred from usage (largest background, most text, interactive fills). Every hex is an exact computed value; a role marked *unverified* is a best guess that has not passed review, so its canonical token (e.g. `primary`) is left out of the front matter.

| Token | Hex | OKLCH | Role | Share of paint | CSS variable |
|---|---|---|---|---|---|
| `background` | `#FFFFFF` | 1 0 0 | bg | 77.2% | `--color-background` |
| `on-surface` | `#0A0C10` | 0.154 0.009 264.3 | text | 11.6% | `--color-text` |
| `on-surface-variant` | `#5A6072` | 0.491 0.03 270.7 | muted | 0.68% | `--color-gray-700` |
| `primary` | `#B1DFF6` | 0.879 0.057 229.8 | accent | 0.38% | `--color-cloud-500` |
| `sky-from` | `#A0D4EE` | 0.843 0.065 230.1 | other | 6.6% | `--color-sky-from` |
| `sky-to` | `#7DC4E8` | 0.787 0.088 231.5 | other | 2.7% | `--color-sky-to` |
| `color-7` | `#294E60` | 0.404 0.052 231.1 | other | 0.24% | — |
| `gray-900` | `#262D40` | 0.299 0.036 268.6 | other | 0.14% | `--color-gray-900` |

Sparse chromatic highlights (not accents): `#4242FA` (`--color-primary`), `#E60067` (`--color-secondary`).

Declared brand/accent tokens: `--color-primary` = `#4242FA`, `--color-page-primary` = `#4242FA`.

Contrast: text on background 19.57:1, muted text 6.27:1, accent 1.42:1.

Gradients in use: `linear-gradient(rgb(160, 212, 238), rgb(125, 196, 232))`; `linear-gradient(to top, rgba(0, 0, 0, 0) 0px, rgb(160, 212, 238) 100%)`.

The site responds to `prefers-color-scheme: dark`; the `-dark` tokens hold the dark-mode roles.

## Typography

| Family | Role | Weights | Share of text | Source |
|---|---|---|---|---|
| **Wotfard** | display, body | 400, 500, 600, 700 | 98.6% | webfont |
| **Cartograph CF** | mono | 600 | 1.4% | webfont |

Declared in `@font-face` but not used to paint text on this page: Sriracha. Don't treat these as the page's fonts.

Scale (px): 12, 14, 16, 17, 19, 22, 32. Effective ratio ≈ 1.189 (close to a minor third). Body 16px at line-height 1.5; display 32px with tracking 0em. Headings are upper case. On a 390px viewport the body is 16px and display 32px.

## Layout

Spacing follows a 4px base unit; the most used steps are 2, 4, 5, 8, 12, 16, 32, 36, 48, 96, 170px. Sections open with about 32px of space before their first line of text. Content sits in a 1100px container on a 2-column grid. Text density 0.143 (text area / page area).

Section order (desktop). Kinds below the review threshold are shown as *section*:

1. **hero** (2757px, bg #A0D4EE)
2. **section** (725px, bg #FFFFFF)
3. **footer** — “General” (687px, bg #FFFFFF)

## Elevation & Depth

Style: flat. Most used shadows:

- `rgba(0, 0, 0, 0.02) 0px -5.9px 2.7px 0px, rgba(0, 0, 0, 0.024) 0px -1.2px 6.9px 0px, rgba(0, 0, 0, 0.03) 0px 8px 14.2px 0px, rgba(0, 0, 0, 0.04) 0px 21.9px 29.2px 0px, rgba(0, 0, 0, 0.07) 0px 49px 80px 0px`

## Shapes

Dominant corner radius 8px; radii in use: 2px, 4px, 8px, 12px. Borders: none.

## Components

- **button-primary**: backgroundColor `#B1DFF6`, textColor `#0A0C10`, rounded `8px`, padding `5px 12px`, height `31px`, fontFamily `Wotfard`, fontSize `14px`, fontWeight `400` (e.g. “React”)
- **input**: rounded `0px`, height `36px`, padding `4px 8px`

## Do's and Don'ts

- Do reserve `#B1DFF6` for primary actions and highlights; it covers only 0.38% of the painted page.
- Do set body copy in Wotfard at 16px / 1.5.
- Don't introduce font weights beyond 400, 500, 600, 700.
- Don't add drop shadows; depth comes from tone and borders.
- Do keep corners at 8px for most controls, and use the larger radii only for cards and media.
- Do snap spacing to multiples of 4px.
- Don't copy this site's logos, illustrations, photography or copy; use the system, not the brand assets.

## Provenance

Spec v2, extractor 0.2.0. Render quality: **ok**. Vision pass: not run. Fields below confidence 0.7 are hedged or left out above: `color.accent_strategy`, `layout.columns`, `layout.hero`, `layout.section_count`, `sections[].kind`, `space.section_padding_px`. Full per-field provenance is in `spec.json`.
