Incomplete for shadcn/ui

Incomplete is a shadcn/ui theme built around a green primary color (#a4dab2) with purple accents (#daa4cd). The light mode uses a neutral background (#f7fdf9). Dark mode keeps the green primary (#a4dab2) on a green-tinted background (#040b06).

Color palette

TokenLightDark
Background
#f7fdf9mintcream
#040b06black
Foreground
#000000black
#ffffffwhite
Card
#f7fdf9mintcream
#040b06black
Card foreground
#000000black
#ffffffwhite
Popover
#f7fdf9mintcream
#040b06black
Popover foreground
#000000black
#ffffffwhite
Primary
#a4dab2silver
#a4dab2silver
Primary foreground
#16361edarkgreen
#16361edarkgreen
Secondary
#daa4cdplum
#daa4cdplum
Secondary foreground
#36162edarkslategray
#36162edarkslategray
Muted
#e2dae0gainsboro
#251d23black
Muted foreground
#574753darkslategray
#b8a8b4darkgray
Accent
#daa4cdplum
#daa4cdplum
Accent foreground
#36162edarkslategray
#36162edarkslategray
Destructive
#cf2c07firebrick
#f74922orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a4dab2silver
#a4dab2silver

Contrast

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

Light mode
Text on background20.32:1AAA
Text on card20.32:1AAA
Primary button8.39:1AAA
Secondary button7.78:1AAA
Muted text6.29:1AA
Accent7.78:1AAA
Destructive5.23:1AA
Dark mode
Text on background19.86:1AAA
Text on card19.86:1AAA
Primary button8.39:1AAA
Secondary button7.78:1AAA
Muted text7.25:1AAA
Accent7.78:1AAA
Destructive3.54:1AA Large

CSS variables

Paste this into your globals.css to use Incomplete in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.008 153.746);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.896 0.012 334.098);
  --muted-foreground: oklch(0.419 0.028 334.975);
  --popover: oklch(0.988 0.008 153.746);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.008 153.746);
  --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.84 0.079 152.158);
  --primary-foreground: oklch(0.302 0.058 149.887);
  --secondary: oklch(0.782 0.082 335.549);
  --secondary-foreground: oklch(0.259 0.063 337.655);
  --accent: oklch(0.782 0.082 335.549);
  --accent-foreground: oklch(0.259 0.063 337.655);
  --destructive: oklch(0.555 0.202 32.734);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.84 0.079 152.158);
  --chart-1: oklch(0.84 0.079 152.158);
  --chart-2: oklch(0.782 0.082 335.549);
  --chart-3: oklch(0.782 0.082 335.549);
  --chart-4: oklch(0.808 0.072 335.301);
  --chart-5: oklch(0.843 0.084 152.035);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.02 153.219);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.243 0.016 334.967);
  --muted-foreground: oklch(0.749 0.025 334.419);
  --popover: oklch(0.14 0.02 153.219);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.14 0.02 153.219);
  --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.84 0.079 152.158);
  --primary-foreground: oklch(0.302 0.058 149.887);
  --secondary: oklch(0.782 0.082 335.549);
  --secondary-foreground: oklch(0.259 0.063 337.655);
  --accent: oklch(0.782 0.082 335.549);
  --accent-foreground: oklch(0.259 0.063 337.655);
  --destructive: oklch(0.651 0.217 33.711);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.84 0.079 152.158);
  --chart-1: oklch(0.84 0.079 152.158);
  --chart-2: oklch(0.782 0.082 335.549);
  --chart-3: oklch(0.782 0.082 335.549);
  --chart-4: oklch(0.808 0.072 335.301);
  --chart-5: oklch(0.843 0.084 152.035);
}