Search for a command to run...
Zaidan uses a registry-based theming system. To change colors, base colors, radius, or fonts, you simply add the registry item you want through the shadcn CLI — no manual CSS editing needed.
Styles control the visual treatment of every component — spacing, borders, padding, rounded corners. Zaidan ships with 5 styles: Vega, Nova, Lyra, Maia, and Mira.
npx shadcn@latest add @zaidan/style-vegapnpx shadcn add @zaidan/style-vegayarn dlx shadcn@latest add @zaidan/style-vegabunx shadcn@latest add @zaidan/style-vegaWhen you add a style, the CLI create or override the src/styles/base.css file into your project.
This file contains .z-* classes that style every component using Tailwind @apply directives.
This file should be automatically imported in your main css file, if not, add it yourself:
@import "tailwindcss";@import "./styles/base.css";Shadcn does not handle the location for css files, so if you have a different structure, you'll need to adapt it to your project.
Zaidan separates colors into two layers:
All colors use the OKLCH color space and are applied as CSS custom properties with light and dark variants. Add a theme the same way:
npx shadcn@latest add @zaidan/blue @zaidan/graypnpx shadcn add @zaidan/blue @zaidan/grayyarn dlx shadcn@latest add @zaidan/blue @zaidan/graybunx shadcn@latest add @zaidan/blue @zaidan/grayThe CLI injects the corresponding CSS variables into your project. Dark mode variants are included automatically.
Border radius is controlled by a single CSS variable --radius that all components reference via Tailwind's rounded-[--radius] syntax. Changing it once updates every component.
Zaidan provides 12 font families as registry items. Each includes the Google Fonts @import rule and sets the --font-sans or --font-mono CSS variable:
npx shadcn@latest add @zaidan/font-interpnpx shadcn add @zaidan/font-interyarn dlx shadcn@latest add @zaidan/font-interbunx shadcn@latest add @zaidan/font-inter