Exhausted for shadcn/ui

Exhausted is a shadcn/ui theme built around a light green primary color (#e9fced) with light teal accents (#e9fcf6). The light mode uses a neutral background (#fbfdfc). Dark mode keeps the light green primary (#e9fced) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfdfcwhite
#000000black
Foreground
#021206black
#f5faf6whitesmoke
Card
#f8fcf9mintcream
#030303black
Card foreground
#020e04black
#f8fcf9mintcream
Popover
#fbfdfcwhite
#000000black
Popover foreground
#021206black
#f5faf6whitesmoke
Primary
#e9fcedhoneydew
#e9fcedhoneydew
Primary foreground
#0a4316darkgreen
#0a4316darkgreen
Secondary
#eefce9honeydew
#eefce9honeydew
Secondary foreground
#1a430adarkgreen
#1a430adarkgreen
Muted
#e5eee2beige
#141d11black
Muted foreground
#4a4b49darkslategray
#b5b6b4silver
Accent
#e9fcf6honeydew
#e9fcf6honeydew
Accent foreground
#0a4333darkslategray
#0a4333darkslategray
Destructive
#a73602saddlebrown
#fd5c12orangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e9fcedhoneydew
#e9fcedhoneydew

Contrast

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

Light mode
Text on background18.89:1AAA
Text on card18.99:1AAA
Primary button10.70:1AAA
Secondary button10.64:1AAA
Muted text7.39:1AAA
Accent10.55:1AAA
Destructive6.64:1AA
Dark mode
Text on background19.88:1AAA
Text on card19.97:1AAA
Primary button10.70:1AAA
Secondary button10.64:1AAA
Muted text8.48:1AAA
Accent10.55:1AAA
Destructive6.70:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 152.568);
  --foreground: oklch(0.163 0.037 150.466);
  --muted: oklch(0.94 0.019 136.67);
  --muted-foreground: oklch(0.41 0.003 136.629);
  --popover: oklch(0.993 0.003 152.568);
  --popover-foreground: oklch(0.163 0.037 150.466);
  --card: oklch(0.987 0.006 152.519);
  --card-foreground: oklch(0.144 0.032 151.227);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.972 0.028 152.162);
  --primary-foreground: oklch(0.335 0.092 146.463);
  --secondary: oklch(0.975 0.029 136.698);
  --secondary-foreground: oklch(0.339 0.095 138.616);
  --accent: oklch(0.975 0.021 177.079);
  --accent-foreground: oklch(0.341 0.063 168.898);
  --destructive: oklch(0.493 0.157 39.099);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.972 0.028 152.162);
  --chart-1: oklch(0.972 0.028 152.162);
  --chart-2: oklch(0.975 0.029 136.698);
  --chart-3: oklch(0.975 0.021 177.079);
  --chart-4: oklch(0.99 0.011 136.643);
  --chart-5: oklch(0.973 0.029 152.143);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.98 0.008 152.494);
  --muted: oklch(0.218 0.027 137.045);
  --muted-foreground: oklch(0.774 0.002 136.618);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.98 0.008 152.494);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.987 0.005 152.536);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.972 0.028 152.162);
  --primary-foreground: oklch(0.335 0.092 146.463);
  --secondary: oklch(0.975 0.029 136.698);
  --secondary-foreground: oklch(0.339 0.095 138.616);
  --accent: oklch(0.975 0.021 177.079);
  --accent-foreground: oklch(0.341 0.063 168.898);
  --destructive: oklch(0.68 0.208 39.828);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.972 0.028 152.162);
  --chart-1: oklch(0.972 0.028 152.162);
  --chart-2: oklch(0.975 0.029 136.698);
  --chart-3: oklch(0.975 0.021 177.079);
  --chart-4: oklch(0.99 0.011 136.643);
  --chart-5: oklch(0.973 0.029 152.143);
}