Tweakcn
Customize theme for shadcn/ui with tweakcn's interactive editor.
Installation
Copy and the paste the following command into your terminal.
Preview
CSS
Light Mode
--background:
oklch(0.9754 0.0084 325.6414)
--foreground:
oklch(0.3257 0.1161 325.0372)
--card:
oklch(0.9754 0.0084 325.6414)
--card-foreground:
oklch(0.3257 0.1161 325.0372)
--popover:
oklch(1.0000 0 0)
--popover-foreground:
oklch(0.3257 0.1161 325.0372)
--primary:
oklch(0.5316 0.1409 355.1999)
--primary-foreground:
oklch(1.0000 0 0)
--secondary:
oklch(0.8696 0.0675 334.8991)
--secondary-foreground:
oklch(0.4448 0.1341 324.7991)
--muted:
oklch(0.9395 0.0260 331.5454)
--muted-foreground:
oklch(0.4924 0.1244 324.4523)
--accent:
oklch(0.8696 0.0675 334.8991)
--accent-foreground:
oklch(0.4448 0.1341 324.7991)
--destructive:
oklch(0.5248 0.1368 20.8317)
--destructive-foreground:
oklch(1.0000 0 0)
--border:
oklch(0.8568 0.0829 328.9110)
--input:
oklch(0.8517 0.0558 336.6002)
--ring:
oklch(0.5916 0.2180 0.5844)
--chart-1:
oklch(0.6038 0.2363 344.4657)
--chart-2:
oklch(0.4445 0.2251 300.6246)
--chart-3:
oklch(0.3790 0.0438 226.1538)
--chart-4:
oklch(0.8330 0.1185 88.3461)
--chart-5:
oklch(0.7843 0.1256 58.9964)
--radius:
--sidebar:
oklch(0.9360 0.0288 320.5788)
--sidebar-foreground:
oklch(0.4948 0.1909 354.5435)
--sidebar-primary:
oklch(0.3963 0.0251 285.1962)
--sidebar-primary-foreground:
oklch(0.9668 0.0124 337.5228)
--sidebar-accent:
oklch(0.9789 0.0013 106.4235)
--sidebar-accent-foreground:
oklch(0.3963 0.0251 285.1962)
--sidebar-border:
oklch(0.9383 0.0026 48.7178)
--sidebar-ring:
oklch(0.5916 0.2180 0.5844)
--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.2409 0.0201 307.5346)
--foreground:
oklch(0.8398 0.0387 309.5391)
--card:
oklch(0.2803 0.0232 307.5413)
--card-foreground:
oklch(0.8456 0.0302 341.4597)
--popover:
oklch(0.1548 0.0132 338.9015)
--popover-foreground:
oklch(0.9647 0.0091 341.8035)
--primary:
oklch(0.4607 0.1853 4.0994)
--primary-foreground:
oklch(0.8560 0.0618 346.3684)
--secondary:
oklch(0.3137 0.0306 310.0610)
--secondary-foreground:
oklch(0.8483 0.0382 307.9613)
--muted:
oklch(0.2634 0.0219 309.4748)
--muted-foreground:
oklch(0.7940 0.0372 307.1032)
--accent:
oklch(0.3649 0.0508 308.4911)
--accent-foreground:
oklch(0.9647 0.0091 341.8035)
--destructive:
oklch(0.2258 0.0524 12.6119)
--destructive-foreground:
oklch(1.0000 0 0)
--border:
oklch(0.3286 0.0154 343.4461)
--input:
oklch(0.3387 0.0195 332.8347)
--ring:
oklch(0.5916 0.2180 0.5844)
--chart-1:
oklch(0.5316 0.1409 355.1999)
--chart-2:
oklch(0.5633 0.1912 306.8561)
--chart-3:
oklch(0.7227 0.1502 60.5799)
--chart-4:
oklch(0.6193 0.2029 312.7422)
--chart-5:
oklch(0.6118 0.2093 6.1387)
--radius:
--sidebar:
oklch(0.1893 0.0163 331.0475)
--sidebar-foreground:
oklch(0.8607 0.0293 343.6612)
--sidebar-primary:
oklch(0.4882 0.2172 264.3763)
--sidebar-primary-foreground:
oklch(1.0000 0 0)
--sidebar-accent:
oklch(0.2337 0.0261 338.1961)
--sidebar-accent-foreground:
oklch(0.9674 0.0013 286.3752)
--sidebar-border:
oklch(0 0 0)
--sidebar-ring:
oklch(0.5916 0.2180 0.5844)
--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