Easy-going is a shadcn/ui theme built around a green primary color (#7e882b) with muted light green accents (#d5d6cc). The light mode uses a neutral background (#fdfefb). Dark mode keeps the green primary (#7e882b) on a green-tinted background (#0b0b04).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #0b0b04black |
| Foreground | #040401black | #fafaf9snow |
| Card | #fdfefbwhite | #0b0b04black |
| Card foreground | #040401black | #fafaf9snow |
| Popover | #fdfefbwhite | #0b0b04black |
| Popover foreground | #040401black | #fafaf9snow |
| Primary | #7e882bolivedrab | #7e882bolivedrab |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d5d6cclightgrey | #262626darkslategray |
| Secondary foreground | #3d3e32darkslategray | #bfbfbfsilver |
| Muted | #e3e5d2gainsboro | #2d1a1ablack |
| Muted foreground | #5b5b57dimgray | #a8a4a4darkgray |
| Accent | #d5d6cclightgrey | #262626darkslategray |
| Accent foreground | #3d3e32darkslategray | #bfbfbfsilver |
| Destructive | #861e04darkred | #df3207orangered |
| Destructive foreground | #fdcbbfpeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7e882bolivedrab | #7e882bolivedrab |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 3.86:1 | AA Large |
| Secondary button | 7.41:1 | AAA |
| Muted text | 5.32:1 | AA |
| Accent | 7.41:1 | AAA |
| Destructive | 6.59:1 | AA |
| Text on background | 18.88:1 | AAA |
| Text on card | 18.88:1 | AAA |
| Primary button | 3.86:1 | AA Large |
| Secondary button | 8.20:1 | AAA |
| Muted text | 6.66:1 | AA |
| Accent | 8.20:1 | AAA |
| Destructive | 4.57:1 | AA |
Paste this into your globals.css to use Easy-going in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 111.07);
--foreground: oklch(0.105 0.017 112.561);
--muted: oklch(0.915 0.026 111.538);
--muted-foreground: oklch(0.47 0.006 111.239);
--popover: oklch(0.995 0.003 111.07);
--popover-foreground: oklch(0.105 0.017 112.561);
--card: oklch(0.995 0.003 111.07);
--card-foreground: oklch(0.105 0.017 112.561);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.599 0.116 114.842);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.873 0.014 111.307);
--secondary-foreground: oklch(0.36 0.021 112.072);
--accent: oklch(0.873 0.014 111.307);
--accent-foreground: oklch(0.36 0.021 112.072);
--destructive: oklch(0.407 0.143 33.967);
--destructive-foreground: oklch(0.883 0.06 34.385);
--ring: oklch(0.599 0.116 114.842);
--chart-1: oklch(0.599 0.116 114.842);
--chart-2: oklch(0.873 0.014 111.307);
--chart-3: oklch(0.873 0.014 111.307);
--chart-4: oklch(0.894 0.011 111.251);
--chart-5: oklch(0.607 0.12 114.983);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.147 0.018 112.395);
--foreground: oklch(0.986 0.001 111.042);
--muted: oklch(0.244 0.031 19.545);
--muted-foreground: oklch(0.722 0.004 17.252);
--popover: oklch(0.147 0.018 112.395);
--popover-foreground: oklch(0.986 0.001 111.042);
--card: oklch(0.147 0.018 112.395);
--card-foreground: oklch(0.986 0.001 111.042);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.599 0.116 114.842);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.27 0 180);
--secondary-foreground: oklch(0.805 0 169.695);
--accent: oklch(0.27 0 180);
--accent-foreground: oklch(0.805 0 169.695);
--destructive: oklch(0.588 0.213 33.187);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.599 0.116 114.842);
--chart-1: oklch(0.599 0.116 114.842);
--chart-2: oklch(0.27 0 180);
--chart-3: oklch(0.27 0 180);
--chart-4: oklch(0.301 0 189.462);
--chart-5: oklch(0.607 0.12 114.983);
}