--space-1Style guide
Tokens, typography and visual foundations.
A centralized reference for color, spacing, containers, grids, radius, shadows, motion and component defaults.
Color system
Semantic tokens instead of one-off values.
Change these variables in assets/css/base.css and verify both themes.
--primary--accent--text--surface--surface-2Typography
Fluid hierarchy with system-font performance.
Display heading
Section heading
Card heading
Lead copy explains a proposition in one or two readable lines.
Body copy supports scanning, documentation and product explanations.
const technicalAccent = "monospace";Spacing
Eight steps for rhythm and density.
--space-2--space-3--space-4--space-5--space-6--space-7--space-8Layout
Containers and responsive grid.
The main container caps at --container, while long-form content uses --narrow.
123456789101112
Standard containerFluid side padding, fixed readable maximum.
Narrow containerArticles, forms and focused page heroes.
Shape and depth
Radius, borders and shadows.
Motion
Short, purposeful transitions.
Timing and easing tokens are centralized. Reduced-motion preferences remove non-essential movement.
--fast: 160ms--normal: 300ms--slow: 650ms--easeForms
Consistent input states.
Z-index
Predictable layers.
| Base | --z-base: 1 |
|---|---|
| Sticky | --z-sticky: 20 |
| Menu | --z-menu: 40 |
| Modal | --z-modal: 60 |
| Toast | --z-toast: 80 |
Ready to customize?
Customization guideUse one coherent system across the complete product.
Edit centralized tokens and reusable components without a framework or build process.