Exhausted for shadcn/ui

Exhausted is a shadcn/ui theme built around a light green primary color (#f6faef) with light pink accents (#faeff6). The light mode uses a neutral background (#fbfcf8). Dark mode keeps the light green primary (#f6faef) on a green-tinted background (#090b04).

Color palette

TokenLightDark
Background
#fbfcf8snow
#090b04black
Foreground
#000000black
#fafbf9snow
Card
#fbfcf8snow
#090b04black
Card foreground
#000000black
#fafbf9snow
Popover
#fbfcf8snow
#090b04black
Popover foreground
#000000black
#fafbf9snow
Primary
#f6faefwhitesmoke
#f6faefwhitesmoke
Primary foreground
#2e3e14darkslategray
#2e3e14darkslategray
Secondary
#eff6faaliceblue
#eff6faaliceblue
Secondary foreground
#142e3edarkslategray
#142e3edarkslategray
Muted
#f0f3f4whitesmoke
#0b0d0fblack
Muted foreground
#444c50darkslategray
#afb7bbsilver
Accent
#faeff6lavenderblush
#faeff6lavenderblush
Accent foreground
#8c2c69purple
#8c2c69purple
Destructive
#9d280bfirebrick
#ef491forangered
Destructive foreground
#fde4demistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f6faefwhitesmoke
#f6faefwhitesmoke

Contrast

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

Light mode
Text on background20.38:1AAA
Text on card20.38:1AAA
Primary button10.94:1AAA
Secondary button12.93:1AAA
Muted text7.85:1AAA
Accent7.01:1AAA
Destructive6.29:1AA
Dark mode
Text on background19.03:1AAA
Text on card19.03:1AAA
Primary button10.94:1AAA
Secondary button12.93:1AAA
Muted text9.55:1AAA
Accent7.01:1AAA
Destructive3.71:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.006 123.028);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.962 0.004 232.633);
  --muted-foreground: oklch(0.41 0.012 233.023);
  --popover: oklch(0.989 0.006 123.028);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.989 0.006 123.028);
  --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.98 0.015 123.156);
  --primary-foreground: oklch(0.34 0.068 126.714);
  --secondary: oklch(0.97 0.009 232.709);
  --secondary-foreground: oklch(0.29 0.043 236.331);
  --accent: oklch(0.964 0.014 339.037);
  --accent-foreground: oklch(0.456 0.145 345.432);
  --destructive: oklch(0.462 0.158 34.071);
  --destructive-foreground: oklch(0.937 0.029 34.302);
  --ring: oklch(0.98 0.015 123.156);
  --chart-1: oklch(0.98 0.015 123.156);
  --chart-2: oklch(0.97 0.009 232.709);
  --chart-3: oklch(0.964 0.014 339.037);
  --chart-4: oklch(0.992 0.002 232.611);
  --chart-5: oklch(0.98 0.015 123.169);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.145 0.02 122.637);
  --foreground: oklch(0.987 0.003 122.97);
  --muted: oklch(0.158 0.006 233.121);
  --muted-foreground: oklch(0.774 0.01 232.772);
  --popover: oklch(0.145 0.02 122.637);
  --popover-foreground: oklch(0.987 0.003 122.97);
  --card: oklch(0.145 0.02 122.637);
  --card-foreground: oklch(0.987 0.003 122.97);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.98 0.015 123.156);
  --primary-foreground: oklch(0.34 0.068 126.714);
  --secondary: oklch(0.97 0.009 232.709);
  --secondary-foreground: oklch(0.29 0.043 236.331);
  --accent: oklch(0.964 0.014 339.037);
  --accent-foreground: oklch(0.456 0.145 345.432);
  --destructive: oklch(0.638 0.21 34.447);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.98 0.015 123.156);
  --chart-1: oklch(0.98 0.015 123.156);
  --chart-2: oklch(0.97 0.009 232.709);
  --chart-3: oklch(0.964 0.014 339.037);
  --chart-4: oklch(0.992 0.002 232.611);
  --chart-5: oklch(0.98 0.015 123.169);
}