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.9842 0.0034 247.8575)
--foreground:
oklch(0.2795 0.0368 260.0310)
--card:
oklch(1.0000 0 0)
--card-foreground:
oklch(0.2795 0.0368 260.0310)
--popover:
oklch(1.0000 0 0)
--popover-foreground:
oklch(0.2795 0.0368 260.0310)
--primary:
oklch(0.5854 0.2041 277.1173)
--primary-foreground:
oklch(1.0000 0 0)
--secondary:
oklch(0.9276 0.0058 264.5313)
--secondary-foreground:
oklch(0.3729 0.0306 259.7328)
--muted:
oklch(0.9670 0.0029 264.5419)
--muted-foreground:
oklch(0.5510 0.0234 264.3637)
--accent:
oklch(0.9299 0.0334 272.7879)
--accent-foreground:
oklch(0.3729 0.0306 259.7328)
--destructive:
oklch(0.6368 0.2078 25.3313)
--destructive-foreground:
oklch(1.0000 0 0)
--border:
oklch(0.8717 0.0093 258.3382)
--input:
oklch(0.8717 0.0093 258.3382)
--ring:
oklch(0.5854 0.2041 277.1173)
--chart-1:
oklch(0.5854 0.2041 277.1173)
--chart-2:
oklch(0.5106 0.2301 276.9656)
--chart-3:
oklch(0.4568 0.2146 277.0229)
--chart-4:
oklch(0.3984 0.1773 277.3662)
--chart-5:
oklch(0.3588 0.1354 278.6973)
--radius:
--sidebar:
oklch(0.9670 0.0029 264.5419)
--sidebar-foreground:
oklch(0.2795 0.0368 260.0310)
--sidebar-primary:
oklch(0.5854 0.2041 277.1173)
--sidebar-primary-foreground:
oklch(1.0000 0 0)
--sidebar-accent:
oklch(0.9299 0.0334 272.7879)
--sidebar-accent-foreground:
oklch(0.3729 0.0306 259.7328)
--sidebar-border:
oklch(0.8717 0.0093 258.3382)
--sidebar-ring:
oklch(0.5854 0.2041 277.1173)
--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.2077 0.0398 265.7549)
--foreground:
oklch(0.9288 0.0126 255.5078)
--card:
oklch(0.2795 0.0368 260.0310)
--card-foreground:
oklch(0.9288 0.0126 255.5078)
--popover:
oklch(0.2795 0.0368 260.0310)
--popover-foreground:
oklch(0.9288 0.0126 255.5078)
--primary:
oklch(0.6801 0.1583 276.9349)
--primary-foreground:
oklch(0.2077 0.0398 265.7549)
--secondary:
oklch(0.3351 0.0331 260.9120)
--secondary-foreground:
oklch(0.8717 0.0093 258.3382)
--muted:
oklch(0.2795 0.0368 260.0310)
--muted-foreground:
oklch(0.7137 0.0192 261.3246)
--accent:
oklch(0.3729 0.0306 259.7328)
--accent-foreground:
oklch(0.8717 0.0093 258.3382)
--destructive:
oklch(0.6368 0.2078 25.3313)
--destructive-foreground:
oklch(0.2077 0.0398 265.7549)
--border:
oklch(0.4461 0.0263 256.8018)
--input:
oklch(0.4461 0.0263 256.8018)
--ring:
oklch(0.6801 0.1583 276.9349)
--chart-1:
oklch(0.6801 0.1583 276.9349)
--chart-2:
oklch(0.5854 0.2041 277.1173)
--chart-3:
oklch(0.5106 0.2301 276.9656)
--chart-4:
oklch(0.4568 0.2146 277.0229)
--chart-5:
oklch(0.3984 0.1773 277.3662)
--radius:
--sidebar:
oklch(0.2795 0.0368 260.0310)
--sidebar-foreground:
oklch(0.9288 0.0126 255.5078)
--sidebar-primary:
oklch(0.6801 0.1583 276.9349)
--sidebar-primary-foreground:
oklch(0.2077 0.0398 265.7549)
--sidebar-accent:
oklch(0.3729 0.0306 259.7328)
--sidebar-accent-foreground:
oklch(0.8717 0.0093 258.3382)
--sidebar-border:
oklch(0.4461 0.0263 256.8018)
--sidebar-ring:
oklch(0.6801 0.1583 276.9349)
--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