Design Tokens

Vultra UI is themed entirely through CSS custom properties. Override them in your root CSS — no rebuild needed.

Core Tokens

TokenPurposeDefault
--ui-backgroundPage backgroundoklch(0.985 0.003 247.858)
--ui-foregroundPrimary textoklch(0.21 0.006 285.885)
--ui-card / --ui-card-foregroundCard surfaceswhite / text
--ui-popover / --ui-popover-foregroundPopovers, menuswhite / text
--ui-primary / --ui-primary-foregroundPrimary actionsviolet / white
--ui-secondary / --ui-secondary-foregroundSecondary actionslight gray
--ui-muted / --ui-muted-foregroundDisabled, subtlelight gray
--ui-accent / --ui-accent-foregroundHover accentslight gray
--ui-destructiveErrors, deletered
--ui-borderBorderslight gray
--ui-inputInput borderslight gray
--ui-ringFocus ringsviolet
--ui-radiusCorner radius scale0.5rem

Typography

TokenDefault
--ui-font-sans"Inter Variable", system-ui
--ui-font-mono"SFMono-Regular", ui-monospace
--ui-font-serif"Georgia", serif

Theming Example

:root {
  --ui-primary: oklch(0.55 0.2 150);       /* green brand */
  --ui-radius: 0.75rem;                     /* rounder corners */
  --ui-font-sans: "Outfit", system-ui, sans-serif;
}

[data-ui-theme="dark"] {
  --ui-background: oklch(0.17 0.01 260);
  --ui-foreground: oklch(0.96 0.005 260);
}

Theme Switching

Set data-ui-theme on the <html> element to switch themes:

<html data-ui-theme="warm">

Available themes: neutral, warm, dark, ocean, forest.