All registry items
tokens/r/tonal-tokens.json

Tonal Design Tokens (tokens.css)

Complete CSS custom properties, Tailwind v4 @theme inline bridge, semantic status tokens, and WCAG contrast matrix.

Tonal Design Tokens (tokens.css)

Toggle Tablet or Mobile for real isolated iframe breakpoints, or switch to Code for full source.

Surface Steps
Canvas
--t-bg
Neutral
--t-surface
Muted
--t-surface-muted
Porcelain
--t-surface-warm
Workspace
--t-surface-cool
Sky
--t-surface-sky
Mint
--t-surface-mint
Sand
--t-surface-sand
Ink & Semantic Status
Primary Ink
--t-ink
Secondary Ink
--t-ink-secondary
Action Blue
--t-blue
Success
--t-success
Warning
--t-warning
Danger
--t-danger
Warning Surface
--t-warning-surface
Danger Surface
--t-danger-surface
Verified WCAG Contrast Matrix & Tailwind v4 @theme Bridge
AaPrimary ink on Canvas (Light)
16.1:1 AAA
AaAction Blue on Canvas (Light)
5.37:1 AA
AaPrimary ink on Canvas (Dark)
14.47:1 AAA
AaAction Blue on Canvas (Dark)
8.81:1 AAA
AaSuccess on Mint (Light)
5.24:1 AA
AaDanger on Rose (Light)
4.92:1 AA
@theme inline · bg-t-surface · text-t-ink · rounded-t-card · .t-display
Editorial hierarchy without heavy elevation.

Includes Tailwind v4 @theme inline token utilities, semantic status tokens, and prefers-reduced-motion guards out of the box.

Installation

npx shadcn@latest add https://tonal.harlo.dev/r/tonal-tokens.json

Usage

/* app/globals.css */
@import "tailwindcss";
@import "../styles/tonal-tokens.css";

Props & Tokens API

PropTypeDefaultDescription
data-tonal-theme"light" | "dark""light"Switches full light/dark surface and ink hierarchy.
data-tonal-mode"pill" | "commerce""pill"Swaps button radius (9999px vs 6px) and primary CTA ink.