Foundation and surface tokens
Actual Omni tokens — read directly from the canonical source, with light/dark scopes and JSON download.
Canonical source
Section titled “Canonical source”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.
--color-brand-primaryrgb(var(--brand-primary) / 1)--color-brand-secondaryrgb(var(--brand-secondary) / 1)--color-brand-accentrgb(var(--brand-accent) / 1)--color-backgroundvar(--app-background)--color-surfacevar(--app-surface)--color-surface-subtlevar(--app-surface-subtle)--color-foregroundvar(--app-foreground)--color-text-secondaryvar(--app-text-secondary)--color-text-mutedvar(--app-text-muted)--color-bordervar(--app-border)--color-border-strongvar(--app-border-strong)--color-ringvar(--app-ring)--color-inputvar(--app-input)--color-dangervar(--color-red-600)--color-danger-fgvar(--color-red-700)--color-successvar(--color-emerald-600)--color-success-fgvar(--color-emerald-700)--color-warning-fgvar(--color-amber-800)--color-warningvar(--color-amber-500)--color-infovar(--color-sky-600)--color-info-fgvar(--color-sky-700)--radius-sm0.25rem--radius-md0.375rem--radius-lg0.5rem--radius-xl0.75rem--space-14px--space-28px--space-312px--space-416px--space-520px--space-624px--space-832px--space-1040px--space-1248px--space-1664px--font-sans'Inter', system-ui, sans-serif--font-mono'JetBrains Mono', ui-monospace, monospace--duration-fast120ms--duration-base200ms--duration-slow300ms--ease-fastcubic-bezier(0.4, 0, 0.2, 1)--ease-basecubic-bezier(0.33, 1, 0.68, 1)--ease-popcubic-bezier(0.34, 1.56, 0.64, 1)--animate-fade-infade-in var(--duration-base) var(--ease-fast)--animate-fade-upfade-up var(--duration-base) var(--ease-fast)--animate-scale-inscale-in var(--duration-base) var(--ease-pop)--animate-check-drawcheck-draw var(--duration-base) var(--ease-fast)--animate-shimmershimmer 1.8s linear infinite--duration-reveal420ms--ease-revealcubic-bezier(0.22, 1, 0.36, 1)--animate-reveal-upreveal-up var(--duration-reveal) var(--ease-reveal) both--animate-reveal-fadereveal-fade var(--duration-reveal) var(--ease-reveal) both--animate-reveal-scalereveal-scale var(--duration-reveal) var(--ease-reveal) both--animate-pop-inpop-in var(--duration-base) var(--ease-pop) both--animate-slide-in-rightslide-in-right var(--duration-slow) var(--ease-base) both--z-index-overlay1000--brand-primary30 64 175--brand-secondary71 85 105--brand-accent234 88 12--app-background#f8f9fb--app-surface#ffffff--app-surface-subtle#f1f3f6--app-foreground#0f172a--app-text-secondary#475569--app-text-muted#64748b--app-border#e2e8f0--app-border-strong#cbd5e1--app-ring30 64 175--app-input#e2e8f0--app-background#0b1220--app-surface#111827--app-surface-subtle#1f2937--app-foreground#f1f5f9--app-text-secondary#94a3b8--app-text-muted#8b96a8--app-border#1f2937--app-border-strong#374151--app-ring129 140 248--app-input#374151--color-info-fgvar(--color-sky-300)--color-warning-fgvar(--color-amber-300)--color-danger-fgvar(--color-red-300)--color-success-fgvar(--color-emerald-300)No matching tokens. Clear the search or change the scope.
Usage rules
Section titled “Usage rules”- Use semantic tokens (
surface,foreground,border,brand-*) — not raw per-page values. - Semantic
warning,danger, andsuccesscolors 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.
Acceptance criteria
Section titled “Acceptance criteria”- 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.