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.3588 0.1354 278.6973)
--card:
oklch(1.0000 0 0)
--card-foreground:
oklch(0.3588 0.1354 278.6973)
--popover:
oklch(1.0000 0 0)
--popover-foreground:
oklch(0.3588 0.1354 278.6973)
--primary:
oklch(0.6056 0.2189 292.7172)
--primary-foreground:
oklch(1.0000 0 0)
--secondary:
oklch(0.9618 0.0202 295.1913)
--secondary-foreground:
oklch(0.4568 0.2146 277.0229)
--muted:
oklch(0.9691 0.0161 293.7558)
--muted-foreground:
oklch(0.5413 0.2466 293.0090)
--accent:
oklch(0.9319 0.0316 255.5855)
--accent-foreground:
oklch(0.4244 0.1809 265.6377)
--destructive:
oklch(0.6368 0.2078 25.3313)
--destructive-foreground:
oklch(1.0000 0 0)
--border:
oklch(0.9299 0.0334 272.7879)
--input:
oklch(0.9299 0.0334 272.7879)
--ring:
oklch(0.6056 0.2189 292.7172)
--chart-1:
oklch(0.6056 0.2189 292.7172)
--chart-2:
oklch(0.5413 0.2466 293.0090)
--chart-3:
oklch(0.4907 0.2412 292.5809)
--chart-4:
oklch(0.4320 0.2106 292.7591)
--chart-5:
oklch(0.3796 0.1783 293.7446)
--radius:
--sidebar:
oklch(0.9691 0.0161 293.7558)
--sidebar-foreground:
oklch(0.3588 0.1354 278.6973)
--sidebar-primary:
oklch(0.6056 0.2189 292.7172)
--sidebar-primary-foreground:
oklch(1.0000 0 0)
--sidebar-accent:
oklch(0.9319 0.0316 255.5855)
--sidebar-accent-foreground:
oklch(0.4244 0.1809 265.6377)
--sidebar-border:
oklch(0.9299 0.0334 272.7879)
--sidebar-ring:
oklch(0.6056 0.2189 292.7172)
--font-sans:
--font-serif:
--font-mono:
--shadow-color:
hsl(255 86% 66%)
--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.2077 0.0398 265.7549)
--foreground:
oklch(0.9299 0.0334 272.7879)
--card:
oklch(0.2573 0.0861 281.2883)
--card-foreground:
oklch(0.9299 0.0334 272.7879)
--popover:
oklch(0.2573 0.0861 281.2883)
--popover-foreground:
oklch(0.9299 0.0334 272.7879)
--primary:
oklch(0.6056 0.2189 292.7172)
--primary-foreground:
oklch(1.0000 0 0)
--secondary:
oklch(0.2573 0.0861 281.2883)
--secondary-foreground:
oklch(0.9299 0.0334 272.7879)
--muted:
oklch(0.2573 0.0861 281.2883)
--muted-foreground:
oklch(0.8112 0.1013 293.5712)
--accent:
oklch(0.4568 0.2146 277.0229)
--accent-foreground:
oklch(0.9299 0.0334 272.7879)
--destructive:
oklch(0.6368 0.2078 25.3313)
--destructive-foreground:
oklch(1.0000 0 0)
--border:
oklch(0.2827 0.1351 291.0894)
--input:
oklch(0.2827 0.1351 291.0894)
--ring:
oklch(0.6056 0.2189 292.7172)
--chart-1:
oklch(0.7090 0.1592 293.5412)
--chart-2:
oklch(0.6056 0.2189 292.7172)
--chart-3:
oklch(0.5413 0.2466 293.0090)
--chart-4:
oklch(0.4907 0.2412 292.5809)
--chart-5:
oklch(0.4320 0.2106 292.7591)
--radius:
--sidebar:
oklch(0.2077 0.0398 265.7549)
--sidebar-foreground:
oklch(0.9299 0.0334 272.7879)
--sidebar-primary:
oklch(0.6056 0.2189 292.7172)
--sidebar-primary-foreground:
oklch(1.0000 0 0)
--sidebar-accent:
oklch(0.4568 0.2146 277.0229)
--sidebar-accent-foreground:
oklch(0.9299 0.0334 272.7879)
--sidebar-border:
oklch(0.2827 0.1351 291.0894)
--sidebar-ring:
oklch(0.6056 0.2189 292.7172)
--font-sans:
--font-serif:
--font-mono:
--shadow-color:
hsl(255 86% 66%)
--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