DocsTheming

Theming

Installed components use your Tailwind theme tokens. Toggle a dark class on the document and both themes follow the same roles.

Color tokens

Components only use semantic roles, never raw colors. Change a role and every component follows, in both themes. The swatches below show the current values.

TokenUse it for
--background

The page behind everything.

--card

Cards, inputs, and panels on the page.

--popover

Menus, popovers, and dialogs that float.

--muted

Quiet fills: hover states, wells, code.

--foreground

Primary text and icons.

--secondary-foreground

Supporting text and descriptions.

--muted-foreground

Hints, placeholders, and metadata.

--border

Default one pixel separators.

--input

Dividers inside a surface.

--ring

Hovered, pressed, or focused edges.

--primary

Selected navigation, progress, and strong emphasis.

--accent

Hover fills and helpful context.

--destructive

Destructive actions and errors.

Explore VantaUI

Search sites, categories, sections, or styles.