Tweakcn
Customize theme for shadcn/ui with tweakcn's interactive editor.
Installation
Copy and the paste the following command into your terminal.
Preview
CSS
Light Mode
--background:
oklch(0.9551 0 0)
--foreground:
oklch(0.3211 0 0)
--card:
oklch(0.9702 0 0)
--card-foreground:
oklch(0.3211 0 0)
--popover:
oklch(0.9702 0 0)
--popover-foreground:
oklch(0.3211 0 0)
--primary:
oklch(0.4891 0 0)
--primary-foreground:
oklch(1.0000 0 0)
--secondary:
oklch(0.9067 0 0)
--secondary-foreground:
oklch(0.3211 0 0)
--muted:
oklch(0.8853 0 0)
--muted-foreground:
oklch(0.5103 0 0)
--accent:
oklch(0.8078 0 0)
--accent-foreground:
oklch(0.3211 0 0)
--destructive:
oklch(0.5594 0.1900 25.8625)
--destructive-foreground:
oklch(1.0000 0 0)
--border:
oklch(0.8576 0 0)
--input:
oklch(0.9067 0 0)
--ring:
oklch(0.4891 0 0)
--chart-1:
oklch(0.4891 0 0)
--chart-2:
oklch(0.4863 0.0361 196.0278)
--chart-3:
oklch(0.6534 0 0)
--chart-4:
oklch(0.7316 0 0)
--chart-5:
oklch(0.8078 0 0)
--radius:
--sidebar:
oklch(0.9370 0 0)
--sidebar-foreground:
oklch(0.3211 0 0)
--sidebar-primary:
oklch(0.4891 0 0)
--sidebar-primary-foreground:
oklch(1.0000 0 0)
--sidebar-accent:
oklch(0.8078 0 0)
--sidebar-accent-foreground:
oklch(0.3211 0 0)
--sidebar-border:
oklch(0.8576 0 0)
--sidebar-ring:
oklch(0.4891 0 0)
--font-sans:
--font-serif:
--font-mono:
--shadow-color:
hsl(0 0% 20% / 0.1)
--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.2178 0 0)
--foreground:
oklch(0.8853 0 0)
--card:
oklch(0.2435 0 0)
--card-foreground:
oklch(0.8853 0 0)
--popover:
oklch(0.2435 0 0)
--popover-foreground:
oklch(0.8853 0 0)
--primary:
oklch(0.7058 0 0)
--primary-foreground:
oklch(0.2178 0 0)
--secondary:
oklch(0.3092 0 0)
--secondary-foreground:
oklch(0.8853 0 0)
--muted:
oklch(0.2850 0 0)
--muted-foreground:
oklch(0.5999 0 0)
--accent:
oklch(0.3715 0 0)
--accent-foreground:
oklch(0.8853 0 0)
--destructive:
oklch(0.6591 0.1530 22.1703)
--destructive-foreground:
oklch(1.0000 0 0)
--border:
oklch(0.3290 0 0)
--input:
oklch(0.3092 0 0)
--ring:
oklch(0.7058 0 0)
--chart-1:
oklch(0.7058 0 0)
--chart-2:
oklch(0.6714 0.0339 206.3482)
--chart-3:
oklch(0.5452 0 0)
--chart-4:
oklch(0.4604 0 0)
--chart-5:
oklch(0.3715 0 0)
--radius:
--sidebar:
oklch(0.2393 0 0)
--sidebar-foreground:
oklch(0.8853 0 0)
--sidebar-primary:
oklch(0.7058 0 0)
--sidebar-primary-foreground:
oklch(0.2178 0 0)
--sidebar-accent:
oklch(0.3715 0 0)
--sidebar-accent-foreground:
oklch(0.8853 0 0)
--sidebar-border:
oklch(0.3290 0 0)
--sidebar-ring:
oklch(0.7058 0 0)
--font-sans:
--font-serif:
--font-mono:
--shadow-color:
hsl(0 0% 20% / 0.1)
--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