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.9578 0.0058 264.5321)
--foreground:
oklch(0.4355 0.0430 279.3250)
--card:
oklch(1.0000 0 0)
--card-foreground:
oklch(0.4355 0.0430 279.3250)
--popover:
oklch(0.8575 0.0145 268.4756)
--popover-foreground:
oklch(0.4355 0.0430 279.3250)
--primary:
oklch(0.5547 0.2503 297.0156)
--primary-foreground:
oklch(1.0000 0 0)
--secondary:
oklch(0.8575 0.0145 268.4756)
--secondary-foreground:
oklch(0.4355 0.0430 279.3250)
--muted:
oklch(0.9060 0.0117 264.5071)
--muted-foreground:
oklch(0.5471 0.0343 279.0837)
--accent:
oklch(0.6820 0.1448 235.3822)
--accent-foreground:
oklch(1.0000 0 0)
--destructive:
oklch(0.5505 0.2155 19.8095)
--destructive-foreground:
oklch(1.0000 0 0)
--border:
oklch(0.8083 0.0174 271.1982)
--input:
oklch(0.8575 0.0145 268.4756)
--ring:
oklch(0.5547 0.2503 297.0156)
--chart-1:
oklch(0.5547 0.2503 297.0156)
--chart-2:
oklch(0.6820 0.1448 235.3822)
--chart-3:
oklch(0.6250 0.1772 140.4448)
--chart-4:
oklch(0.6920 0.2041 42.4293)
--chart-5:
oklch(0.7141 0.1045 33.0967)
--radius:
--sidebar:
oklch(0.9335 0.0087 264.5206)
--sidebar-foreground:
oklch(0.4355 0.0430 279.3250)
--sidebar-primary:
oklch(0.5547 0.2503 297.0156)
--sidebar-primary-foreground:
oklch(1.0000 0 0)
--sidebar-accent:
oklch(0.6820 0.1448 235.3822)
--sidebar-accent-foreground:
oklch(1.0000 0 0)
--sidebar-border:
oklch(0.8083 0.0174 271.1982)
--sidebar-ring:
oklch(0.5547 0.2503 297.0156)
--font-sans:
--font-serif:
--font-mono:
--shadow-color:
hsl(240 30% 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.2155 0.0254 284.0647)
--foreground:
oklch(0.8787 0.0426 272.2767)
--card:
oklch(0.2429 0.0304 283.9110)
--card-foreground:
oklch(0.8787 0.0426 272.2767)
--popover:
oklch(0.4037 0.0320 280.1520)
--popover-foreground:
oklch(0.8787 0.0426 272.2767)
--primary:
oklch(0.7871 0.1187 304.7693)
--primary-foreground:
oklch(0.2429 0.0304 283.9110)
--secondary:
oklch(0.4765 0.0340 278.6430)
--secondary-foreground:
oklch(0.8787 0.0426 272.2767)
--muted:
oklch(0.2973 0.0294 276.2144)
--muted-foreground:
oklch(0.7510 0.0396 273.9320)
--accent:
oklch(0.8467 0.0833 210.2545)
--accent-foreground:
oklch(0.2429 0.0304 283.9110)
--destructive:
oklch(0.7556 0.1297 2.7642)
--destructive-foreground:
oklch(0.2429 0.0304 283.9110)
--border:
oklch(0.3240 0.0319 281.9784)
--input:
oklch(0.3240 0.0319 281.9784)
--ring:
oklch(0.7871 0.1187 304.7693)
--chart-1:
oklch(0.7871 0.1187 304.7693)
--chart-2:
oklch(0.8467 0.0833 210.2545)
--chart-3:
oklch(0.8577 0.1092 142.7153)
--chart-4:
oklch(0.8237 0.1015 52.6294)
--chart-5:
oklch(0.9226 0.0238 30.4919)
--radius:
--sidebar:
oklch(0.1828 0.0204 284.2039)
--sidebar-foreground:
oklch(0.8787 0.0426 272.2767)
--sidebar-primary:
oklch(0.7871 0.1187 304.7693)
--sidebar-primary-foreground:
oklch(0.2429 0.0304 283.9110)
--sidebar-accent:
oklch(0.8467 0.0833 210.2545)
--sidebar-accent-foreground:
oklch(0.2429 0.0304 283.9110)
--sidebar-border:
oklch(0.4037 0.0320 280.1520)
--sidebar-ring:
oklch(0.7871 0.1187 304.7693)
--font-sans:
--font-serif:
--font-mono:
--shadow-color:
hsl(240 30% 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:
Theme
--font-sans:
--font-mono:
--font-serif:
--radius:
--tracking-tighter:
--tracking-tight:
--tracking-wide:
--tracking-wider:
--tracking-widest:
CSS