Easy-going is a shadcn/ui theme built around a deep indigo primary color (#322470) with deep green accents (#627024). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the deep indigo primary (#322470) on a neutral background (#040307).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfdwhite | #040307black |
| Foreground | #010105black | #ffffffwhite |
| Card | #f9f8fcghostwhite | #05040bblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f9f8fcghostwhite | #05040bblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #322470midnightblue | #322470midnightblue |
| Primary foreground | #dad5f1gainsboro | #dad5f1gainsboro |
| Secondary | #627024darkolivegreen | #627024darkolivegreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f0f2e3beige | #191c0dblack |
| Muted foreground | #6c7057dimgray | #a4a88fdarkgray |
| Accent | #627024darkolivegreen | #627024darkolivegreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #863309saddlebrown | #f06b28chocolate |
| Destructive foreground | #fbd8c6bisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #322470midnightblue | #322470midnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.26:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 9.09:1 | AAA |
| Secondary button | 5.45:1 | AA |
| Muted text | 4.52:1 | AA |
| Accent | 5.45:1 | AA |
| Destructive | 6.35:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.39:1 | AAA |
| Primary button | 9.09:1 | AAA |
| Secondary button | 5.45:1 | AA |
| Muted text | 7.05:1 | AAA |
| Accent | 5.45:1 | AA |
| Destructive | 6.84:1 | AA |
Paste this into your globals.css to use Easy-going in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.002 294.779);
--foreground: oklch(0.07 0.025 292.618);
--muted: oklch(0.956 0.021 115.223);
--muted-foreground: oklch(0.535 0.039 116.18);
--popover: oklch(0.981 0.005 294.733);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.005 294.733);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.327 0.124 285.674);
--primary-foreground: oklch(0.885 0.039 293.99);
--secondary: oklch(0.516 0.101 118.953);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.516 0.101 118.953);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.432 0.124 42.105);
--destructive-foreground: oklch(0.906 0.046 48.185);
--ring: oklch(0.327 0.124 285.674);
--chart-1: oklch(0.327 0.124 285.674);
--chart-2: oklch(0.516 0.101 118.953);
--chart-3: oklch(0.516 0.101 118.953);
--chart-4: oklch(0.554 0.109 119.002);
--chart-5: oklch(0.324 0.13 284.866);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.101 0.017 293.872);
--foreground: oklch(1 0 180);
--muted: oklch(0.219 0.028 117.28);
--muted-foreground: oklch(0.722 0.037 115.762);
--popover: oklch(0.116 0.02 293.815);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.116 0.02 293.815);
--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.327 0.124 285.674);
--primary-foreground: oklch(0.885 0.039 293.99);
--secondary: oklch(0.516 0.101 118.953);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.516 0.101 118.953);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.681 0.181 43.507);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.327 0.124 285.674);
--chart-1: oklch(0.327 0.124 285.674);
--chart-2: oklch(0.516 0.101 118.953);
--chart-3: oklch(0.516 0.101 118.953);
--chart-4: oklch(0.554 0.109 119.002);
--chart-5: oklch(0.324 0.13 284.866);
}