Incompatible is a shadcn/ui theme built around a neutral gray primary color (#70766f) with neutral gray accents (#6f7672). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#70766f) on a neutral background (#040703).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040703black |
| Foreground | #081405black | #fcfdfcwhite |
| Card | #fcfcfcsnow | #060a05black |
| Card foreground | #061004black | #ffffffwhite |
| Popover | #ffffffwhite | #040703black |
| Popover foreground | #081405black | #fcfdfcwhite |
| Primary | #70766fdimgray | #70766fdimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #74766fdimgray | #74766fdimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e5e9dcgainsboro | #1e2316black |
| Muted foreground | #565c4ddarkolivegreen | #adb2a3darkgray |
| Accent | #6f7672dimgray | #6f7672dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #be4204firebrick | #fa5705orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #70766fdimgray | #70766fdimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.87:1 | AAA |
| Text on card | 18.96:1 | AAA |
| Primary button | 4.64:1 | AA |
| Secondary button | 4.59:1 | AA |
| Muted text | 5.62:1 | AA |
| Accent | 4.64:1 | AA |
| Destructive | 5.29:1 | AA |
| Text on background | 19.87:1 | AAA |
| Text on card | 19.91:1 | AAA |
| Primary button | 4.64:1 | AA |
| Secondary button | 4.59:1 | AA |
| Muted text | 7.43:1 | AAA |
| Accent | 4.64:1 | AA |
| Destructive | 3.27:1 | AA Large |
Paste this into your globals.css to use Incompatible in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.174 0.035 139.984);
--muted: oklch(0.928 0.018 122.516);
--muted-foreground: oklch(0.464 0.025 123.061);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.174 0.035 139.984);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.158 0.03 139.639);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.559 0.013 141.016);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.562 0.011 122.516);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.559 0.011 157.577);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.547 0.17 40.03);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.559 0.013 141.016);
--chart-1: oklch(0.559 0.013 141.016);
--chart-2: oklch(0.562 0.011 122.516);
--chart-3: oklch(0.559 0.011 157.577);
--chart-4: oklch(0.589 0.011 122.518);
--chart-5: oklch(0.564 0.025 140.968);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.014 139.979);
--foreground: oklch(0.993 0.003 141.059);
--muted: oklch(0.245 0.024 123.839);
--muted-foreground: oklch(0.756 0.022 122.673);
--popover: oklch(0.121 0.014 139.979);
--popover-foreground: oklch(0.993 0.003 141.059);
--card: oklch(0.138 0.016 139.979);
--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.559 0.013 141.016);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.562 0.011 122.516);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.559 0.011 157.577);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.67 0.211 39.427);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.559 0.013 141.016);
--chart-1: oklch(0.559 0.013 141.016);
--chart-2: oklch(0.562 0.011 122.516);
--chart-3: oklch(0.559 0.011 157.577);
--chart-4: oklch(0.589 0.011 122.518);
--chart-5: oklch(0.564 0.025 140.968);
}