Kind is a shadcn/ui theme built around a light purple primary color (#dbaed5) with light green accents (#aedbb4). The light mode uses a neutral background (#ffffff). Dark mode keeps the light purple primary (#dbaed5) on a purple-tinted background (#10040e).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #10040eblack |
| Foreground | #0d030bblack | #fbf8fbsnow |
| Card | #fcfcfcsnow | #140512black |
| Card foreground | #080208black | #fdfcfdwhite |
| Popover | #fcfcfcsnow | #140512black |
| Popover foreground | #080208black | #fdfcfdwhite |
| Primary | #dbaed5plum | #dbaed5plum |
| Primary foreground | #3c1b37darkslategray | #3c1b37darkslategray |
| Secondary | #aedbb4silver | #aedbb4silver |
| Secondary foreground | #1b3c1fdarkslategray | #1b3c1fdarkslategray |
| Muted | #d7e4d9gainsboro | #1b281cblack |
| Muted foreground | #49504adarkslategray | #afb6b0darkgray |
| Accent | #aedbb4silver | #aedbb4silver |
| Accent foreground | #1b3c1fdarkslategray | #1b3c1fdarkslategray |
| Destructive | #c94c03chocolate | #fb650eorangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dbaed5plum | #dbaed5plum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.29:1 | AAA |
| Text on card | 20.09:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 6.34:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 4.66:1 | AA |
| Text on background | 19.01:1 | AAA |
| Text on card | 19.31:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 7.44:1 | AAA |
| Accent | 7.91:1 | AAA |
| Destructive | 6.97:1 | AA |
Paste this into your globals.css to use Kind in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.122 0.033 331.434);
--muted: oklch(0.907 0.021 149.395);
--muted-foreground: oklch(0.422 0.012 149.336);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.107 0.029 331.045);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.107 0.029 331.045);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.803 0.073 330.748);
--primary-foreground: oklch(0.281 0.068 332.385);
--secondary: oklch(0.848 0.071 148.592);
--secondary-foreground: oklch(0.322 0.063 146.807);
--accent: oklch(0.848 0.071 148.592);
--accent-foreground: oklch(0.322 0.063 146.807);
--destructive: oklch(0.578 0.173 42.055);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.803 0.073 330.748);
--chart-1: oklch(0.803 0.073 330.748);
--chart-2: oklch(0.848 0.071 148.592);
--chart-3: oklch(0.848 0.071 148.592);
--chart-4: oklch(0.868 0.061 148.767);
--chart-5: oklch(0.802 0.079 330.829);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.032 331.728);
--foreground: oklch(0.983 0.004 329.739);
--muted: oklch(0.26 0.028 148.238);
--muted-foreground: oklch(0.768 0.01 149.521);
--popover: oklch(0.151 0.037 332.13);
--popover-foreground: oklch(0.992 0.002 329.711);
--card: oklch(0.151 0.037 332.13);
--card-foreground: oklch(0.992 0.002 329.711);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.803 0.073 330.748);
--primary-foreground: oklch(0.281 0.068 332.385);
--secondary: oklch(0.848 0.071 148.592);
--secondary-foreground: oklch(0.322 0.063 146.807);
--accent: oklch(0.848 0.071 148.592);
--accent-foreground: oklch(0.322 0.063 146.807);
--destructive: oklch(0.689 0.201 42.892);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.803 0.073 330.748);
--chart-1: oklch(0.803 0.073 330.748);
--chart-2: oklch(0.848 0.071 148.592);
--chart-3: oklch(0.848 0.071 148.592);
--chart-4: oklch(0.868 0.061 148.767);
--chart-5: oklch(0.802 0.079 330.829);
}