springGitHub
Color and type, sorted.
Color scales, roles and type tokens from one hex. Every text pair contrast-checked.
Open SpringWhat you get
01 scales
Twelve steps, light and dark
OKLCH scales for any hue: backgrounds, borders, solids and text, plus neutrals.
02 roles
Named for the job
Steps map to roles, so code asks for primary or muted text, never blue-8.
- --color-primary
- primary-8
- --color-primary-text
- primary-11
- --color-text-muted
- neutral-11
- --color-border-subtle
- neutral-6
03 contrast
Every text pair checked
Each text and fill pair is measured in both modes against AA, AAA or APCA.
pair light dark text-muted 11.22 11.49 primary-fg 4.53 4.53 primary-text 11.51 11.56 04 type
One ratio, every size
Pick a font, a base and a ratio. Line heights land on a 4px grid.
12141622263143
05 export
Files your stack reads
CSS variables, a Tailwind v4 theme with shadcn names, DTCG JSON and DESIGN.md.
/* tokens.css */ --primary-8: oklch(62.3% 0.188 259.8); --color-primary: var(--primary-8); --text-body: 1rem; --radius-md: 8px;06 share
The link is the system
No account. The whole system lives in the URL, so whoever opens it gets yours.
someshks.com/spring/app?primary=%233b82f6