Editorial design system
A reading system for essays, blogs, and personal sites: serif headings, a narrow measure, and quiet colour.
How to use this
- Copy
examples/included/editorialinto your app asdesign/. - Build it with
npx virtu build design --out app/virtu: CSS custom properties, a Tailwind theme, and tokens JSON. It refuses, and writes nothing, while check has errors. - Take every colour, font, space, radius, and shadow from the
--virtu-*properties. Never hard-code a hex or a font name. - Audit the app with
npx virtu audit . --system design. It finds raw values the system does not have.
Direction
Built for essays, blogs, personal sites. Its shape is sharp, with round corners.
Color
2 themes: light and dark. In light, text #272e3e sits on surface #fff9ee, with one accent #9b4729.
The roles are surface #fff9ee, surface-raised #e6dccb, text #272e3e, text-muted #586072, error #b32e2f and accent #9b4729. They are drawn from 4 scales: paper, ink, rust, red.
Type
Playfair Display for headings over Source Sans 3 for body text, loaded as --virtu-type-family-display and --virtu-type-family-body. 4 size steps, from sm at 14.4px to xl at 28.13px. Weights: regular 400, heavy 700.