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.9383 0.0042 236.4993)
--foreground:
oklch(0.3211 0 0)
--card:
oklch(1.0000 0 0)
--card-foreground:
oklch(0.3211 0 0)
--popover:
oklch(1.0000 0 0)
--popover-foreground:
oklch(0.3211 0 0)
--primary:
oklch(0.6397 0.1720 36.4421)
--primary-foreground:
oklch(1.0000 0 0)
--secondary:
oklch(0.9670 0.0029 264.5419)
--secondary-foreground:
oklch(0.4461 0.0263 256.8018)
--muted:
oklch(0.9846 0.0017 247.8389)
--muted-foreground:
oklch(0.5510 0.0234 264.3637)
--accent:
oklch(0.9119 0.0222 243.8174)
--accent-foreground:
oklch(0.3791 0.1378 265.5222)
--destructive:
oklch(0.6368 0.2078 25.3313)
--destructive-foreground:
oklch(1.0000 0 0)
--border:
oklch(0.9022 0.0052 247.8822)
--input:
oklch(0.9700 0.0029 264.5420)
--ring:
oklch(0.6397 0.1720 36.4421)
--chart-1:
oklch(0.7156 0.0605 248.6845)
--chart-2:
oklch(0.7875 0.0917 35.9616)
--chart-3:
oklch(0.5778 0.0759 254.1573)
--chart-4:
oklch(0.5016 0.0849 259.4902)
--chart-5:
oklch(0.4241 0.0952 264.0306)
--radius:
--sidebar:
oklch(0.9030 0.0046 258.3257)
--sidebar-foreground:
oklch(0.3211 0 0)
--sidebar-primary:
oklch(0.6397 0.1720 36.4421)
--sidebar-primary-foreground:
oklch(1.0000 0 0)
--sidebar-accent:
oklch(0.9119 0.0222 243.8174)
--sidebar-accent-foreground:
oklch(0.3791 0.1378 265.5222)
--sidebar-border:
oklch(0.9276 0.0058 264.5313)
--sidebar-ring:
oklch(0.6397 0.1720 36.4421)
--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.2598 0.0306 262.6666)
--foreground:
oklch(0.9219 0 0)
--card:
oklch(0.3106 0.0301 268.6365)
--card-foreground:
oklch(0.9219 0 0)
--popover:
oklch(0.2900 0.0249 268.3986)
--popover-foreground:
oklch(0.9219 0 0)
--primary:
oklch(0.6397 0.1720 36.4421)
--primary-foreground:
oklch(1.0000 0 0)
--secondary:
oklch(0.3095 0.0266 266.7132)
--secondary-foreground:
oklch(0.9219 0 0)
--muted:
oklch(0.3095 0.0266 266.7132)
--muted-foreground:
oklch(0.7155 0 0)
--accent:
oklch(0.3380 0.0589 267.5867)
--accent-foreground:
oklch(0.8823 0.0571 254.1284)
--destructive:
oklch(0.6368 0.2078 25.3313)
--destructive-foreground:
oklch(1.0000 0 0)
--border:
oklch(0.3843 0.0301 269.7337)
--input:
oklch(0.3843 0.0301 269.7337)
--ring:
oklch(0.6397 0.1720 36.4421)
--chart-1:
oklch(0.7156 0.0605 248.6845)
--chart-2:
oklch(0.7693 0.0876 34.1875)
--chart-3:
oklch(0.5778 0.0759 254.1573)
--chart-4:
oklch(0.5016 0.0849 259.4902)
--chart-5:
oklch(0.4241 0.0952 264.0306)
--radius:
--sidebar:
oklch(0.3100 0.0283 267.7408)
--sidebar-foreground:
oklch(0.9219 0 0)
--sidebar-primary:
oklch(0.6397 0.1720 36.4421)
--sidebar-primary-foreground:
oklch(1.0000 0 0)
--sidebar-accent:
oklch(0.3380 0.0589 267.5867)
--sidebar-accent-foreground:
oklch(0.8823 0.0571 254.1284)
--sidebar-border:
oklch(0.3843 0.0301 269.7337)
--sidebar-ring:
oklch(0.6397 0.1720 36.4421)
--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