Each is a shadcn/ui theme built around a light yellow primary color (#f1edc0) with light green accents (#ddf1c0). The light mode uses a neutral background (#ffffff). Dark mode keeps the light yellow primary (#f1edc0) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #040401black | #fdfdfcwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #040401black | #fdfdfcwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #040401black | #fdfdfcwhite |
| Primary | #f1edc0bisque | #f1edc0bisque |
| Primary foreground | #151405black | #151405black |
| Secondary | #f1d5c0wheat | #f1d5c0wheat |
| Secondary foreground | #693917saddlebrown | #693917saddlebrown |
| Muted | #e7dcd5gainsboro | #2a2018black |
| Muted foreground | #63554bdimgray | #b4a69cdarkgray |
| Accent | #ddf1c0palegoldenrod | #ddf1c0palegoldenrod |
| Accent foreground | #0e1505black | #0e1505black |
| Destructive | #b83505firebrick | #ea4306orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f1edc0bisque | #f1edc0bisque |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.52:1 | AAA |
| Text on card | 20.52:1 | AAA |
| Primary button | 15.55:1 | AAA |
| Secondary button | 6.82:1 | AA |
| Muted text | 5.33:1 | AA |
| Accent | 15.46:1 | AAA |
| Destructive | 5.93:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 15.55:1 | AAA |
| Secondary button | 6.82:1 | AA |
| Muted text | 6.74:1 | AA |
| Accent | 15.46:1 | AAA |
| Destructive | 3.97:1 | AA Large |
Paste this into your globals.css to use Each in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.103 0.015 105.409);
--muted: oklch(0.902 0.015 58.126);
--muted-foreground: oklch(0.459 0.025 57.604);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.103 0.015 105.409);
--card: oklch(1 0 180);
--card-foreground: oklch(0.103 0.015 105.409);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.939 0.058 103.154);
--primary-foreground: oklch(0.186 0.029 104.454);
--secondary: oklch(0.89 0.042 57.698);
--secondary-foreground: oklch(0.397 0.082 53.186);
--accent: oklch(0.931 0.068 126.088);
--accent-foreground: oklch(0.183 0.034 127.051);
--destructive: oklch(0.522 0.175 36.327);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.939 0.058 103.154);
--chart-1: oklch(0.939 0.058 103.154);
--chart-2: oklch(0.89 0.042 57.698);
--chart-3: oklch(0.931 0.068 126.088);
--chart-4: oklch(0.912 0.033 57.85);
--chart-5: oklch(0.941 0.061 103.189);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.994 0.002 102.243);
--muted: oklch(0.252 0.021 57.124);
--muted-foreground: oklch(0.735 0.022 57.948);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.994 0.002 102.243);
--card: oklch(0 0 0);
--card-foreground: oklch(0.994 0.002 102.243);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.939 0.058 103.154);
--primary-foreground: oklch(0.186 0.029 104.454);
--secondary: oklch(0.89 0.042 57.698);
--secondary-foreground: oklch(0.397 0.082 53.186);
--accent: oklch(0.931 0.068 126.088);
--accent-foreground: oklch(0.183 0.034 127.051);
--destructive: oklch(0.622 0.211 35.902);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.939 0.058 103.154);
--chart-1: oklch(0.939 0.058 103.154);
--chart-2: oklch(0.89 0.042 57.698);
--chart-3: oklch(0.931 0.068 126.088);
--chart-4: oklch(0.912 0.033 57.85);
--chart-5: oklch(0.941 0.061 103.189);
}