Every is a shadcn/ui theme built around a muted green primary color (#90a479) with muted pink accents (#a47990). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the muted green primary (#90a479) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfcwhite | #030302black |
| Foreground | #0b1104black | #fafbf8snow |
| Card | #fafcf8snow | #050704black |
| Card foreground | #080c03black | #fdfdfcwhite |
| Popover | #fdfdfcwhite | #030302black |
| Popover foreground | #0b1104black | #fafbf8snow |
| Primary | #90a479darkseagreen | #90a479darkseagreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #7990a4lightslategray | #7990a4lightslategray |
| Secondary foreground | #000000black | #000000black |
| Muted | #ced9e3gainsboro | #1c2731darkslategray |
| Muted foreground | #3f454adarkslategray | #b5bbc0silver |
| Accent | #a47990rosybrown | #a47990rosybrown |
| Accent foreground | #000000black | #000000black |
| Destructive | #da2307firebrick | #f8462atomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #90a479darkseagreen | #90a479darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.83:1 | AAA |
| Text on card | 19.08:1 | AAA |
| Primary button | 7.78:1 | AAA |
| Secondary button | 6.35:1 | AA |
| Muted text | 6.80:1 | AA |
| Accent | 5.74:1 | AA |
| Destructive | 4.98:1 | AA |
| Text on background | 19.84:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 7.78:1 | AAA |
| Secondary button | 6.35:1 | AA |
| Muted text | 7.83:1 | AAA |
| Accent | 5.74:1 | AA |
| Destructive | 3.55:1 | AA Large |
Paste this into your globals.css to use Every in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 127.143);
--foreground: oklch(0.165 0.029 127.718);
--muted: oklch(0.881 0.019 244.35);
--muted-foreground: oklch(0.388 0.012 244.464);
--popover: oklch(0.994 0.002 127.143);
--popover-foreground: oklch(0.165 0.029 127.718);
--card: oklch(0.988 0.005 127.174);
--card-foreground: oklch(0.147 0.025 126.337);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.692 0.064 128.314);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.643 0.04 244.87);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.627 0.061 345.757);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.569 0.217 31.133);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.692 0.064 128.314);
--chart-1: oklch(0.692 0.064 128.314);
--chart-2: oklch(0.643 0.04 244.87);
--chart-3: oklch(0.627 0.061 345.757);
--chart-4: oklch(0.669 0.037 244.779);
--chart-5: oklch(0.699 0.074 128.497);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.009 126.523);
--foreground: oklch(0.988 0.004 127.167);
--muted: oklch(0.267 0.025 245.315);
--muted-foreground: oklch(0.787 0.01 244.244);
--popover: oklch(0.097 0.009 126.523);
--popover-foreground: oklch(0.988 0.004 127.167);
--card: oklch(0.122 0.011 126.523);
--card-foreground: oklch(0.994 0.002 127.139);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.692 0.064 128.314);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.643 0.04 244.87);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.627 0.061 345.757);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.652 0.219 31.658);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.692 0.064 128.314);
--chart-1: oklch(0.692 0.064 128.314);
--chart-2: oklch(0.643 0.04 244.87);
--chart-3: oklch(0.627 0.061 345.757);
--chart-4: oklch(0.669 0.037 244.779);
--chart-5: oklch(0.699 0.074 128.497);
}