Skip to content

Foundations

Foundations are the tokens every component is built on: colour, type, spacing, radius, shadows and motion, plus the icon set and the layout primitives. Use these pages to look up a token or to see why a component looks the way it does.

Tokens and primitives

Colours
Spacing
Radius
Shadows
Typography
Icons
Layout
Motion

Intelligence

The work Shavin does for you on top of the tokens: readable colours from one brand colour, dark and light areas that fix their own contrast, and layouts that adapt to their container.

Brand contrast
Surface scoping
Responsive layout

Changing the foundations

Set the brand colour, gray family, radius, scaling and fonts on ThemeProvider, or try them live in the dev inspector; every component follows. To restyle a single token, override its CSS variable. The Theme page covers both.

Configure Theme
Theme
Brand Color
Custom
Gray Family
Appearance
Radius
Scaling
Panel Style
Heading Font
Body Font