Clove is a shadcn/ui theme built around a deep red primary color (#661524) with deep teal accents (#156657). The light mode uses a neutral background (#fefbfb). Dark mode keeps the deep red primary (#661524) on a neutral background (#040102).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #040102black |
| Foreground | #0f0507black | #ffffffwhite |
| Card | #fdf7f8snow | #080203black |
| Card foreground | #0c0405black | #ffffffwhite |
| Popover | #fefbfbsnow | #040102black |
| Popover foreground | #0f0507black | #ffffffwhite |
| Primary | #661524maroon | #661524maroon |
| Primary foreground | #f1bbc5lightpink | #f1bbc5lightpink |
| Secondary | #156657darkslategray | #156657darkslategray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d2e0ddgainsboro | #1f2d2bdarkslategray |
| Muted foreground | #414443darkslategray | #bbbebesilver |
| Accent | #156657darkslategray | #156657darkslategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #9e4110saddlebrown | #ea702echocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #661524maroon | #661524maroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.50:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 7.48:1 | AAA |
| Secondary button | 6.87:1 | AA |
| Muted text | 7.22:1 | AAA |
| Accent | 6.87:1 | AA |
| Destructive | 6.51:1 | AA |
| Text on background | 20.77:1 | AAA |
| Text on card | 20.55:1 | AAA |
| Primary button | 7.48:1 | AAA |
| Secondary button | 6.87:1 | AA |
| Muted text | 7.62:1 | AAA |
| Accent | 6.87:1 | AA |
| Destructive | 6.86:1 | AA |
Paste this into your globals.css to use Clove in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 4.41);
--foreground: oklch(0.134 0.022 5.783);
--muted: oklch(0.894 0.015 183.855);
--muted-foreground: oklch(0.383 0.004 184.057);
--popover: oklch(0.99 0.004 4.41);
--popover-foreground: oklch(0.134 0.022 5.783);
--card: oklch(0.98 0.007 4.511);
--card-foreground: oklch(0.121 0.019 4.795);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.34 0.113 15.606);
--primary-foreground: oklch(0.844 0.063 6.255);
--secondary: oklch(0.458 0.078 177.097);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.458 0.078 177.097);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.494 0.136 43.77);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.34 0.113 15.606);
--chart-1: oklch(0.34 0.113 15.606);
--chart-2: oklch(0.458 0.078 177.097);
--chart-3: oklch(0.458 0.078 177.097);
--chart-4: oklch(0.498 0.085 176.958);
--chart-5: oklch(0.342 0.117 16.249);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.083 0.014 4.715);
--foreground: oklch(1 0 180);
--muted: oklch(0.284 0.019 182.371);
--muted-foreground: oklch(0.799 0.003 184.21);
--popover: oklch(0.083 0.014 4.715);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.105 0.018 4.715);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.34 0.113 15.606);
--primary-foreground: oklch(0.844 0.063 6.255);
--secondary: oklch(0.458 0.078 177.097);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.458 0.078 177.097);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.681 0.169 45.483);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.34 0.113 15.606);
--chart-1: oklch(0.34 0.113 15.606);
--chart-2: oklch(0.458 0.078 177.097);
--chart-3: oklch(0.458 0.078 177.097);
--chart-4: oklch(0.498 0.085 176.958);
--chart-5: oklch(0.342 0.117 16.249);
}