---
version: alpha
name: Primer
description: Light design system extracted from primer.style (DOM-true values, Emblematic extractor 0.2.0, 2026-11-17).
colors:
  background: "#F6F8FA"
  surface: "#FFFFFF"
  on-surface-variant: "#58635B"
  on-surface: "#000000"
  primary: "#0055D5"
  ansi-gray: "#59636E"
typography:
  display-lg:
    fontFamily: Mona Sans
    fontSize: 56px
    fontWeight: 440
    lineHeight: 1.1
  headline-md:
    fontFamily: Mona Sans
    fontSize: 34px
    fontWeight: 500
    lineHeight: 1.3
  body-md:
    fontFamily: Mona Sans
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
    letterSpacing: 0.015em
  body-sm:
    fontFamily: system-ui
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1.5
rounded:
  xs: 6px
  sm: 8px
  md: 12px
  lg: 24px
spacing:
  xxs: 2px
  xs: 4px
  sm: 8px
  md: 12px
  lg: 16px
  xl: 24px
  2xl: 28px
  3xl: 32px
  4xl: 48px
  5xl: 56px
  6xl: 96px
  base: 4px
  container: 1184px
components:
  button-secondary:
    textColor: "#25292E"
    rounded: "{rounded.xs}"
    padding: 0px
    height: 32px
  card:
    backgroundColor: "{colors.surface}"
    rounded: "{rounded.sm}"
    padding: 32px
---

# Primer

> Extracted from [https://primer.style/](https://primer.style/) on 2026-11-17 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

Primer uses a light canvas (#F6F8FA) with a palette led by #0055D5. Type is set in **Mona Sans** (display + body), with 16px body text. Layout: 1184px container, top-sticky navigation, 3 sections. Built with next.js, github-pages.

## 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` | `#F6F8FA` | 0.978 0.003 247.9 | bg | 46.8% | `--bgColor-muted` |
| `surface` | `#FFFFFF` | 1 0 0 | surface | 44.7% | `--card-bgColor` |
| `on-surface-variant` | `#58635B` | 0.488 0.019 154.1 | muted | 3.9% | `--brand-Spinner-fgColor` |
| `on-surface` | `#000000` | 0 0 0 | text | 3.2% | `--brand-color-text-default` |
| `primary` | `#0055D5` | 0.494 0.209 260.6 | accent | 0.87% | `--brand-Link-color-accent` |
| `ansi-gray` | `#59636E` | 0.495 0.022 250.8 | other | 0.31% | `--ansi-gray` |

Declared brand/accent tokens: `--bgColor-accent-emphasis` = `#0969DA` (declared, not painted on this page), `--brand-color-accent-primary` = `#0D6731` (declared, not painted on this page), `--brand-Token-bgColor-accent` = `#08872B` (declared, not painted on this page).

Contrast: text on background 19.73:1, muted text 5.89:1, accent 6.05:1.

The site does not change under `prefers-color-scheme: dark`.

## Typography

| Family | Role | Weights | Share of text | Source |
|---|---|---|---|---|
| **Mona Sans** | display, body | 400, 440, 480, 500 | 99.3% | webfont |

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

Scale (px): 14, 16, 22, 28, 34, 56. Effective ratio ≈ 1.368 (close to a perfect fourth). Body 16px at line-height 1.5; display 56px with tracking 0em. Headings are sentence case. On a 390px viewport the body is 16px and display 36px.

## Layout

Spacing follows a 4px base unit; the most used steps are 2, 4, 8, 12, 16, 24, 28, 32, 48, 56, 96px. Content sits in a 1184px container on a 2-column grid. Text density 0.071 (text area / page area).

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

1. **nav** (65px, bg #FFFFFF)
2. **hero** — “Build UI at GitHub with” (866px, bg #FFFFFF)
3. **section** — “Design digital marketing experiences with” (1340px, bg #FFFFFF)

## Elevation & Depth

Style: subtle. Most used shadows:

- `rgba(31, 35, 40, 0.04) 0px 1px 0px 0px`

## Shapes

Dominant corner radius 8px; radii in use: 6px, 8px, 12px, 24px. Borders: hairline (1px).

## Components

- **button-secondary**: textColor `#25292E`, rounded `6px`, padding `0px 12px`, height `32px`, fontFamily `Mona Sans VF`, fontSize `14px`, fontWeight `500`, border `1px solid #D1D9E0`, shadow `rgba(31, 35, 40, 0.04) 0px 1px 0px 0px`
- **card**: rounded `8px`, padding `32px`, backgroundColor `#FFFFFF`

## Do's and Don'ts

- Do reserve `#0055D5` for primary actions and highlights; it covers only 0.87% of the painted page.
- Do set body copy in Mona Sans at 16px / 1.5.
- Don't introduce font weights beyond 400, 440, 480, 500.
- 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`, `components`, `layout.columns`, `layout.hero`, `layout.section_count`, `space.section_padding_px`. Full per-field provenance is in `spec.json`.
