Skip to content

Tokens

Source of truth: design-tokens/tokens.cjs. bun design-tokens/export-native-tokens.mjs writes Tokens.swift, Tokens.kt and apps/svelte-web/src/routes/tokens.generated.css; layout.css imports the CSS and adds the web-only tokens below.

79 colour tokens are shared by web, iOS and Android (generated), plus 17 web-only tokens (charts, sidebar aliases, solid-state variants). Every token has a light and a dark value; alpha colours (@ 0.55) are mode-invariant.

TokenLight swatchLightDark swatchDarkPlatforms
--background#ffffff#0c0d12web · iOS · Android
--foreground#1e1f2b#ecedf3web · iOS · Android
--card#ffffff#1a1b22web · iOS · Android
--card-foreground#1e1f2b#ecedf3web · iOS · Android
--popover#ffffff#23242fweb · iOS · Android
--popover-foreground#1e1f2b#ecedf3web · iOS · Android
--muted#f2f2f6#23242fweb · iOS · Android
--muted-foreground#7b7c8c#8a8b98web · iOS · Android
TokenLight swatchLightDark swatchDarkPlatforms
--primary#4a40c9#8f87ddweb · iOS · Android
--primary-foreground#ffffff#ffffffweb · iOS · Android
--primary-hover#3f37ac#a29be6web · iOS · Android
--primary-active#372f97#7a71d0web · iOS · Android
--primary-light#eae8f8#23213cweb · iOS · Android
--primary-dark#372f97#8e86f0web · iOS · Android
--primary-subtle#f8f7fd#151524web · iOS · Android
--primary-solid#4a40c9#4a40c9web · iOS · Android
--primary-solid-hover#3f37ac#3f37acweb only
--primary-solid-active#372f97#372f97web only
TokenLight swatchLightDark swatchDarkPlatforms
--secondary#f2f2f6#23242fweb · iOS · Android
--secondary-foreground#5f6070#9a9cabweb · iOS · Android
--secondary-hover#eaeaf2#2c2e3bweb · iOS · Android
--secondary-light#f5f5f8#1a1b22web · iOS · Android
TokenLight swatchLightDark swatchDarkPlatforms
--tertiary#27707b#63b7c2web · iOS · Android
--tertiary-foreground#ffffff#0f1a1dweb · iOS · Android
--tertiary-light#e2f0f1#14262aweb · iOS · Android
--tertiary-hover#1e5c66#63b7c2web · iOS · Android
TokenLight swatchLightDark swatchDarkPlatforms
--destructive#b3402f#e15b48web · iOS · Android
--destructive-foreground#ffffff#0c0d12web · iOS · Android
--destructive-light#fbf1ef#2a1715web · iOS · Android
TokenLight swatchLightDark swatchDarkPlatforms
--success#2c7756#7ed0a0web · iOS · Android
--success-foreground#ffffff#0c0d12web · iOS · Android
--success-hover#2f6246#93dab1web · iOS · Android
--success-light#e5f2ec#16281fweb · iOS · Android
TokenLight swatchLightDark swatchDarkPlatforms
--warning#8d6218#e7b44cweb · iOS · Android
--warning-foreground#ffffff#0c0d12web · iOS · Android
--warning-hover#7d4a0d#ebc06dweb · iOS · Android
--warning-light#fbefda#2a2214web · iOS · Android
--warning-solid#c97e2a#c97e2aweb only
TokenLight swatchLightDark swatchDarkPlatforms
--info#2a6fdb#6fa8f0web · iOS · Android
--info-foreground#ffffff#0c0d12web · iOS · Android
--info-hover#215cb8#8bbbf7web · iOS · Android
--info-light#e4eefb#172338web · iOS · Android
TokenLight swatchLightDark swatchDarkPlatforms
--status-draft#7b7c8c#8a8b98web · iOS · Android
--status-active#2c7756#7ed0a0web · iOS · Android
--status-pending#8d6218#e7b44cweb · iOS · Android
--status-sold#2a6fdb#6fa8f0web · iOS · Android
--status-rented#27707b#63b7c2web · iOS · Android
--status-inactive#8a8b98#7b7c8cweb · iOS · Android
--status-archived#3a3e52#c9cad6web · iOS · Android
--status-paused#c97e2a#eb9a55web · iOS · Android
TokenLight swatchLightDark swatchDarkPlatforms
--chart-1#91c5ff#a4b0ffweb only
--chart-2#3a81f6#488bfbweb only
--chart-3#2563ef#3670eeweb only
--chart-4#1a4eda#2a5cdaweb only
--chart-5#1f3fad#2b4bacweb only
TokenLight swatchLightDark swatchDarkPlatforms
--sidebar#ffffff#1a1b22web only
--sidebar-foreground#1e1f2b#ecedf3web only
--sidebar-primary#4a40c9#4a40c9web only
--sidebar-primary-foreground#ffffff#ffffffweb only
--sidebar-accent#eae8f8#23213cweb only
--sidebar-accent-foreground#4a40c9#8f87ddweb only
--sidebar-border#eaeaf2#2a2b36web only
--sidebar-ring#4a40c9#8f87ddweb only
TokenLight swatchLightDark swatchDarkPlatforms
--border#eaeaf2#2a2b36web · iOS · Android
--input#e4e4ee#2a2b36web · iOS · Android
--ring#4a40c9#8f87ddweb · iOS · Android
--hairline#f0f0f5#23242fweb · iOS · Android
--border-control#d6d6e0#2a2b36web · iOS · Android
--track#ededf2#2a2b36web · iOS · Android
TokenLight swatchLightDark swatchDarkPlatforms
--neutral#3a3e52#c9cad6web · iOS · Android
--neutral-light#edeef3#23242fweb · iOS · Android
--row-hover#f5f5f8#23242fweb · iOS · Android
--well-soft#fafafc#23242fweb · iOS · Android
--skeleton#e7e7ee#23242fweb · iOS · Android
--decorative-foreground#9c9daa#6b6d7cweb · iOS · Android
--icon-rest#a8a9b6#6b6d7cweb · iOS · Android
--icon-decorative#b6b7c6#6b6d7cweb · iOS · Android
--text-disabled#c9cad3#6b6d7cweb · iOS · Android
TokenLight swatchLightDark swatchDarkPlatforms
--media-overlay#000000#000000web · iOS · Android
--media-overlay-foreground#ffffff#ffffffweb · iOS · Android
--favorite-chip#ffffff#ffffffweb · iOS · Android
--favorite-chip-border#000000#000000web · iOS · Android
--scrim-chip#1e1f2b @ 0.55#1e1f2b @ 0.55web · iOS · Android
--overlay-chip#ffffff @ 0.92#ffffff @ 0.92web · iOS · Android
--on-photo#ffffff#ffffffweb · iOS · Android
--favorite-heart#4a40c9#4a40c9web only
TokenLight swatchLightDark swatchDarkPlatforms
--avatar-fallback-1#c8c6de#3a3660web · iOS · Android
--avatar-fallback-2#9f9cc4#242140web · iOS · Android
TokenLight swatchLightDark swatchDarkPlatforms
--nav-ink-surface#1e1f2b#1e1f2bweb · iOS · Android
--nav-ink-rest#c8c9d4#c8c9d4web · iOS · Android
--nav-ink-icon#8e8fa0#8e8fa0web · iOS · Android
--nav-ink-section#6b6c7e#6b6c7eweb · iOS · Android
--nav-ink-eyebrow#8f87dd#8f87ddweb · iOS · Android
--nav-ink-active#8f87dd#8f87ddweb · iOS · Android
--nav-ink-hover#ffffff @ 0.06#ffffff @ 0.06web · iOS · Android
--on-ink#ffffff#ffffffweb · iOS · Android
TokenStack
--font-sans'Hanken Grotesk Variable', 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'
--font-serif'Source Serif 4', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif
--font-monoui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace

| --font-display | 'Space Grotesk Variable', 'Space Grotesk', 'Hanken Grotesk Variable', ui-sans-serif, system-ui, sans-serif |

Hanken Grotesk carries UI and body text; Space Grotesk carries display roles (page titles, prices, KPIs). Both are self-hosted via @fontsource-variable/* in apps/svelte-web/src/routes/+layout.svelte, and bundled as static faces in the native apps. Source Serif 4 is named in the serif stack but never explicitly loaded; usages fall back to ui-serif (Georgia). The monospace stack is system-only.

UtilitySizeLine heightTracking
text-micro10px1.20.12em
text-badge11px1—
text-body-sm13px1.5—
text-ui13px1.4—
text-h315px1.3—
text-h1-sm22px1.2—
text-h128px1.15—
text-display-sm32px1.1—
text-display46px1.05—

Tailwind defaults cover the other Meridian steps: text-xs 12 · text-sm 14 · text-base 16 · text-xl 20 · text-2xl 24.

Base unit: --spacing: 0.25rem (4 px).

Tailwind v4 derives its spacing scale from --spacing automatically: space-1 → 4 px, space-2 → 8 px, space-4 → 16 px, space-6 → 24 px, space-8 → 32 px, and so on. The @theme inline block in layout.css exposes this scale to every Tailwind utility (p-4, gap-2, mt-8, etc.).

Base radius: --radius: 0.625rem (= --radius-md).

Steps in the @theme inline block (Meridian radius-by-role):

TokenValue
--radius-sm6px
--radius-item8px
--radius-mdvar(--radius)
--radius-panel12px
--radius-lg16px
--radius-xl20px
TokenLightDark
--shadow-2xs0 1px 3px 0px rgb(30 31 43 / 0.05)0 1px 2px 0px hsl(0 0% 0% / 0.2)
--shadow-xs0 1px 3px 0px rgb(30 31 43 / 0.05)0 1px 3px 0px hsl(0 0% 0% / 0.25)
--shadow-sm0 1px 3px 0px rgb(30 31 43 / 0.08), 0 1px 2px -1px rgb(30 31 43 / 0.08)0 1px 3px 0px hsl(0 0% 0% / 0.3), 0 1px 2px -1px hsl(0 0% 0% / 0.25)
--shadow0 1px 3px 0px rgb(30 31 43 / 0.1), 0 1px 2px -1px rgb(30 31 43 / 0.1)0 1px 3px 0px hsl(0 0% 0% / 0.35), 0 1px 2px -1px hsl(0 0% 0% / 0.3)
--shadow-md0 1px 3px 0px rgb(30 31 43 / 0.1), 0 2px 4px -1px rgb(30 31 43 / 0.1)0 2px 6px 0px hsl(0 0% 0% / 0.35), 0 2px 4px -2px hsl(0 0% 0% / 0.3)
--shadow-lg0 1px 3px 0px rgb(30 31 43 / 0.1), 0 4px 6px -1px rgb(30 31 43 / 0.1)0 4px 12px 0px hsl(0 0% 0% / 0.4), 0 4px 6px -2px hsl(0 0% 0% / 0.3)
--shadow-xl0 1px 3px 0px rgb(30 31 43 / 0.1), 0 8px 10px -1px rgb(30 31 43 / 0.1)0 8px 20px 0px hsl(0 0% 0% / 0.45), 0 8px 10px -4px hsl(0 0% 0% / 0.35)
--shadow-2xl0 1px 3px 0px rgb(30 31 43 / 0.25)0 12px 40px 0px hsl(0 0% 0% / 0.55)
--shadow-raised0 12px 30px -18px rgb(30 31 43 / 0.28)0 12px 30px -18px rgb(0 0 0 / 0.55)
--shadow-overlay0 40px 80px -30px rgb(30 31 43 / 0.55)0 40px 80px -30px rgb(0 0 0 / 0.7)
--shadow-card-hover0 18px 40px -24px rgb(74 64 201 / 0.35)0 18px 40px -24px rgb(143 135 221 / 0.25)
--shadow-chip0 4px 10px -6px rgb(30 31 43 / 0.5)0 4px 10px -6px rgb(0 0 0 / 0.6)
--shadow-pill0 3px 8px -5px rgb(30 31 43 / 0.5)0 3px 8px -5px rgb(0 0 0 / 0.6)

Dark mode uses higher opacity (multiplier ~2–7×) to compensate for the indigo-tinted slate surface palette where standard 5–10% shadows would disappear.