Blind is a shadcn/ui theme built around a yellow primary color (#938b1a) with indigo accents (#1a2293). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#938b1a) on a neutral background (#070703).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070703black |
| Foreground | #121102black | #faf9f5whitesmoke |
| Card | #ffffffwhite | #070703black |
| Card foreground | #121102black | #faf9f5whitesmoke |
| Popover | #ffffffwhite | #070703black |
| Popover foreground | #121102black | #faf9f5whitesmoke |
| Primary | #938b1aolive | #938b1aolive |
| Primary foreground | #000000black | #000000black |
| Secondary | #1a2293midnightblue | #1a2293midnightblue |
| Secondary foreground | #e5e6falavender | #e5e6falavender |
| Muted | #d8d9e9gainsboro | #161727black |
| Muted foreground | #4d4d4ddarkslategray | #b3b3b3darkgray |
| Accent | #1a2293midnightblue | #1a2293midnightblue |
| Accent foreground | #e5e6falavender | #e5e6falavender |
| Destructive | #c24614chocolate | #d44c16chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #938b1aolive | #938b1aolive |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.97:1 | AAA |
| Text on card | 18.97:1 | AAA |
| Primary button | 5.97:1 | AA |
| Secondary button | 10.03:1 | AAA |
| Muted text | 6.03:1 | AA |
| Accent | 10.03:1 | AAA |
| Destructive | 5.04:1 | AA |
| Text on background | 19.19:1 | AAA |
| Text on card | 19.19:1 | AAA |
| Primary button | 5.97:1 | AA |
| Secondary button | 10.03:1 | AAA |
| Muted text | 8.45:1 | AAA |
| Accent | 10.03:1 | AAA |
| Destructive | 4.32: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.174 0.031 105.959);
--muted: oklch(0.888 0.023 282.664);
--muted-foreground: oklch(0.418 0 173.29);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.174 0.031 105.959);
--card: oklch(1 0 180);
--card-foreground: oklch(0.174 0.031 105.959);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.626 0.125 105.091);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.343 0.18 269.394);
--secondary-foreground: oklch(0.931 0.027 282.601);
--accent: oklch(0.343 0.18 269.394);
--accent-foreground: oklch(0.931 0.027 282.601);
--destructive: oklch(0.559 0.169 38.877);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.626 0.125 105.091);
--chart-1: oklch(0.626 0.125 105.091);
--chart-2: oklch(0.343 0.18 269.394);
--chart-3: oklch(0.343 0.18 269.394);
--chart-4: oklch(0.363 0.192 269.206);
--chart-5: oklch(0.633 0.128 105.044);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.01 104.894);
--foreground: oklch(0.982 0.006 103.206);
--muted: oklch(0.212 0.033 280.08);
--muted-foreground: oklch(0.765 0 172.405);
--popover: oklch(0.124 0.01 104.894);
--popover-foreground: oklch(0.982 0.006 103.206);
--card: oklch(0.124 0.01 104.894);
--card-foreground: oklch(0.982 0.006 103.206);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.626 0.125 105.091);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.343 0.18 269.394);
--secondary-foreground: oklch(0.931 0.027 282.601);
--accent: oklch(0.343 0.18 269.394);
--accent-foreground: oklch(0.931 0.027 282.601);
--destructive: oklch(0.597 0.182 38.77);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.626 0.125 105.091);
--chart-1: oklch(0.626 0.125 105.091);
--chart-2: oklch(0.343 0.18 269.394);
--chart-3: oklch(0.343 0.18 269.394);
--chart-4: oklch(0.363 0.192 269.206);
--chart-5: oklch(0.633 0.128 105.044);
}