Getting started
Introduction
Tokens, themes and motion for every product I build, shipped as a shadcn registry.
pangpond-ds is the shared foundation for the products I build. It started as the tokens behind my portfolio and is now split into layers, so a new product can keep the same structure and still look like itself.
Everything is copied into a product with the shadcn CLI. The product owns the files, and updating is 1 command.
How it works
Tokens are split into 3 layers. Each layer only reads from the one before it.
Theme layer
The only knobs a product touches. Hue, chroma, fonts and radius.
- --neutral-hue
- --brand-hue
- --font-body
- --radius
Primitives
Scales computed from the knobs. Neutral, brand, status, elevation, motion.
- --neutral-0…1000
- --brand-50…950
Semantic
The contract components use. Same names as shadcn, so any shadcn component just works.
- --background
- --primary
- --muted
- --ring
1 system, many looks
These 3 cards use the exact same markup. Only the theme layer changes. Try the theme picker in the header to switch the whole site.
Neutral
Weekly review
3 items are waiting for you.
The default. Pure gray and system fonts.
Pangpond
Weekly review
3 items are waiting for you.
Blue-tinted neutrals with Figtree and Literata.
Forest
Weekly review
3 items are waiting for you.
Test theme. Green brand, 1rem radius, Inter and Fraunces.