Eager is a shadcn/ui theme built around a red primary color (#e04d4d) with muted light red accents (#e2dada). The light mode uses a neutral background (#fdf7f7). Dark mode keeps the red primary (#e04d4d) on a neutral background (#080202).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f7snow | #080202black |
| Foreground | #080303black | #f9f6f6whitesmoke |
| Card | #fdf7f7snow | #080202black |
| Card foreground | #080303black | #f9f6f6whitesmoke |
| Popover | #fdf7f7snow | #080202black |
| Popover foreground | #080303black | #f9f6f6whitesmoke |
| Primary | #e04d4dindianred | #e04d4dindianred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e2dadagainsboro | #201d1dblack |
| Secondary foreground | #4e3c3cdarkslategray | #bbb4b4silver |
| Muted | #e8cecelightgrey | #311717black |
| Muted foreground | #5c5c5cdimgray | #a3a3a3darkgray |
| Accent | #e2dadagainsboro | #201d1dblack |
| Accent foreground | #4e3c3cdarkslategray | #bbb4b4silver |
| Destructive | #d52101firebrick | #fe2701orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e04d4dindianred | #e04d4dindianred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.36:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 3.93:1 | AA Large |
| Secondary button | 7.48:1 | AAA |
| Muted text | 4.52:1 | AA |
| Accent | 7.48:1 | AAA |
| Destructive | 5.18:1 | AA |
| Text on background | 19.15:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 3.93:1 | AA Large |
| Secondary button | 8.20:1 | AAA |
| Muted text | 6.59:1 | AA |
| Accent | 8.20:1 | AAA |
| Destructive | 3.82:1 | AA Large |
Paste this into your globals.css to use Eager in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 17.252);
--foreground: oklch(0.105 0.016 20.039);
--muted: oklch(0.874 0.029 17.717);
--muted-foreground: oklch(0.474 0 198.435);
--popover: oklch(0.981 0.006 17.252);
--popover-foreground: oklch(0.105 0.016 20.039);
--card: oklch(0.981 0.006 17.252);
--card-foreground: oklch(0.105 0.016 20.039);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.623 0.183 24.107);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.894 0.009 17.334);
--secondary-foreground: oklch(0.375 0.025 18.341);
--accent: oklch(0.894 0.009 17.334);
--accent-foreground: oklch(0.375 0.025 18.341);
--destructive: oklch(0.56 0.215 31.448);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.623 0.183 24.107);
--chart-1: oklch(0.623 0.183 24.107);
--chart-2: oklch(0.894 0.009 17.334);
--chart-3: oklch(0.894 0.009 17.334);
--chart-4: oklch(0.919 0.007 17.288);
--chart-5: oklch(0.624 0.189 24.472);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.103 0.019 20.998);
--foreground: oklch(0.975 0.004 17.225);
--muted: oklch(0.241 0.042 20.602);
--muted-foreground: oklch(0.716 0 165.964);
--popover: oklch(0.103 0.019 20.998);
--popover-foreground: oklch(0.975 0.004 17.225);
--card: oklch(0.103 0.019 20.998);
--card-foreground: oklch(0.975 0.004 17.225);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.623 0.183 24.107);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.235 0.005 17.495);
--secondary-foreground: oklch(0.776 0.008 17.332);
--accent: oklch(0.235 0.005 17.495);
--accent-foreground: oklch(0.776 0.008 17.332);
--destructive: oklch(0.637 0.246 31.257);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.623 0.183 24.107);
--chart-1: oklch(0.623 0.183 24.107);
--chart-2: oklch(0.235 0.005 17.495);
--chart-3: oklch(0.235 0.005 17.495);
--chart-4: oklch(0.266 0.006 17.519);
--chart-5: oklch(0.624 0.189 24.472);
}