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.9885 0.0057 84.5659)
--foreground:
oklch(0.3660 0.0251 49.6085)
--card:
oklch(0.9686 0.0091 78.2818)
--card-foreground:
oklch(0.3660 0.0251 49.6085)
--popover:
oklch(0.9686 0.0091 78.2818)
--popover-foreground:
oklch(0.3660 0.0251 49.6085)
--primary:
oklch(0.5553 0.1455 48.9975)
--primary-foreground:
oklch(1.0000 0 0)
--secondary:
oklch(0.8276 0.0752 74.4400)
--secondary-foreground:
oklch(0.4444 0.0096 73.6390)
--muted:
oklch(0.9363 0.0218 83.2637)
--muted-foreground:
oklch(0.5534 0.0116 58.0708)
--accent:
oklch(0.9000 0.0500 74.9889)
--accent-foreground:
oklch(0.4444 0.0096 73.6390)
--destructive:
oklch(0.4437 0.1613 26.8994)
--destructive-foreground:
oklch(1.0000 0 0)
--border:
oklch(0.8866 0.0404 89.6994)
--input:
oklch(0.8866 0.0404 89.6994)
--ring:
oklch(0.5553 0.1455 48.9975)
--chart-1:
oklch(0.5553 0.1455 48.9975)
--chart-2:
oklch(0.5534 0.0116 58.0708)
--chart-3:
oklch(0.5538 0.1207 66.4416)
--chart-4:
oklch(0.5534 0.0116 58.0708)
--chart-5:
oklch(0.6806 0.1423 75.8340)
--radius:
--sidebar:
oklch(0.9363 0.0218 83.2637)
--sidebar-foreground:
oklch(0.3660 0.0251 49.6085)
--sidebar-primary:
oklch(0.5553 0.1455 48.9975)
--sidebar-primary-foreground:
oklch(1.0000 0 0)
--sidebar-accent:
oklch(0.5538 0.1207 66.4416)
--sidebar-accent-foreground:
oklch(1.0000 0 0)
--sidebar-border:
oklch(0.8866 0.0404 89.6994)
--sidebar-ring:
oklch(0.5553 0.1455 48.9975)
--font-sans:
--font-serif:
--font-mono:
--shadow-color:
hsl(28 18% 25%)
--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.2161 0.0061 56.0434)
--foreground:
oklch(0.9699 0.0013 106.4238)
--card:
oklch(0.2685 0.0063 34.2976)
--card-foreground:
oklch(0.9699 0.0013 106.4238)
--popover:
oklch(0.2685 0.0063 34.2976)
--popover-foreground:
oklch(0.9699 0.0013 106.4238)
--primary:
oklch(0.7049 0.1867 47.6044)
--primary-foreground:
oklch(1.0000 0 0)
--secondary:
oklch(0.4444 0.0096 73.6390)
--secondary-foreground:
oklch(0.9232 0.0026 48.7171)
--muted:
oklch(0.2685 0.0063 34.2976)
--muted-foreground:
oklch(0.7161 0.0091 56.2590)
--accent:
oklch(0.3598 0.0497 229.3202)
--accent-foreground:
oklch(0.9232 0.0026 48.7171)
--destructive:
oklch(0.5771 0.2152 27.3250)
--destructive-foreground:
oklch(1.0000 0 0)
--border:
oklch(0.3741 0.0087 67.5582)
--input:
oklch(0.3741 0.0087 67.5582)
--ring:
oklch(0.7049 0.1867 47.6044)
--chart-1:
oklch(0.7049 0.1867 47.6044)
--chart-2:
oklch(0.6847 0.1479 237.3225)
--chart-3:
oklch(0.7952 0.1617 86.0468)
--chart-4:
oklch(0.7161 0.0091 56.2590)
--chart-5:
oklch(0.5534 0.0116 58.0708)
--radius:
--sidebar:
oklch(0.2685 0.0063 34.2976)
--sidebar-foreground:
oklch(0.9699 0.0013 106.4238)
--sidebar-primary:
oklch(0.7049 0.1867 47.6044)
--sidebar-primary-foreground:
oklch(1.0000 0 0)
--sidebar-accent:
oklch(0.6847 0.1479 237.3225)
--sidebar-accent-foreground:
oklch(0.2839 0.0734 254.5378)
--sidebar-border:
oklch(0.3741 0.0087 67.5582)
--sidebar-ring:
oklch(0.7049 0.1867 47.6044)
--font-sans:
--font-serif:
--font-mono:
--shadow-color:
hsl(0 0% 5%)
--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