Make it yours
Components take their colors and corners only from tokens, so one small set of values sets the whole look. Pick a look below. These are the same components with different values.
Change one app
Components use the shadcn tokens already in your app's globals.css, so they match it from the first install. Edit a value there, and every component follows, including ours. Adding more components keeps your values.
:root {
--radius: 0.25rem;
--primary: hsl(243 75% 59%);
--primary-foreground: hsl(0 0% 100%);
}Change one component
Installing copies the component to components/kit/. It's your code, so edit its classes or markup directly. Installing it again asks before replacing a changed file.
Use the full UI Kit look
This replaces the colors and corners in your globals.css with the values below, and it overwrites any you changed. Commit first so you can review the change.
bunx --bun shadcn@latest add HarshitMahajan/UI/themeChange the house style
Edit registry/styles/theme.css in this library's repo and push. This site and later theme installs then use the new values. Apps keep their own values until they install it again.
All tokens
| Token | Light | Dark |
|---|---|---|
| --radius | 0.5rem | same as light |
| --background | hsl(0 0% 100%) | hsl(0 0% 11%) |
| --foreground | hsl(0 0% 6%) | hsl(0 0% 98%) |
| --card | hsl(0 0% 100%) | hsl(0 0% 9.5%) |
| --sidebar | hsl(0 0% 98%) | hsl(0 0% 9%) |
| --primary | hsl(0 0% 9%) | hsl(0 0% 98%) |
| --primary-foreground | hsl(0 0% 98%) | hsl(0 0% 9%) |
| --secondary | hsl(0 0% 95%) | hsl(0 0% 15%) |
| --secondary-foreground | hsl(0 0% 9%) | hsl(0 0% 98%) |
| --muted | hsl(0 0% 95%) | hsl(0 0% 15%) |
| --muted-foreground | hsl(0 0% 40%) | hsl(0 0% 65%) |
| --accent | hsl(0 0% 93%) | hsl(0 0% 16%) |
| --accent-foreground | hsl(0 0% 9%) | hsl(0 0% 98%) |
| --destructive | hsl(0 72% 51%) | hsl(0 63% 42%) |
| --destructive-foreground | hsl(0 0% 98%) | hsl(0 0% 98%) |
| --success | hsl(142 76% 36%) | hsl(142 69% 58%) |
| --danger | hsl(0 72% 51%) | hsl(0 91% 71%) |
| --warning | hsl(21 90% 48%) | hsl(27 96% 61%) |
| --info | hsl(221 83% 53%) | hsl(213 94% 68%) |
| --border | hsl(0 0% 89%) | hsl(0 0% 17%) |
| --input | hsl(0 0% 89%) | hsl(0 0% 19%) |
| --ring | hsl(0 0% 9%) | hsl(0 0% 84%) |