Skip to main content
Every themed component is styled from tokens. Override the ones that matter for your brand and leave the rest on the neutral defaults.
Light and dark colors are set separately. With colorScheme="system" the provider follows the OS preference.

Tokens

Colors

Each of colors.light and colors.dark has:

Everything else

Using tokens in your own styles

Tokens are CSS variables, so your own components can follow the theme:
useTheme() returns the resolved values in JavaScript.

Building a theme editor

The tokens are introspectable, so an editor can generate its controls and feed the result straight back for a live preview:
Other helpers: mergeTheme(base, override) and themeToCss(theme, scope?).