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.9809 0.0025 228.7836)
--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.8677 0.0735 7.0855)
--primary-foreground:
oklch(0 0 0)
--secondary:
oklch(0.8148 0.0819 225.7537)
--secondary-foreground:
oklch(0 0 0)
--muted:
oklch(0.8828 0.0285 98.1033)
--muted-foreground:
oklch(0.5382 0 0)
--accent:
oklch(0.9680 0.2110 109.7692)
--accent-foreground:
oklch(0 0 0)
--destructive:
oklch(0.6368 0.2078 25.3313)
--destructive-foreground:
oklch(1.0000 0 0)
--border:
oklch(0.8699 0 0)
--input:
oklch(0.8699 0 0)
--ring:
oklch(0.8677 0.0735 7.0855)
--chart-1:
oklch(0.8677 0.0735 7.0855)
--chart-2:
oklch(0.8148 0.0819 225.7537)
--chart-3:
oklch(0.9680 0.2110 109.7692)
--chart-4:
oklch(0.8027 0.1355 349.2347)
--chart-5:
oklch(0.7395 0.2268 142.8504)
--radius:
--sidebar:
oklch(0.9809 0.0025 228.7836)
--sidebar-foreground:
oklch(0.3211 0 0)
--sidebar-primary:
oklch(0.8677 0.0735 7.0855)
--sidebar-primary-foreground:
oklch(0 0 0)
--sidebar-accent:
oklch(0.9680 0.2110 109.7692)
--sidebar-accent-foreground:
oklch(0 0 0)
--sidebar-border:
oklch(0.8699 0 0)
--sidebar-ring:
oklch(0.8677 0.0735 7.0855)
--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.2303 0.0125 264.2926)
--foreground:
oklch(0.9219 0 0)
--card:
oklch(0.3210 0.0078 223.6661)
--card-foreground:
oklch(0.9219 0 0)
--popover:
oklch(0.3210 0.0078 223.6661)
--popover-foreground:
oklch(0.9219 0 0)
--primary:
oklch(0.8027 0.1355 349.2347)
--primary-foreground:
oklch(0 0 0)
--secondary:
oklch(0.7395 0.2268 142.8504)
--secondary-foreground:
oklch(0 0 0)
--muted:
oklch(0.3867 0 0)
--muted-foreground:
oklch(0.7155 0 0)
--accent:
oklch(0.8148 0.0819 225.7537)
--accent-foreground:
oklch(0 0 0)
--destructive:
oklch(0.6368 0.2078 25.3313)
--destructive-foreground:
oklch(1.0000 0 0)
--border:
oklch(0.3867 0 0)
--input:
oklch(0.3867 0 0)
--ring:
oklch(0.8027 0.1355 349.2347)
--chart-1:
oklch(0.8027 0.1355 349.2347)
--chart-2:
oklch(0.7395 0.2268 142.8504)
--chart-3:
oklch(0.8148 0.0819 225.7537)
--chart-4:
oklch(0.9680 0.2110 109.7692)
--chart-5:
oklch(0.8652 0.1768 90.3816)
--radius:
--sidebar:
oklch(0.2303 0.0125 264.2926)
--sidebar-foreground:
oklch(0.9219 0 0)
--sidebar-primary:
oklch(0.8027 0.1355 349.2347)
--sidebar-primary-foreground:
oklch(0 0 0)
--sidebar-accent:
oklch(0.8148 0.0819 225.7537)
--sidebar-accent-foreground:
oklch(0 0 0)
--sidebar-border:
oklch(0.3867 0 0)
--sidebar-ring:
oklch(0.8027 0.1355 349.2347)
--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