Incompatible is a shadcn/ui theme built around a muted deep teal primary color (#304f4d) with muted deep yellow accents (#4f4d30). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep teal primary (#304f4d) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #050f0fblack | #fcfdfdwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #050f0fblack | #fcfdfdwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #050f0fblack | #fcfdfdwhite |
| Primary | #304f4ddarkslategray | #304f4ddarkslategray |
| Primary foreground | #d0e2e1gainsboro | #d0e2e1gainsboro |
| Secondary | #4d304fdarkslategray | #4d304fdarkslategray |
| Secondary foreground | #e1d0e2gainsboro | #e1d0e2gainsboro |
| Muted | #eee7eelavender | #181118black |
| Muted foreground | #686468dimgray | #9b979bdarkgray |
| Accent | #4f4d30darkolivegreen | #4f4d30darkolivegreen |
| Accent foreground | #e2e1d0gainsboro | #e2e1d0gainsboro |
| Destructive | #7e2807saddlebrown | #f35516orangered |
| Destructive foreground | #fbcdbbpeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #304f4ddarkslategray | #304f4ddarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.41:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 6.64:1 | AA |
| Secondary button | 7.70:1 | AAA |
| Muted text | 4.78:1 | AA |
| Accent | 6.52:1 | AA |
| Destructive | 6.61:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 6.64:1 | AA |
| Secondary button | 7.70:1 | AAA |
| Muted text | 6.45:1 | AA |
| Accent | 6.52:1 | AA |
| Destructive | 3.43: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.159 0.016 190.623);
--muted: oklch(0.935 0.012 323.703);
--muted-foreground: oklch(0.508 0.008 323.716);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.159 0.016 190.623);
--card: oklch(1 0 180);
--card-foreground: oklch(0.159 0.016 190.623);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.403 0.037 190.463);
--primary-foreground: oklch(0.899 0.02 191.97);
--secondary: oklch(0.358 0.063 324.474);
--secondary-foreground: oklch(0.876 0.031 323.818);
--accent: oklch(0.414 0.044 104.662);
--accent-foreground: oklch(0.905 0.023 103.522);
--destructive: oklch(0.405 0.125 38.56);
--destructive-foreground: oklch(0.885 0.058 42.678);
--ring: oklch(0.403 0.037 190.463);
--chart-1: oklch(0.403 0.037 190.463);
--chart-2: oklch(0.358 0.063 324.474);
--chart-3: oklch(0.414 0.044 104.662);
--chart-4: oklch(0.386 0.07 324.488);
--chart-5: oklch(0.408 0.04 190.26);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 192.408);
--muted: oklch(0.189 0.018 324.115);
--muted-foreground: oklch(0.681 0.007 323.692);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.001 192.408);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.001 192.408);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.403 0.037 190.463);
--primary-foreground: oklch(0.899 0.02 191.97);
--secondary: oklch(0.358 0.063 324.474);
--secondary-foreground: oklch(0.876 0.031 323.818);
--accent: oklch(0.414 0.044 104.662);
--accent-foreground: oklch(0.905 0.023 103.522);
--destructive: oklch(0.657 0.204 38.349);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.403 0.037 190.463);
--chart-1: oklch(0.403 0.037 190.463);
--chart-2: oklch(0.358 0.063 324.474);
--chart-3: oklch(0.414 0.044 104.662);
--chart-4: oklch(0.386 0.07 324.488);
--chart-5: oklch(0.408 0.04 190.26);
}