Ravox Kit / Get started

Theme

No Kit component has a hard-coded color or size: they all read CSS variables. Changing the theme means changing those variables, and the components follow, in light and dark.

1Pick a theme22 ready themes, each made for a kind of business, plus the community ones.See the themes 2Tweak it in the editorColors, fonts, shadow and sizes, with a live preview on the components and contrast checks.Open the editor 3Paste the CSSTailwind 4 goes in globals.css. Without Tailwind, the plain CSS becomes your theme.css.See an example

Start with one of these

All themes

The default theme

Installing any component already brings the Ravox theme. To install only the theme (and swap it later):

npx @ravox-ui/cli init

The variables

The colors, with the Ravox theme values in light and dark. Names follow shadcn, so the Kit lives alongside its components.

VariableWhat it paintsLight · Dark
--backgroundPage background
--foregroundText and primary button
--cardCards, menus, dialogs
--mutedSecondary backgrounds, hover
--muted-foregroundMuted text, hints, placeholder
--borderBorders, dividers, field outline
--ringKeyboard focus ring
--marcaYour brand color
--vault-limaSuccess
--vault-amareloWarning
--vault-rosaError and destructive action
--vault-azulInfo
--radiusCorners: rounded-sm to rounded-3xl come from it
--spacingThe spacing unit: heights, paddings and gaps (h-10 = 10 ×)
--text-*The type scale, from text-xs to text-4xl
--font-sans / --font-headingBody and heading fonts
--shadow-sm/md/lgThe shadows

Light and dark

Light lives in :root and dark in .dark. Switching mode means adding or removing the class on <html>; every theme in the gallery ships both, with the contrast of each pair checked.

document.documentElement.classList.toggle("dark");