Documentation is under development.
Theme Customization
Easily customize theme using plugin. The plugin works by modifying CSS variables, which are then injected into CSS and utilized by component styles.
Prerequisites
Before customizing theme colors, ensure you have @radix-ui/colors installed. Plugin relies on Radix UI colors, bypassing Tailwind CSS's default palette.
Customizing
To tailor your theme, navigate to tailwind.config.ts
and provide a configuration object to the plugin. The plugin accepts only one configuration parameter, enabling you to override all default theme values and create a fully customized theme from scratch.
new theme
When creating a new theme, remember to use the createColorScale
function to define your colors. As Plugin relies on Radix UI colors, please select colors from the official Radix UI color palette: @radix-ui/colors.
API
Plugin accepts these properties in config object.