Design System

A living style guide that themes itself in real time.

Every color, type ramp, and component on this page is driven by one set of design tokens. Switch the theme and watch it all transition at once.

Palette generator

Drag the hue to generate a harmonious tonal ramp. Click any swatch to copy its hex, or pick an accent to recolor the entire page live.

Set page accent

Typography

A consistent type scale in Inter, with JetBrains Mono for code. Every ramp uses the same tokens, so it stays legible in any theme.

DisplayThe quick brown fox
Heading 1The quick brown fox
Heading 2The quick brown fox
Body LargeThe quick brown fox jumps over the lazy dog.
BodyThe quick brown fox jumps over the lazy dog.
CaptionThe quick brown fox jumps over the lazy dog.
Monoconst tokens = useTheme();

Components

A small gallery of themeable primitives. Each reads the same tokens, so switching theme or accent restyles them instantly — and they respond to you in real time.

Buttons

Selected: primary

Input

Focus and type — your text echoes here live.

Badges & states

Tap the badges to toggle their state.

Design tokens

The single source of truth. Each token is a CSS custom property every component reads — change it once, and the whole system follows.

TokenRoleValue
--color-bgPage background
--color-surfaceRaised surface
--color-surface-2Higher surface / hover
--color-borderBorders & dividers
--color-textPrimary text
--color-text-mutedSecondary text
--color-accentBrand accent
--color-accent-contrastText on accent