Eager is a shadcn/ui theme built around a muted green primary color (#74af86) with muted orange accents (#af8674). The light mode uses a neutral background (#fbfefc). Dark mode keeps the muted green primary (#74af86) on a green-tinted background (#060f09).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #060f09black |
| Foreground | #000000black | #f5f9f7whitesmoke |
| Card | #f8fcf9mintcream | #07120bblack |
| Card foreground | #000000black | #f9fbf9mintcream |
| Popover | #f8fcf9mintcream | #07120bblack |
| Popover foreground | #000000black | #f9fbf9mintcream |
| Primary | #74af86darkseagreen | #74af86darkseagreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #8674aflightslategray | #8674aflightslategray |
| Secondary foreground | #000000black | #000000black |
| Muted | #dfdde4gainsboro | #1d1b22black |
| Muted foreground | #423d4cdarkslategray | #b7b3c2silver |
| Accent | #af8674rosybrown | #af8674rosybrown |
| Accent foreground | #000000black | #000000black |
| Destructive | #800d00maroon | #ff3a24orangered |
| Destructive foreground | #ffbab3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #74af86darkseagreen | #74af86darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.64:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 8.21:1 | AAA |
| Secondary button | 5.12:1 | AA |
| Muted text | 7.77:1 | AAA |
| Accent | 6.51:1 | AA |
| Destructive | 6.57:1 | AA |
| Text on background | 18.35:1 | AAA |
| Text on card | 18.32:1 | AAA |
| Primary button | 8.21:1 | AAA |
| Secondary button | 5.12:1 | AA |
| Muted text | 8.30:1 | AAA |
| Accent | 6.51:1 | AA |
| Destructive | 3.57:1 | AA Large |
Paste this into your globals.css to use Eager in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 156.495);
--foreground: oklch(0 0 0);
--muted: oklch(0.901 0.01 300.581);
--muted-foreground: oklch(0.372 0.026 299.594);
--popover: oklch(0.987 0.006 156.43);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.006 156.43);
--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.702 0.086 153.838);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.599 0.091 298.178);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.656 0.057 46.052);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.382 0.148 31.096);
--destructive-foreground: oklch(0.851 0.081 26.048);
--ring: oklch(0.702 0.086 153.838);
--chart-1: oklch(0.702 0.086 153.838);
--chart-2: oklch(0.599 0.091 298.178);
--chart-3: oklch(0.656 0.057 46.052);
--chart-4: oklch(0.628 0.083 298.512);
--chart-5: oklch(0.708 0.094 153.538);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.019 155.305);
--foreground: oklch(0.979 0.006 156.444);
--muted: oklch(0.228 0.014 299.718);
--muted-foreground: oklch(0.774 0.022 300.301);
--popover: oklch(0.17 0.023 154.071);
--popover-foreground: oklch(0.986 0.004 156.484);
--card: oklch(0.17 0.023 154.071);
--card-foreground: oklch(0.986 0.004 156.484);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.702 0.086 153.838);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.599 0.091 298.178);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.656 0.057 46.052);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.652 0.234 30.479);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.702 0.086 153.838);
--chart-1: oklch(0.702 0.086 153.838);
--chart-2: oklch(0.599 0.091 298.178);
--chart-3: oklch(0.656 0.057 46.052);
--chart-4: oklch(0.628 0.083 298.512);
--chart-5: oklch(0.708 0.094 153.538);
}