UI Kit/Make it yours

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.

Online
Pending
Failed

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/theme

Change 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

TokenLightDark
--radius0.5remsame as light
--backgroundhsl(0 0% 100%)hsl(0 0% 11%)
--foregroundhsl(0 0% 6%)hsl(0 0% 98%)
--cardhsl(0 0% 100%)hsl(0 0% 9.5%)
--sidebarhsl(0 0% 98%)hsl(0 0% 9%)
--primaryhsl(0 0% 9%)hsl(0 0% 98%)
--primary-foregroundhsl(0 0% 98%)hsl(0 0% 9%)
--secondaryhsl(0 0% 95%)hsl(0 0% 15%)
--secondary-foregroundhsl(0 0% 9%)hsl(0 0% 98%)
--mutedhsl(0 0% 95%)hsl(0 0% 15%)
--muted-foregroundhsl(0 0% 40%)hsl(0 0% 65%)
--accenthsl(0 0% 93%)hsl(0 0% 16%)
--accent-foregroundhsl(0 0% 9%)hsl(0 0% 98%)
--destructivehsl(0 72% 51%)hsl(0 63% 42%)
--destructive-foregroundhsl(0 0% 98%)hsl(0 0% 98%)
--successhsl(142 76% 36%)hsl(142 69% 58%)
--dangerhsl(0 72% 51%)hsl(0 91% 71%)
--warninghsl(21 90% 48%)hsl(27 96% 61%)
--infohsl(221 83% 53%)hsl(213 94% 68%)
--borderhsl(0 0% 89%)hsl(0 0% 17%)
--inputhsl(0 0% 89%)hsl(0 0% 19%)
--ringhsl(0 0% 9%)hsl(0 0% 84%)