Verve is a shadcn/ui theme built around a muted deep red primary color (#3c2825) with muted light red accents (#d5c6c3). The light mode uses a neutral background (#fefbfb). Dark mode keeps the muted deep red primary (#3c2825) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #000000black |
| Foreground | #140705black | #faf5f4whitesmoke |
| Card | #fdf7f6snow | #030303black |
| Card foreground | #100604black | #fcf8f8snow |
| Popover | #fdf7f6snow | #030303black |
| Popover foreground | #100604black | #fcf8f8snow |
| Primary | #3c2825darkslategray | #3c2825darkslategray |
| Primary foreground | #d6c0bdsilver | #d6c0bdsilver |
| Secondary | #e3dfdegainsboro | #211d1cblack |
| Secondary foreground | #4d4342darkslategray | #beb3b1silver |
| Muted | #f4eceblinen | #140c0bblack |
| Muted foreground | #444140darkslategray | #bfbbbbsilver |
| Accent | #d5c6c3lightgrey | #3c2d2adarkslategray |
| Accent foreground | #3c2d2adarkslategray | #d5c6c3lightgrey |
| Destructive | #b4400efirebrick | #ef652achocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3c2825darkslategray | #3c2825darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.23:1 | AAA |
| Text on card | 18.94:1 | AAA |
| Primary button | 7.94:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 8.72:1 | AAA |
| Accent | 7.92:1 | AAA |
| Destructive | 5.71:1 | AA |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 7.94:1 | AAA |
| Secondary button | 8.18:1 | AAA |
| Muted text | 10.15:1 | AAA |
| Accent | 7.94:1 | AAA |
| Destructive | 6.55:1 | AA |
Paste this into your globals.css to use Verve in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 29.479);
--foreground: oklch(0.151 0.025 33.805);
--muted: oklch(0.95 0.009 29.5);
--muted-foreground: oklch(0.378 0.005 29.513);
--popover: oklch(0.982 0.007 29.491);
--popover-foreground: oklch(0.138 0.021 34.879);
--card: oklch(0.982 0.007 29.491);
--card-foreground: oklch(0.138 0.021 34.879);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.301 0.031 30.174);
--primary-foreground: oklch(0.826 0.025 29.604);
--secondary: oklch(0.906 0.005 29.485);
--secondary-foreground: oklch(0.394 0.014 29.626);
--accent: oklch(0.838 0.017 29.548);
--accent-foreground: oklch(0.313 0.022 29.894);
--destructive: oklch(0.529 0.161 39.388);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.301 0.031 30.174);
--chart-1: oklch(0.301 0.031 30.174);
--chart-2: oklch(0.906 0.005 29.485);
--chart-3: oklch(0.838 0.017 29.548);
--chart-4: oklch(0.93 0.003 29.48);
--chart-5: oklch(0.3 0.035 30.313);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.006 29.488);
--muted: oklch(0.165 0.014 30.011);
--muted-foreground: oklch(0.796 0.004 29.484);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.983 0.004 29.481);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.983 0.004 29.481);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.301 0.031 30.174);
--primary-foreground: oklch(0.826 0.025 29.604);
--secondary: oklch(0.234 0.007 29.61);
--secondary-foreground: oklch(0.776 0.013 29.531);
--accent: oklch(0.313 0.022 29.894);
--accent-foreground: oklch(0.838 0.017 29.548);
--destructive: oklch(0.671 0.184 41.094);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.301 0.031 30.174);
--chart-1: oklch(0.301 0.031 30.174);
--chart-2: oklch(0.234 0.007 29.61);
--chart-3: oklch(0.313 0.022 29.894);
--chart-4: oklch(0.266 0.009 29.623);
--chart-5: oklch(0.3 0.035 30.313);
}