Incompetence for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.39:1AAA
Text on card20.09:1AAA
Primary button12.92:1AAA
Secondary button12.80:1AAA
Muted text4.62:1AA
Accent13.54:1AAA
Destructive6.01:1AA
Dark mode
Text on background20.22:1AAA
Text on card20.25:1AAA
Primary button12.92:1AAA
Secondary button12.80:1AAA
Muted text6.61:1AA
Accent13.54:1AAA
Destructive3.78:1AA Large

CSS variables

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);
}