Token explorer
Tokens are W3C design-token JSON compiled into two CSS tiers: reference (raw values on :root) and semantic (per-theme aliases that flip with data-theme). Toggle the theme switcher in the header - the semantic swatches below re-resolve live because they render from CSS variables.
Semantic tier (32)
Components consume only this tier. Each swatch shows its dark/light alias targets.
Reference tier - colors (68)
Reference tier - dimensions, motion, type (49)
| Token | CSS variable | Value |
|---|---|---|
font.family.sans | --ts-font-family-sans | ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif |
font.family.mono | --ts-font-family-mono | ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace |
font.size.xs | --ts-font-size-xs | 0.75rem |
font.size.sm | --ts-font-size-sm | 0.875rem |
font.size.md | --ts-font-size-md | 1rem |
font.size.lg | --ts-font-size-lg | 1.125rem |
font.size.xl | --ts-font-size-xl | 1.25rem |
font.size.2xl | --ts-font-size-2xl | 1.5rem |
font.size.3xl | --ts-font-size-3xl | 1.875rem |
font.size.4xl | --ts-font-size-4xl | 2.25rem |
font.weight.regular | --ts-font-weight-regular | 400 |
font.weight.medium | --ts-font-weight-medium | 500 |
font.weight.semibold | --ts-font-weight-semibold | 600 |
font.weight.bold | --ts-font-weight-bold | 700 |
font.leading.tight | --ts-font-leading-tight | 1.25 |
font.leading.normal | --ts-font-leading-normal | 1.5 |
font.leading.relaxed | --ts-font-leading-relaxed | 1.7 |
space.0 | --ts-space-0 | 0 |
space.1 | --ts-space-1 | 0.25rem |
space.2 | --ts-space-2 | 0.5rem |
space.3 | --ts-space-3 | 0.75rem |
space.4 | --ts-space-4 | 1rem |
space.5 | --ts-space-5 | 1.25rem |
space.6 | --ts-space-6 | 1.5rem |
space.8 | --ts-space-8 | 2rem |
space.10 | --ts-space-10 | 2.5rem |
space.12 | --ts-space-12 | 3rem |
space.16 | --ts-space-16 | 4rem |
radius.none | --ts-radius-none | 0 |
radius.sm | --ts-radius-sm | 0.25rem |
radius.md | --ts-radius-md | 0.375rem |
radius.lg | --ts-radius-lg | 0.5rem |
radius.xl | --ts-radius-xl | 0.75rem |
radius.full | --ts-radius-full | 9999px |
shadow.sm | --ts-shadow-sm | 0 1px 2px 0 rgb(0 0 0 / 0.25) |
shadow.md | --ts-shadow-md | 0 4px 8px -2px rgb(0 0 0 / 0.35), 0 2px 4px -2px rgb(0 0 0 / 0.25) |
shadow.lg | --ts-shadow-lg | 0 12px 24px -6px rgb(0 0 0 / 0.45), 0 4px 8px -4px rgb(0 0 0 / 0.3) |
duration.fast | --ts-duration-fast | 120ms |
duration.normal | --ts-duration-normal | 200ms |
duration.slow | --ts-duration-slow | 320ms |
easing.standard | --ts-easing-standard | cubic-bezier(0.2, 0, 0, 1) |
easing.enter | --ts-easing-enter | cubic-bezier(0, 0, 0.2, 1) |
easing.exit | --ts-easing-exit | cubic-bezier(0.4, 0, 1, 1) |
z.dropdown | --ts-z-dropdown | 50 |
z.overlay | --ts-z-overlay | 100 |
z.modal | --ts-z-modal | 110 |
z.popover | --ts-z-popover | 120 |
z.tooltip | --ts-z-tooltip | 130 |
z.toast | --ts-z-toast | 140 |