Plover is a shadcn/ui theme built around a deep green primary color (#152815) with neutral gray accents (#dadcda). The light mode uses a neutral background (#fbfefb). Dark mode keeps the deep green primary (#152815) on a neutral background (#010401).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #010401black |
| Foreground | #020902black | #f8fcf8mintcream |
| Card | #f6fdf6mintcream | #020802black |
| Card foreground | #010401black | #fbfdfbsnow |
| Popover | #fbfefbwhite | #010401black |
| Popover foreground | #020902black | #f8fcf8mintcream |
| Primary | #152815black | #152815black |
| Primary foreground | #a1cea1darkseagreen | #a1cea1darkseagreen |
| Secondary | #dadcdagainsboro | #282e28darkslategray |
| Secondary foreground | #404440darkslategray | #c0c8c0silver |
| Muted | #dfecdfgainsboro | #132013black |
| Muted foreground | #5a6d5adimgray | #92a592darkseagreen |
| Accent | #dadcdagainsboro | #282e28darkslategray |
| Accent foreground | #404440darkslategray | #c0c8c0silver |
| Destructive | #66200amaroon | #d14115chocolate |
| Destructive foreground | #f7bdablightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #152815black | #152815black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.99:1 | AAA |
| Primary button | 8.79:1 | AAA |
| Secondary button | 7.21:1 | AAA |
| Muted text | 4.57:1 | AA |
| Accent | 7.21:1 | AAA |
| Destructive | 7.23:1 | AAA |
| Text on background | 19.88:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 8.79:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 6.43:1 | AA |
| Accent | 8.07:1 | AAA |
| Destructive | 4.70:1 | AA |
Paste this into your globals.css to use Plover in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.006 145.531);
--foreground: oklch(0.123 0.03 143.523);
--muted: oklch(0.93 0.023 145.383);
--muted-foreground: oklch(0.514 0.039 144.98);
--popover: oklch(0.994 0.006 145.531);
--popover-foreground: oklch(0.123 0.03 143.523);
--card: oklch(0.988 0.012 145.484);
--card-foreground: oklch(0.098 0.023 143.523);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.255 0.043 144.185);
--primary-foreground: oklch(0.807 0.077 144.818);
--secondary: oklch(0.893 0.004 145.545);
--secondary-foreground: oklch(0.383 0.008 145.407);
--accent: oklch(0.893 0.004 145.545);
--accent-foreground: oklch(0.383 0.008 145.407);
--destructive: oklch(0.35 0.106 36.559);
--destructive-foreground: oklch(0.846 0.071 37.6);
--ring: oklch(0.255 0.043 144.185);
--chart-1: oklch(0.255 0.043 144.185);
--chart-2: oklch(0.893 0.004 145.545);
--chart-3: oklch(0.893 0.004 145.545);
--chart-4: oklch(0.916 0.003 145.552);
--chart-5: oklch(0.257 0.047 144.066);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.019 143.898);
--foreground: oklch(0.987 0.007 145.526);
--muted: oklch(0.228 0.032 144.418);
--muted-foreground: oklch(0.702 0.036 145.176);
--popover: oklch(0.097 0.019 143.898);
--popover-foreground: oklch(0.987 0.007 145.526);
--card: oklch(0.122 0.024 143.898);
--card-foreground: oklch(0.993 0.003 145.551);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.255 0.043 144.185);
--primary-foreground: oklch(0.807 0.077 144.818);
--secondary: oklch(0.295 0.014 145.215);
--secondary-foreground: oklch(0.825 0.014 145.443);
--accent: oklch(0.295 0.014 145.215);
--accent-foreground: oklch(0.825 0.014 145.443);
--destructive: oklch(0.578 0.188 35.819);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.255 0.043 144.185);
--chart-1: oklch(0.255 0.043 144.185);
--chart-2: oklch(0.295 0.014 145.215);
--chart-3: oklch(0.295 0.014 145.215);
--chart-4: oklch(0.326 0.016 145.202);
--chart-5: oklch(0.257 0.047 144.066);
}