Plain design system
A quiet system for documents, settings, and tools: the system font stack, one blue accent, and generous space.
How to use this
- Copy
examples/included/plaininto 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 documents, settings, tools. Its shape is soft, with round corners.
Color
2 themes: light and dark. In light, text #2b2f33 sits on surface #f6faff, with one accent #1360b3.
The roles are surface #f6faff, surface-raised #d9dee4, text #2b2f33, text-muted #5c6066, error #b72826 and accent #1360b3. They are drawn from 3 scales: gray, accent, red.
Type
system-ui for headings over system-ui for body text, loaded as --virtu-type-family-display and --virtu-type-family-body. 6 size steps, from sm at 13.33px to 3xl at 33.18px. Weights: regular 400, heavy 600.