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(1.0000 0 0)
--foreground:
oklch(0.1448 0 0)
--card:
oklch(1.0000 0 0)
--card-foreground:
oklch(0.1448 0 0)
--popover:
oklch(1.0000 0 0)
--popover-foreground:
oklch(0.1448 0 0)
--primary:
oklch(0.5555 0 0)
--primary-foreground:
oklch(0.9851 0 0)
--secondary:
oklch(0.9702 0 0)
--secondary-foreground:
oklch(0.2046 0 0)
--muted:
oklch(0.9702 0 0)
--muted-foreground:
oklch(0.5486 0 0)
--accent:
oklch(0.9702 0 0)
--accent-foreground:
oklch(0.2046 0 0)
--destructive:
oklch(0.5830 0.2387 28.4765)
--destructive-foreground:
oklch(0.9702 0 0)
--border:
oklch(0.9219 0 0)
--input:
oklch(0.9219 0 0)
--ring:
oklch(0.7090 0 0)
--chart-1:
oklch(0.5555 0 0)
--chart-2:
oklch(0.5555 0 0)
--chart-3:
oklch(0.5555 0 0)
--chart-4:
oklch(0.5555 0 0)
--chart-5:
oklch(0.5555 0 0)
--radius:
--sidebar:
oklch(0.9851 0 0)
--sidebar-foreground:
oklch(0.1448 0 0)
--sidebar-primary:
oklch(0.2046 0 0)
--sidebar-primary-foreground:
oklch(0.9851 0 0)
--sidebar-accent:
oklch(0.9702 0 0)
--sidebar-accent-foreground:
oklch(0.2046 0 0)
--sidebar-border:
oklch(0.9219 0 0)
--sidebar-ring:
oklch(0.7090 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.1448 0 0)
--foreground:
oklch(0.9851 0 0)
--card:
oklch(0.2134 0 0)
--card-foreground:
oklch(0.9851 0 0)
--popover:
oklch(0.2686 0 0)
--popover-foreground:
oklch(0.9851 0 0)
--primary:
oklch(0.5555 0 0)
--primary-foreground:
oklch(0.9851 0 0)
--secondary:
oklch(0.2686 0 0)
--secondary-foreground:
oklch(0.9851 0 0)
--muted:
oklch(0.2686 0 0)
--muted-foreground:
oklch(0.7090 0 0)
--accent:
oklch(0.3715 0 0)
--accent-foreground:
oklch(0.9851 0 0)
--destructive:
oklch(0.7022 0.1892 22.2279)
--destructive-foreground:
oklch(0.2686 0 0)
--border:
oklch(0.3407 0 0)
--input:
oklch(0.4386 0 0)
--ring:
oklch(0.5555 0 0)
--chart-1:
oklch(0.5555 0 0)
--chart-2:
oklch(0.5555 0 0)
--chart-3:
oklch(0.5555 0 0)
--chart-4:
oklch(0.5555 0 0)
--chart-5:
oklch(0.5555 0 0)
--radius:
--sidebar:
oklch(0.2046 0 0)
--sidebar-foreground:
oklch(0.9851 0 0)
--sidebar-primary:
oklch(0.9851 0 0)
--sidebar-primary-foreground:
oklch(0.2046 0 0)
--sidebar-accent:
oklch(0.2686 0 0)
--sidebar-accent-foreground:
oklch(0.9851 0 0)
--sidebar-border:
oklch(1.0000 0 0)
--sidebar-ring:
oklch(0.4386 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