Skip to content
Foundation and surface tokens | Omni Manual Book

Foundation and surface tokens

Actual Omni tokens — read directly from the canonical source, with light/dark scopes and JSON download.

The values below are read directly from packages/ui-shared/src/styles/main.css at documentation build time. This page is not a separate dictionary: when the source token changes, this page changes with it. Do not copy values into modules; reference tokens via var(--token-name) or the mapped Tailwind utilities.

Download JSON ↓

Read directly from packages/ui-shared/src/styles/main.css.

theme--color-brand-primaryrgb(var(--brand-primary) / 1)
theme--color-brand-secondaryrgb(var(--brand-secondary) / 1)
theme--color-brand-accentrgb(var(--brand-accent) / 1)
theme--color-backgroundvar(--app-background)
theme--color-surfacevar(--app-surface)
theme--color-surface-subtlevar(--app-surface-subtle)
theme--color-foregroundvar(--app-foreground)
theme--color-text-secondaryvar(--app-text-secondary)
theme--color-text-mutedvar(--app-text-muted)
theme--color-bordervar(--app-border)
theme--color-border-strongvar(--app-border-strong)
theme--color-ringvar(--app-ring)
theme--color-inputvar(--app-input)
theme--color-dangervar(--color-red-600)
theme--color-danger-fgvar(--color-red-700)
theme--color-successvar(--color-emerald-600)
theme--color-success-fgvar(--color-emerald-700)
theme--color-warning-fgvar(--color-amber-800)
theme--color-warningvar(--color-amber-500)
theme--color-infovar(--color-sky-600)
theme--color-info-fgvar(--color-sky-700)
theme--radius-sm0.25rem
theme--radius-md0.375rem
theme--radius-lg0.5rem
theme--radius-xl0.75rem
theme--space-14px
theme--space-28px
theme--space-312px
theme--space-416px
theme--space-520px
theme--space-624px
theme--space-832px
theme--space-1040px
theme--space-1248px
theme--space-1664px
theme--font-sans'Inter', system-ui, sans-serif
theme--font-mono'JetBrains Mono', ui-monospace, monospace
theme--duration-fast120ms
theme--duration-base200ms
theme--duration-slow300ms
theme--ease-fastcubic-bezier(0.4, 0, 0.2, 1)
theme--ease-basecubic-bezier(0.33, 1, 0.68, 1)
theme--ease-popcubic-bezier(0.34, 1.56, 0.64, 1)
theme--animate-fade-infade-in var(--duration-base) var(--ease-fast)
theme--animate-fade-upfade-up var(--duration-base) var(--ease-fast)
theme--animate-scale-inscale-in var(--duration-base) var(--ease-pop)
theme--animate-check-drawcheck-draw var(--duration-base) var(--ease-fast)
theme--animate-shimmershimmer 1.8s linear infinite
theme--duration-reveal420ms
theme--ease-revealcubic-bezier(0.22, 1, 0.36, 1)
theme--animate-reveal-upreveal-up var(--duration-reveal) var(--ease-reveal) both
theme--animate-reveal-fadereveal-fade var(--duration-reveal) var(--ease-reveal) both
theme--animate-reveal-scalereveal-scale var(--duration-reveal) var(--ease-reveal) both
theme--animate-pop-inpop-in var(--duration-base) var(--ease-pop) both
theme--animate-slide-in-rightslide-in-right var(--duration-slow) var(--ease-base) both
theme--z-index-overlay1000
light--brand-primary30 64 175
light--brand-secondary71 85 105
light--brand-accent234 88 12
light--app-background#f8f9fb
light--app-surface#ffffff
light--app-surface-subtle#f1f3f6
light--app-foreground#0f172a
light--app-text-secondary#475569
light--app-text-muted#64748b
light--app-border#e2e8f0
light--app-border-strong#cbd5e1
light--app-ring30 64 175
light--app-input#e2e8f0
dark--app-background#0b1220
dark--app-surface#111827
dark--app-surface-subtle#1f2937
dark--app-foreground#f1f5f9
dark--app-text-secondary#94a3b8
dark--app-text-muted#8b96a8
dark--app-border#1f2937
dark--app-border-strong#374151
dark--app-ring129 140 248
dark--app-input#374151
dark--color-info-fgvar(--color-sky-300)
dark--color-warning-fgvar(--color-amber-300)
dark--color-danger-fgvar(--color-red-300)
dark--color-success-fgvar(--color-emerald-300)

  • Use semantic tokens (surface, foreground, border, brand-*) — not raw per-page values.
  • Semantic warning, danger, and success colors keep their meanings across tenants; do not recolor states per customer.
  • Review every token change in light and dark themes, 200% text, 320px CSS width, and print output.
  • Token changes can alter contrast and density without a TypeScript error — treat them as potentially visually breaking.
  • Tokens referenced here exist in the canonical source with the correct scope (theme/light/dark).
  • Text and boundary contrast meets the WCAG 2.2 AA target on both themes for the claimed usage.
  • Both locales describe the same contract and limits.