Product design system
A working system for apps and dashboards: dense rows, sans type, and clear states.
How to use this
- Copy
examples/included/productinto 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 apps, dashboards. Its shape is soft, with round corners.
Color
2 themes: light and dark. In light, text #282f38 sits on surface #f6faff, with one accent #4b54c2.
The roles are surface #f6faff, surface-raised #d5deeb, text #282f38, text-muted #59616c, error #bb1e27, success #026f31, warning #885500 and accent #4b54c2. They are drawn from 5 scales: slate, indigo, red, green, amber.
Type
Space Grotesk for headings over IBM Plex Sans for body text, loaded as --virtu-type-family-display and --virtu-type-family-body. 4 size steps, from sm at 14.22px to xl at 20.25px. Weights: regular 400, heavy 700.