shadcn/ui Theme Export
Export ChromUI themes as shadcn/ui-compatible CSS. Ready-to-use CSS variables that work with shadcn/ui components. Includes colors, typography, and spacing tokens.
Output Format
The shadcn/ui export generates CSS variables that match shadcn/ui's naming conventions. Color tokens include `--background`, `--foreground`, `--primary`, `--primary-foreground`, `--secondary`, `--muted`, `--accent`, `--destructive`, `--border`, `--input`, `--ring`, etc.
Typography tokens use shadcn/ui's font variable names. Spacing and other tokens follow shadcn/ui's conventions. The export is ready to use with shadcn/ui components without modification.
How to Apply
Copy the generated CSS and add it to your global stylesheet (usually `app/globals.css` in Next.js). Replace the existing `:root` block or merge the variables. shadcn/ui components will automatically use the new theme values.
FAQ
Does this work with all shadcn/ui components?
Yes. The export includes all color variables required by shadcn/ui components. Components will automatically use the new theme values.
Can I use this with existing shadcn/ui themes?
Yes. Replace the `:root` block in your `globals.css` or merge variables. Existing component styles remain unchanged.
Are the colors in HSL format?
Yes. shadcn/ui uses HSL color values without the `hsl()` wrapper. The export matches this format for compatibility.