Incompetence is a shadcn/ui theme built around a vivid green primary color (#47e687) with vivid teal accents (#47e6d6). The light mode uses a neutral background (#f7fdf9). Dark mode keeps the vivid green primary (#47e687) on a neutral background (#020302).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf9mintcream | #020302black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #f2fcf6mintcream | #030705black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7fdf9mintcream | #020302black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #47e687mediumaquamarine | #47e687mediumaquamarine |
| Primary foreground | #000000black | #000000black |
| Secondary | #57e647limegreen | #57e647limegreen |
| Secondary foreground | #000000black | #000000black |
| Muted | #dee3degainsboro | #1d211cblack |
| Muted foreground | #586756dimgray | #9aa998darkgray |
| Accent | #47e6d6turquoise | #47e6d6turquoise |
| Accent foreground | #000000black | #000000black |
| Destructive | #af2708firebrick | #f43e15orangered |
| Destructive foreground | #feefecseashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #47e687mediumaquamarine | #47e687mediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.39:1 | AAA |
| Text on card | 20.09:1 | AAA |
| Primary button | 12.92:1 | AAA |
| Secondary button | 12.80:1 | AAA |
| Muted text | 4.62:1 | AA |
| Accent | 13.54:1 | AAA |
| Destructive | 6.01:1 | AA |
| Text on background | 20.22:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 12.92:1 | AAA |
| Secondary button | 12.80:1 | AAA |
| Muted text | 6.61:1 | AA |
| Accent | 13.54:1 | AAA |
| Destructive | 3.78:1 | AA Large |
Paste this into your globals.css to use Incompetence in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.009 160.027);
--foreground: oklch(0 0 0);
--muted: oklch(0.911 0.008 142.591);
--muted-foreground: oklch(0.495 0.032 142.358);
--popover: oklch(0.989 0.009 160.027);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.983 0.013 159.921);
--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.821 0.187 152.621);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.817 0.232 141.683);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.84 0.131 185.276);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.494 0.176 33.022);
--destructive-foreground: oklch(0.963 0.017 32.67);
--ring: oklch(0.821 0.187 152.621);
--chart-1: oklch(0.821 0.187 152.621);
--chart-2: oklch(0.817 0.232 141.683);
--chart-3: oklch(0.84 0.131 185.276);
--chart-4: oklch(0.826 0.221 141.683);
--chart-5: oklch(0.828 0.193 152.349);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.009 160.152);
--foreground: oklch(0.993 0.002 160.178);
--muted: oklch(0.242 0.011 142.437);
--muted-foreground: oklch(0.718 0.03 142.458);
--popover: oklch(0.096 0.009 160.152);
--popover-foreground: oklch(0.993 0.002 160.178);
--card: oklch(0.121 0.012 160.152);
--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.821 0.187 152.621);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.817 0.232 141.683);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.84 0.131 185.276);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.636 0.223 33.254);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.821 0.187 152.621);
--chart-1: oklch(0.821 0.187 152.621);
--chart-2: oklch(0.817 0.232 141.683);
--chart-3: oklch(0.84 0.131 185.276);
--chart-4: oklch(0.826 0.221 141.683);
--chart-5: oklch(0.828 0.193 152.349);
}