Mindless is a shadcn/ui theme built around a muted green primary color (#69866f) with muted red accents (#866f69). The light mode uses a neutral background (#f7fcf8). Dark mode keeps the muted green primary (#69866f) on a neutral background (#010402).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fcf8mintcream | #010402black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f4fbf5whitesmoke | #030704black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7fcf8mintcream | #010402black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #69866fgray | #69866fgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #6f6986slategray | #6f6986slategray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dddce5gainsboro | #1b1a23black |
| Muted foreground | #4f4e56darkslategray | #aba9b1darkgray |
| Accent | #866f69gray | #866f69gray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #6f1b02maroon | #e73904orangered |
| Destructive foreground | #feb9a5lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #69866fgray | #69866fgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.30:1 | AAA |
| Text on card | 19.96:1 | AAA |
| Primary button | 3.99:1 | AA Large |
| Secondary button | 5.17:1 | AA |
| Muted text | 6.02:1 | AA |
| Accent | 4.68:1 | AA |
| Destructive | 6.94:1 | AA |
| Text on background | 20.61:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 3.99:1 | AA Large |
| Secondary button | 5.17:1 | AA |
| Muted text | 7.42:1 | AAA |
| Accent | 4.68:1 | AA |
| Destructive | 4.21:1 | AA Large |
Paste this into your globals.css to use Mindless in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.008 151.298);
--foreground: oklch(0 0 0);
--muted: oklch(0.897 0.013 294.546);
--muted-foreground: oklch(0.427 0.013 294.235);
--popover: oklch(0.987 0.008 151.298);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.011 151.242);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.592 0.048 150.164);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.538 0.045 293.237);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.562 0.031 32.781);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.36 0.121 35.944);
--destructive-foreground: oklch(0.845 0.085 37.617);
--ring: oklch(0.592 0.048 150.164);
--chart-1: oklch(0.592 0.048 150.164);
--chart-2: oklch(0.538 0.045 293.237);
--chart-3: oklch(0.562 0.031 32.781);
--chart-4: oklch(0.562 0.047 293.225);
--chart-5: oklch(0.597 0.06 149.854);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.013 150.659);
--foreground: oklch(1 0 180);
--muted: oklch(0.223 0.019 293.199);
--muted-foreground: oklch(0.74 0.012 294.529);
--popover: oklch(0.096 0.013 150.659);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.121 0.017 150.659);
--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.592 0.048 150.164);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.538 0.045 293.237);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.562 0.031 32.781);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.609 0.216 34.203);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.592 0.048 150.164);
--chart-1: oklch(0.592 0.048 150.164);
--chart-2: oklch(0.538 0.045 293.237);
--chart-3: oklch(0.562 0.031 32.781);
--chart-4: oklch(0.562 0.047 293.225);
--chart-5: oklch(0.597 0.06 149.854);
}