Pigment Margin Notes

Updated 2026-10-19

Warm paper, near-black ink for every action, hairlines and a tightly tracked grotesk; the only color is a watercolor wash, tape and pencil notes kept to the margins. Suits products whose content carries the color.

editorial · soft corners · regular · light and dark · code MIT

agent.mdApply this system

On a real product

Three products with their own design, and the same products after a coding agent applied Pigment Margin Notes. Pages, copy, photos and features are the product's own; everything you see change is the system.

With Pigment Margin Notes

One run of the standard prompt on a product with its own design, captured as built. Unedited. Photos are public domain. Before release, every system is also applied to six plain test apps and checked screen by screen.

Color

Semantic tokens · contrast against surface.default
surface.default#faf9f6—
surface.subtle#efede7—
surface.raised#ffffff—
border.default#e6e4de—
border.strong#d6d3cb—
text.primary#0e0e0cAAA
text.secondary#5a5a55AA
action.primary#0e0e0cAAA
action.primaryHover#2a2a27AAA
focus.ring#0e0e0cAAA
status.success#11713aAA
status.warning#8b5d0fAA
status.danger#c42b2bAA
status.info#1849f2AA

Type and shape

Geist · Geist
font.size.h1 · 56pxPigment Margin Notes
font.size.h1Article · 44pxPigment Margin Notes
font.size.h2 · 26pxPigment Margin Notes
font.size.h3 · 22pxPigment Margin Notes
font.size.panelTitle · 20pxPigment Margin Notes
radius.swatch
5px
radius.inner
7px
radius.control
9px
radius.controlLg
10px
radius.callout
12px
radius.media
14px
radius.panel
18px
radius.full
999px
space · 4px 6px 8px 10px 12px 14px 16px 20px 24px 32px 40px 48px 56px 64px 96px 120px

Components

18 fully specified · 18 listed
Every component and its states
action / buttonspecifieddefault · hover · focus-visible · active · disabled · loading
form / text-fieldspecifieddefault · hover · focus-visible · disabled · error
form / selectspecifieddefault · hover · focus-visible · selected · disabled · error
form / checkboxspecifieddefault · hover · focus-visible · selected · disabled · error
form / switchspecifieddefault · hover · focus-visible · selected · disabled · loading
navigation / tabsspecifieddefault · hover · focus-visible · selected · disabled
navigation / segmented-controlspecifieddefault · hover · focus-visible · selected · disabled
navigation / navigationspecifieddefault · hover · focus-visible · selected
action / chipspecifieddefault · hover · focus-visible · selected · disabled
surface / cardspecifieddefault · hover · focus-visible · loading · error
surface / media-framespecifieddefault · focus-visible · selected · loading · error
data-display / tablespecifieddefault · hover · focus-visible · selected · loading · error
data-display / badgespecifieddefault
data-display / code-blockspecifieddefault · focus-visible
feedback / calloutspecifieddefault · focus-visible
feedback / empty-statespecifieddefault · error
overlay / dialogspecifieddefault · focus-visible · loading · error
feedback / toastspecifieddefault · hover · focus-visible

Changelog

Your project keeps its own copy

Setting a system up keeps its whole spec (design-system/agent.md) and tokens in your project, and every later screen is built from that copy. Updates here never restyle a project on their own — ask your agent to update and it applies only what changed since your copy.

  1. 2026-10-19current

    The studio details now fit any product. Where the bloom, the serif word, the tape and the pencil note go is decided by the kind of screen, not by a fixed list of example apps, so a CRM, a docs site or a booking flow gets them in the same places a home or catalogue screen does. The look itself is unchanged.

    Details (6)
    • Studio details: bloom and serif word on the page header of a home, index or collection screen; tape on a pinned or featured item; the pencil note beside the lead or the featured item's eyebrow, restating it in 2 to 4 words; on settings and form screens only a note on the section navigation; none on record-detail, checkout and data-dense screens.
    • Serif word: one per screen, in a page h1 of two or more words on a home, index or collection screen, or in an editorial title; never on settings, form, checkout or record-detail screens.
    • A featured item is pinned (tape and elevation.pinned) and spans the columns its content needs, not a fixed span.
    • Charts: the current or selected mark is full ink and the others rest at opacity.chartRest, in any chart.
    • Long-form articles may set one pull-quote in serif. Media frames default to 4:3 for object photos, 16:10 for screenshots and 3:2 for cover images.
    • Examples and recipes use neutral placeholder text instead of sample product copy.
  2. 2026-10-14

    Margin Notes is now called Pigment Margin Notes, because it is the design of this site itself. The design is unchanged: projects that already use it need no changes.

    Details (1)
    • Name: "Margin Notes" → "Pigment Margin Notes". The id margin-notes, spec links and MCP calls stay the same.
  3. 2026-10-12

    First release of Margin Notes: warm paper and ink, hairlines, a tightly tracked grotesk, and studio details (watercolor bloom, tape, pencil notes, one serif word) kept to the margins, in light and "night paper" dark. Ten defining rules, a Never list, 18 specified components with designed states, copyable recipes for every studio detail, and agent instructions for new and existing projects.

    Details (13)
    • Checkbox, radio and switch: the native input is the visible control (appearance: none, class check / switch), so it takes every click; drawn boxes and thumb spans get pointer-events: none. Never list: a decorative layer that intercepts clicks on a native control. Verification: click each one with the mouse.
    • Segmented control: new tokens color.surface.selected (dark #38362f, lighter than the track) and color.border.selected (dark ring 4.6:1 on the track); the selected segment carries the ring in both themes.
    • Hatch toned down: color.decor.hatch light #d4cfc4 (1.25:1 on the tray), dark #3f3d37 (1.34:1), 10px pitch, stated range 1.15:1 to 1.35:1; grids of 3 or more asset-less frames use 3:2.
    • Linked-card hover: 1px color.text.tertiary ring plus title underline (was an invisible border step).
    • Search fields hide the browser clear button; the system's own clear button is specified. Native selects drop the default arrow. Never list: browser-default chrome.
    • Focus rings never touch text: header links are padded size.controlSm boxes; inline links get padding and a 3px offset.
    • Success feedback: a toast, or a success badge with a check icon for in-place status text; never a bare colored word. The toast covers every save and submit.
    • Dialog: exact centering CSS for native and custom dialogs, mobile width, initial focus ring visible.
    • Hierarchy: h1 repeats moved to the Never list with the "Projects / All projects" example; state markers ("Current plan") are neutral badges, never button-sized ink; the article table of contents is a right rail or a collapsed "On this page" after the meta line, never between breadcrumb and h1; headings balance-wrap.
    • Spacing: card grids align-items: start, cards span only the columns their content fills (no card more than 30% empty); the mobile action bar is fixed to the viewport at full width; tables use table-layout: fixed with column widths so filtering moves no column; inline badges get space.8.
    • Mono rule: numbers inside sentences and status lines stay sans.
    • Contradictions resolved: serif words are allowed in blog post titles but not on product, project or record pages; pencil-note words must restate their target (per-app wording given; the store note no longer prescribes fixed text); the settings note sits inside the sidebar (--note-x: space.16).
    • Budget: shadows written with 8-digit hex, unused tokens removed (color.action.disabled, color.code.ring, font.size.display, font.tracking.normal, size.rowCompact), prose compressed; bundle 5,993 words.