Kind is a shadcn/ui theme built around a vivid deep yellow primary color (#181201) with vivid deep green accents (#131801). The light mode uses a neutral background (#fefdfb). Dark mode keeps the vivid deep yellow primary (#181201) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #000000black |
| Foreground | #120e03black | #ffffffwhite |
| Card | #fdfbf7snow | #030303black |
| Card foreground | #0d0a02black | #ffffffwhite |
| Popover | #fdfbf7snow | #030303black |
| Popover foreground | #0d0a02black | #ffffffwhite |
| Primary | #181201black | #181201black |
| Primary foreground | #daa00bgoldenrod | #daa00bgoldenrod |
| Secondary | #180601black | #180601black |
| Secondary foreground | #f67855coral | #f67855coral |
| Muted | #e7d5d0gainsboro | #2f1d18black |
| Muted foreground | #5c5c5cdimgray | #a3a3a3darkgray |
| Accent | #131801black | #131801black |
| Accent foreground | #adda0byellowgreen | #adda0byellowgreen |
| Destructive | #e02200red | #ff330forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #181201black | #181201black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.97:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 8.01:1 | AAA |
| Secondary button | 7.25:1 | AAA |
| Muted text | 4.71:1 | AA |
| Accent | 11.03:1 | AAA |
| Destructive | 4.76:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 8.01:1 | AAA |
| Secondary button | 7.25:1 | AAA |
| Muted text | 6.34:1 | AA |
| Accent | 11.03:1 | AAA |
| Destructive | 3.66:1 | AA Large |
Paste this into your globals.css to use Kind in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 88.812);
--foreground: oklch(0.163 0.026 92.058);
--muted: oklch(0.886 0.021 35.953);
--muted-foreground: oklch(0.474 0 198.435);
--popover: oklch(0.989 0.006 88.833);
--popover-foreground: oklch(0.146 0.023 94.386);
--card: oklch(0.989 0.006 88.833);
--card-foreground: oklch(0.146 0.023 94.386);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.184 0.034 90.938);
--primary-foreground: oklch(0.74 0.151 81.762);
--secondary: oklch(0.153 0.037 45.177);
--secondary-foreground: oklch(0.714 0.163 36.391);
--accent: oklch(0.198 0.044 119.72);
--accent-foreground: oklch(0.827 0.202 123.366);
--destructive: oklch(0.581 0.224 31.365);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.184 0.034 90.938);
--chart-1: oklch(0.184 0.034 90.938);
--chart-2: oklch(0.153 0.037 45.177);
--chart-3: oklch(0.198 0.044 119.72);
--chart-4: oklch(0.192 0.052 40.484);
--chart-5: oklch(0.185 0.036 91.027);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.253 0.03 36.114);
--muted-foreground: oklch(0.716 0 165.964);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.184 0.034 90.938);
--primary-foreground: oklch(0.74 0.151 81.762);
--secondary: oklch(0.153 0.037 45.177);
--secondary-foreground: oklch(0.714 0.163 36.391);
--accent: oklch(0.198 0.044 119.72);
--accent-foreground: oklch(0.827 0.202 123.366);
--destructive: oklch(0.647 0.24 31.769);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.184 0.034 90.938);
--chart-1: oklch(0.184 0.034 90.938);
--chart-2: oklch(0.153 0.037 45.177);
--chart-3: oklch(0.198 0.044 119.72);
--chart-4: oklch(0.192 0.052 40.484);
--chart-5: oklch(0.185 0.036 91.027);
}