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.9582 0.0152 90.2357)
--foreground:
oklch(0.3760 0.0225 64.3434)
--card:
oklch(0.9914 0.0098 87.4695)
--card-foreground:
oklch(0.3760 0.0225 64.3434)
--popover:
oklch(0.9914 0.0098 87.4695)
--popover-foreground:
oklch(0.3760 0.0225 64.3434)
--primary:
oklch(0.6180 0.0778 65.5444)
--primary-foreground:
oklch(1.0000 0 0)
--secondary:
oklch(0.8846 0.0302 85.5655)
--secondary-foreground:
oklch(0.4313 0.0300 64.9288)
--muted:
oklch(0.9239 0.0190 83.0636)
--muted-foreground:
oklch(0.5391 0.0387 71.1655)
--accent:
oklch(0.8348 0.0426 88.8064)
--accent-foreground:
oklch(0.3760 0.0225 64.3434)
--destructive:
oklch(0.5471 0.1438 32.9149)
--destructive-foreground:
oklch(1.0000 0 0)
--border:
oklch(0.8606 0.0321 84.5881)
--input:
oklch(0.8606 0.0321 84.5881)
--ring:
oklch(0.6180 0.0778 65.5444)
--chart-1:
oklch(0.6180 0.0778 65.5444)
--chart-2:
oklch(0.5604 0.0624 68.5805)
--chart-3:
oklch(0.4851 0.0570 72.6827)
--chart-4:
oklch(0.6777 0.0624 64.7755)
--chart-5:
oklch(0.7264 0.0581 66.6967)
--radius:
--sidebar:
oklch(0.9239 0.0190 83.0636)
--sidebar-foreground:
oklch(0.3760 0.0225 64.3434)
--sidebar-primary:
oklch(0.6180 0.0778 65.5444)
--sidebar-primary-foreground:
oklch(1.0000 0 0)
--sidebar-accent:
oklch(0.8348 0.0426 88.8064)
--sidebar-accent-foreground:
oklch(0.3760 0.0225 64.3434)
--sidebar-border:
oklch(0.8606 0.0321 84.5881)
--sidebar-ring:
oklch(0.6180 0.0778 65.5444)
--font-sans:
--font-serif:
--font-mono:
--shadow-color:
hsl(28 13% 20%)
--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.2747 0.0139 57.6523)
--foreground:
oklch(0.9239 0.0190 83.0636)
--card:
oklch(0.3237 0.0155 59.0603)
--card-foreground:
oklch(0.9239 0.0190 83.0636)
--popover:
oklch(0.3237 0.0155 59.0603)
--popover-foreground:
oklch(0.9239 0.0190 83.0636)
--primary:
oklch(0.7264 0.0581 66.6967)
--primary-foreground:
oklch(0.2747 0.0139 57.6523)
--secondary:
oklch(0.3795 0.0181 57.1280)
--secondary-foreground:
oklch(0.9239 0.0190 83.0636)
--muted:
oklch(0.3237 0.0155 59.0603)
--muted-foreground:
oklch(0.7982 0.0243 82.1078)
--accent:
oklch(0.4186 0.0281 56.3404)
--accent-foreground:
oklch(0.9239 0.0190 83.0636)
--destructive:
oklch(0.5471 0.1438 32.9149)
--destructive-foreground:
oklch(1.0000 0 0)
--border:
oklch(0.3795 0.0181 57.1280)
--input:
oklch(0.3795 0.0181 57.1280)
--ring:
oklch(0.7264 0.0581 66.6967)
--chart-1:
oklch(0.7264 0.0581 66.6967)
--chart-2:
oklch(0.6777 0.0624 64.7755)
--chart-3:
oklch(0.6180 0.0778 65.5444)
--chart-4:
oklch(0.5604 0.0624 68.5805)
--chart-5:
oklch(0.4851 0.0570 72.6827)
--radius:
--sidebar:
oklch(0.2747 0.0139 57.6523)
--sidebar-foreground:
oklch(0.9239 0.0190 83.0636)
--sidebar-primary:
oklch(0.7264 0.0581 66.6967)
--sidebar-primary-foreground:
oklch(0.2747 0.0139 57.6523)
--sidebar-accent:
oklch(0.4186 0.0281 56.3404)
--sidebar-accent-foreground:
oklch(0.9239 0.0190 83.0636)
--sidebar-border:
oklch(0.3795 0.0181 57.1280)
--sidebar-ring:
oklch(0.7264 0.0581 66.6967)
--font-sans:
--font-serif:
--font-mono:
--shadow-color:
hsl(28 13% 20%)
--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