Classical design system
Reflect's own look: marble, ink, and terracotta, Cormorant Garamond over Lora, chamfered corners, and still classical ornaments.
How to use this
- Copy
examples/included/classicalinto 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 Reflect, reading, reference pages. Its shape is classical, with bevel corners.
Color
2 themes: light and dark. In light, text #382c22 sits on surface #fcf9f1, with one accent #994920.
The roles are surface #fcf9f1, surface-raised #e0ddd5, text #382c22, text-muted #6c5d53, error #af3333 and accent #994920. They are drawn from 4 scales: marble, ink, terracotta, red.
Type
Cormorant Garamond for headings over Lora 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 600.