Blind is a shadcn/ui theme built around a neutral gray primary color (#494648) with neutral gray accents (#464849). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#494648) on a neutral background (#030203).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030203black |
| Foreground | #10050eblack | #ffffffwhite |
| Card | #fcfcfcsnow | #070406black |
| Card foreground | #0c030ablack | #ffffffwhite |
| Popover | #ffffffwhite | #030203black |
| Popover foreground | #10050eblack | #ffffffwhite |
| Primary | #494648darkslategray | #494648darkslategray |
| Primary foreground | #e1e0e1gainsboro | #e1e0e1gainsboro |
| Secondary | #484946darkslategray | #484946darkslategray |
| Secondary foreground | #e1e1e0gainsboro | #e1e1e0gainsboro |
| Muted | #e8e9e2gainsboro | #1c1d16black |
| Muted foreground | #505148darkslategray | #b6b7aedarkgray |
| Accent | #464849darkslategray | #464849darkslategray |
| Accent foreground | #e0e1e1gainsboro | #e0e1e1gainsboro |
| Destructive | #691602maroon | #fb4518orangered |
| Destructive foreground | #feb2a0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #494648darkslategray | #494648darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.99:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 7.08:1 | AAA |
| Secondary button | 6.93:1 | AA |
| Muted text | 6.59:1 | AA |
| Accent | 6.99:1 | AA |
| Destructive | 7.00:1 | AAA |
| Text on background | 20.72:1 | AAA |
| Text on card | 20.45:1 | AAA |
| Primary button | 7.08:1 | AAA |
| Secondary button | 6.93:1 | AA |
| Muted text | 8.36:1 | AAA |
| Accent | 6.99:1 | AA |
| Destructive | 3.50: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.138 0.03 332.869);
--muted: oklch(0.932 0.01 114.271);
--muted-foreground: oklch(0.431 0.015 114.706);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.138 0.03 332.869);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.124 0.027 332.127);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.398 0.005 331.006);
--primary-foreground: oklch(0.907 0.002 330.849);
--secondary: oklch(0.403 0.005 114.284);
--secondary-foreground: oklch(0.909 0.002 114.1);
--accent: oklch(0.401 0.003 211.038);
--accent-foreground: oklch(0.908 0.001 211.043);
--destructive: oklch(0.345 0.12 34.597);
--destructive-foreground: oklch(0.831 0.092 34.582);
--ring: oklch(0.398 0.005 331.006);
--chart-1: oklch(0.398 0.005 331.006);
--chart-2: oklch(0.403 0.005 114.284);
--chart-3: oklch(0.401 0.003 211.038);
--chart-4: oklch(0.432 0.005 114.288);
--chart-5: oklch(0.395 0.014 331.281);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.089 0.01 331.386);
--foreground: oklch(1 0 180);
--muted: oklch(0.228 0.014 115.236);
--muted-foreground: oklch(0.776 0.013 114.375);
--popover: oklch(0.089 0.01 331.386);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.112 0.013 331.386);
--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.398 0.005 331.006);
--primary-foreground: oklch(0.907 0.002 330.849);
--secondary: oklch(0.403 0.005 114.284);
--secondary-foreground: oklch(0.909 0.002 114.1);
--accent: oklch(0.401 0.003 211.038);
--accent-foreground: oklch(0.908 0.001 211.043);
--destructive: oklch(0.655 0.224 34.034);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.398 0.005 331.006);
--chart-1: oklch(0.398 0.005 331.006);
--chart-2: oklch(0.403 0.005 114.284);
--chart-3: oklch(0.401 0.003 211.038);
--chart-4: oklch(0.432 0.005 114.288);
--chart-5: oklch(0.395 0.014 331.281);
}