Kind is a shadcn/ui theme built around a vivid deep teal primary color (#062d1e) with vivid deep orange accents (#2d1e06). The light mode uses a neutral background (#fbfefd). Dark mode keeps the vivid deep teal primary (#062d1e) on a teal-tinted background (#040b08).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #040b08black |
| Foreground | #03170fblack | #ffffffwhite |
| Card | #fbfefdwhite | #040b08black |
| Card foreground | #03170fblack | #ffffffwhite |
| Popover | #fbfefdwhite | #040b08black |
| Popover foreground | #03170fblack | #ffffffwhite |
| Primary | #062d1eblack | #062d1eblack |
| Primary foreground | #1ce397mediumspringgreen | #1ce397mediumspringgreen |
| Secondary | #1e062dblack | #1e062dblack |
| Secondary foreground | #c077eeorchid | #c077eeorchid |
| Muted | #f0edf2whitesmoke | #100d12black |
| Muted foreground | #423749darkslategray | #c1b6c8silver |
| Accent | #2d1e06black | #2d1e06black |
| Accent foreground | #e3971cgoldenrod | #e3971cgoldenrod |
| Destructive | #91290dsaddlebrown | #ef6843tomato |
| Destructive foreground | #fbddd5antiquewhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #062d1eblack | #062d1eblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.26:1 | AAA |
| Text on card | 18.26:1 | AAA |
| Primary button | 8.86:1 | AAA |
| Secondary button | 6.36:1 | AA |
| Muted text | 9.66:1 | AAA |
| Accent | 6.68:1 | AA |
| Destructive | 6.45:1 | AA |
| Text on background | 19.86:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 8.86:1 | AAA |
| Secondary button | 6.36:1 | AA |
| Muted text | 9.93:1 | AAA |
| Accent | 6.68:1 | AA |
| Destructive | 6.73:1 | AA |
Paste this into your globals.css to use Kind in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 171.483);
--foreground: oklch(0.183 0.032 166.699);
--muted: oklch(0.95 0.008 312.927);
--muted-foreground: oklch(0.355 0.034 312.342);
--popover: oklch(0.994 0.004 171.483);
--popover-foreground: oklch(0.183 0.032 166.699);
--card: oklch(0.994 0.004 171.483);
--card-foreground: oklch(0.183 0.032 166.699);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.267 0.052 162.977);
--primary-foreground: oklch(0.81 0.18 159.634);
--secondary: oklch(0.191 0.078 309.273);
--secondary-foreground: oklch(0.694 0.182 310.981);
--accent: oklch(0.249 0.044 76.329);
--accent-foreground: oklch(0.734 0.151 71.642);
--destructive: oklch(0.442 0.144 35.145);
--destructive-foreground: oklch(0.921 0.036 35.943);
--ring: oklch(0.267 0.052 162.977);
--chart-1: oklch(0.267 0.052 162.977);
--chart-2: oklch(0.191 0.078 309.273);
--chart-3: oklch(0.249 0.044 76.329);
--chart-4: oklch(0.221 0.094 308.549);
--chart-5: oklch(0.269 0.054 162.722);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.014 171.682);
--foreground: oklch(1 0 180);
--muted: oklch(0.164 0.013 312.464);
--muted-foreground: oklch(0.792 0.028 312.748);
--popover: oklch(0.14 0.014 171.682);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.14 0.014 171.682);
--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.267 0.052 162.977);
--primary-foreground: oklch(0.81 0.18 159.634);
--secondary: oklch(0.191 0.078 309.273);
--secondary-foreground: oklch(0.694 0.182 310.981);
--accent: oklch(0.249 0.044 76.329);
--accent-foreground: oklch(0.734 0.151 71.642);
--destructive: oklch(0.678 0.174 36.303);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.267 0.052 162.977);
--chart-1: oklch(0.267 0.052 162.977);
--chart-2: oklch(0.191 0.078 309.273);
--chart-3: oklch(0.249 0.044 76.329);
--chart-4: oklch(0.221 0.094 308.549);
--chart-5: oklch(0.269 0.054 162.722);
}