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.9900 0 0)
--foreground:
oklch(0 0 0)
--card:
oklch(1 0 0)
--card-foreground:
oklch(0 0 0)
--popover:
oklch(0.9900 0 0)
--popover-foreground:
oklch(0 0 0)
--primary:
oklch(0 0 0)
--primary-foreground:
oklch(1 0 0)
--secondary:
oklch(0.9400 0 0)
--secondary-foreground:
oklch(0 0 0)
--muted:
oklch(0.9700 0 0)
--muted-foreground:
oklch(0.4400 0 0)
--accent:
oklch(0.9400 0 0)
--accent-foreground:
oklch(0 0 0)
--destructive:
oklch(0.6300 0.1900 23.0300)
--destructive-foreground:
oklch(1 0 0)
--border:
oklch(0.9200 0 0)
--input:
oklch(0.9400 0 0)
--ring:
oklch(0 0 0)
--chart-1:
oklch(0.8100 0.1700 75.3500)
--chart-2:
oklch(0.5500 0.2200 264.5300)
--chart-3:
oklch(0.7200 0 0)
--chart-4:
oklch(0.9200 0 0)
--chart-5:
oklch(0.5600 0 0)
--radius:
--sidebar:
oklch(0.9900 0 0)
--sidebar-foreground:
oklch(0 0 0)
--sidebar-primary:
oklch(0 0 0)
--sidebar-primary-foreground:
oklch(1 0 0)
--sidebar-accent:
oklch(0.9400 0 0)
--sidebar-accent-foreground:
oklch(0 0 0)
--sidebar-border:
oklch(0.9400 0 0)
--sidebar-ring:
oklch(0 0 0)
--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 0 0)
--foreground:
oklch(1 0 0)
--card:
oklch(0.1400 0 0)
--card-foreground:
oklch(1 0 0)
--popover:
oklch(0.1800 0 0)
--popover-foreground:
oklch(1 0 0)
--primary:
oklch(1 0 0)
--primary-foreground:
oklch(0 0 0)
--secondary:
oklch(0.2500 0 0)
--secondary-foreground:
oklch(1 0 0)
--muted:
oklch(0.2300 0 0)
--muted-foreground:
oklch(0.7200 0 0)
--accent:
oklch(0.3200 0 0)
--accent-foreground:
oklch(1 0 0)
--destructive:
oklch(0.6900 0.2000 23.9100)
--destructive-foreground:
oklch(0 0 0)
--border:
oklch(0.2600 0 0)
--input:
oklch(0.3200 0 0)
--ring:
oklch(0.7200 0 0)
--chart-1:
oklch(0.8100 0.1700 75.3500)
--chart-2:
oklch(0.5800 0.2100 260.8400)
--chart-3:
oklch(0.5600 0 0)
--chart-4:
oklch(0.4400 0 0)
--chart-5:
oklch(0.9200 0 0)
--radius:
--sidebar:
oklch(0.1800 0 0)
--sidebar-foreground:
oklch(1 0 0)
--sidebar-primary:
oklch(1 0 0)
--sidebar-primary-foreground:
oklch(0 0 0)
--sidebar-accent:
oklch(0.3200 0 0)
--sidebar-accent-foreground:
oklch(1 0 0)
--sidebar-border:
oklch(0.3200 0 0)
--sidebar-ring:
oklch(0.7200 0 0)
--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