VaneUI components read a small, semantic set of CSS custom properties. Override these variables to change colors and radii globally or for any subtree. This page lists only the variables used by @vaneui/ui and how to override them.
Text colors
Background colors
Filled variant colors
Border colors
Radii
/* styles/globals.css */:root { /* brand text */ --text-color-primary: #8b5cf6; /* brand surfaces */ --background-color-primary: #f3e8ff; /* borders */ --border-color-primary: #c4b5fd; /* rounded controls */ --ui-border-radius-md: 0.75rem;}
/* Only affects components inside .marketing */.marketing { --text-color-primary: #059669; --background-color-primary: #ecfdf5; --border-color-primary: #6ee7b7;}
colors
field; use these CSS variables to change colors. You can still use ThemeProvider for defaults and extra classes.That’s it — override these variables to theme @vaneui/ui components simply and predictably.