Blind is a shadcn/ui theme built around a vivid light green primary color (#f1fef5) with muted light green accents (#d0e2d5). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light green primary (#f1fef5) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #041008black | #f5faf6whitesmoke |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #030c06black | #f8fcf9mintcream |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #041008black | #f5faf6whitesmoke |
| Primary | #f1fef5honeydew | #f1fef5honeydew |
| Primary foreground | #06511cdarkgreen | #06511cdarkgreen |
| Secondary | #e1eae4gainsboro | #161d18black |
| Secondary foreground | #3e5b47darkslategray | #a7beaedarkgray |
| Muted | #e9ecealavender | #131614black |
| Muted foreground | #4e504fdarkslategray | #afb1b0darkgray |
| Accent | #d0e2d5gainsboro | #23382adarkslategray |
| Accent foreground | #304f3adarkslategray | #bad4c2silver |
| Destructive | #7a1106maroon | #f4301aorangered |
| Destructive foreground | #fcbdb6lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f1fef5honeydew | #f1fef5honeydew |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.39:1 | AAA |
| Text on card | 19.40:1 | AAA |
| Primary button | 9.18:1 | AAA |
| Secondary button | 6.12:1 | AA |
| Muted text | 6.82:1 | AA |
| Accent | 6.72:1 | AA |
| Destructive | 6.85:1 | AA |
| Text on background | 19.88:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 9.18:1 | AAA |
| Secondary button | 8.66:1 | AAA |
| Muted text | 8.46:1 | AAA |
| Accent | 7.90:1 | AAA |
| Destructive | 3.96:1 | AA Large |
Paste this into your globals.css to use Blind in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.158 0.027 154.189);
--muted: oklch(0.94 0.003 155.798);
--muted-foreground: oklch(0.429 0.003 155.748);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.158 0.027 154.189);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.142 0.023 155.177);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.985 0.018 155.51);
--primary-foreground: oklch(0.379 0.107 147.462);
--secondary: oklch(0.929 0.014 155.585);
--secondary-foreground: oklch(0.442 0.048 153.572);
--accent: oklch(0.895 0.026 155.301);
--accent-foreground: oklch(0.397 0.051 153.057);
--destructive: oklch(0.373 0.14 30.659);
--destructive-foreground: oklch(0.853 0.073 25.923);
--ring: oklch(0.985 0.018 155.51);
--chart-1: oklch(0.985 0.018 155.51);
--chart-2: oklch(0.929 0.014 155.585);
--chart-3: oklch(0.895 0.026 155.301);
--chart-4: oklch(0.95 0.01 155.676);
--chart-5: oklch(0.985 0.019 155.498);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.98 0.007 155.735);
--muted: oklch(0.195 0.005 155.362);
--muted-foreground: oklch(0.758 0.002 155.809);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.98 0.007 155.735);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.987 0.005 155.78);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.985 0.018 155.51);
--primary-foreground: oklch(0.379 0.107 147.462);
--secondary: oklch(0.222 0.015 154.485);
--secondary-foreground: oklch(0.779 0.034 155.018);
--accent: oklch(0.32 0.038 153.349);
--accent-foreground: oklch(0.845 0.037 155.004);
--destructive: oklch(0.626 0.232 30.52);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.985 0.018 155.51);
--chart-1: oklch(0.985 0.018 155.51);
--chart-2: oklch(0.222 0.015 154.485);
--chart-3: oklch(0.32 0.038 153.349);
--chart-4: oklch(0.257 0.019 154.361);
--chart-5: oklch(0.985 0.019 155.498);
}