Tweakcn
Customize theme for shadcn/ui with tweakcn's interactive editor.
Installation
Copy and the paste the following command into your terminal.
CSS
Light Mode
--background:
oklch(0.9711 0.0074 80.7211)
--foreground:
oklch(0.3000 0.0358 30.2042)
--card:
oklch(0.9711 0.0074 80.7211)
--card-foreground:
oklch(0.3000 0.0358 30.2042)
--popover:
oklch(0.9711 0.0074 80.7211)
--popover-foreground:
oklch(0.3000 0.0358 30.2042)
--primary:
oklch(0.5234 0.1347 144.1672)
--primary-foreground:
oklch(1.0000 0 0)
--secondary:
oklch(0.9571 0.0210 147.6360)
--secondary-foreground:
oklch(0.4254 0.1159 144.3078)
--muted:
oklch(0.9370 0.0142 74.4218)
--muted-foreground:
oklch(0.4495 0.0486 39.2110)
--accent:
oklch(0.8952 0.0504 146.0366)
--accent-foreground:
oklch(0.4254 0.1159 144.3078)
--destructive:
oklch(0.5386 0.1937 26.7249)
--destructive-foreground:
oklch(1.0000 0 0)
--border:
oklch(0.8805 0.0208 74.6428)
--input:
oklch(0.8805 0.0208 74.6428)
--ring:
oklch(0.5234 0.1347 144.1672)
--chart-1:
oklch(0.6731 0.1624 144.2083)
--chart-2:
oklch(0.5752 0.1446 144.1813)
--chart-3:
oklch(0.5234 0.1347 144.1672)
--chart-4:
oklch(0.4254 0.1159 144.3078)
--chart-5:
oklch(0.2157 0.0453 145.7256)
--radius:
--sidebar:
oklch(0.9370 0.0142 74.4218)
--sidebar-foreground:
oklch(0.3000 0.0358 30.2042)
--sidebar-primary:
oklch(0.5234 0.1347 144.1672)
--sidebar-primary-foreground:
oklch(1.0000 0 0)
--sidebar-accent:
oklch(0.8952 0.0504 146.0366)
--sidebar-accent-foreground:
oklch(0.4254 0.1159 144.3078)
--sidebar-border:
oklch(0.8805 0.0208 74.6428)
--sidebar-ring:
oklch(0.5234 0.1347 144.1672)
--font-sans:
--font-serif:
--font-mono:
--shadow-color:
hsl(0 0% 0%)
--shadow-opacity:
--shadow-blur:
--shadow-spread:
--shadow-offset-x:
--shadow-offset-y:
--letter-spacing:
--spacing:
--shadow-2xs:
--shadow-xs:
--shadow-sm:
--shadow:
--shadow-md:
--shadow-lg:
--shadow-xl:
--shadow-2xl:
--tracking-normal:
Dark Mode
--background:
oklch(0.2683 0.0279 150.7681)
--foreground:
oklch(0.9423 0.0097 72.6595)
--card:
oklch(0.3327 0.0271 146.9867)
--card-foreground:
oklch(0.9423 0.0097 72.6595)
--popover:
oklch(0.3327 0.0271 146.9867)
--popover-foreground:
oklch(0.9423 0.0097 72.6595)
--primary:
oklch(0.6731 0.1624 144.2083)
--primary-foreground:
oklch(0.2157 0.0453 145.7256)
--secondary:
oklch(0.3942 0.0265 142.9926)
--secondary-foreground:
oklch(0.8970 0.0166 142.5518)
--muted:
oklch(0.3327 0.0271 146.9867)
--muted-foreground:
oklch(0.8579 0.0174 76.0955)
--accent:
oklch(0.5752 0.1446 144.1813)
--accent-foreground:
oklch(0.9423 0.0097 72.6595)
--destructive:
oklch(0.5386 0.1937 26.7249)
--destructive-foreground:
oklch(0.9423 0.0097 72.6595)
--border:
oklch(0.3942 0.0265 142.9926)
--input:
oklch(0.3942 0.0265 142.9926)
--ring:
oklch(0.6731 0.1624 144.2083)
--chart-1:
oklch(0.7660 0.1179 145.2950)
--chart-2:
oklch(0.7185 0.1417 144.8887)
--chart-3:
oklch(0.6731 0.1624 144.2083)
--chart-4:
oklch(0.6291 0.1543 144.2031)
--chart-5:
oklch(0.5752 0.1446 144.1813)
--radius:
--sidebar:
oklch(0.2683 0.0279 150.7681)
--sidebar-foreground:
oklch(0.9423 0.0097 72.6595)
--sidebar-primary:
oklch(0.6731 0.1624 144.2083)
--sidebar-primary-foreground:
oklch(0.2157 0.0453 145.7256)
--sidebar-accent:
oklch(0.5752 0.1446 144.1813)
--sidebar-accent-foreground:
oklch(0.9423 0.0097 72.6595)
--sidebar-border:
oklch(0.3942 0.0265 142.9926)
--sidebar-ring:
oklch(0.6731 0.1624 144.2083)
--font-sans:
--font-serif:
--font-mono:
--shadow-color:
hsl(0 0% 0%)
--shadow-opacity:
--shadow-blur:
--shadow-spread:
--shadow-offset-x:
--shadow-offset-y:
--letter-spacing:
--spacing:
--shadow-2xs:
--shadow-xs:
--shadow-sm:
--shadow:
--shadow-md:
--shadow-lg:
--shadow-xl:
--shadow-2xl:
Theme
--font-sans:
--font-mono:
--font-serif:
--radius:
--tracking-tighter:
--tracking-tight:
--tracking-wide:
--tracking-wider:
--tracking-widest:
CSS