Exhausted for shadcn/ui

Exhausted is a shadcn/ui theme built around a cyan primary color (#247589) with red accents (#893924). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#247589) on a neutral background (#010304).

Color palette

TokenLightDark
Background
#ffffffwhite
#010304black
Foreground
#020b0dblack
#f9fbfbghostwhite
Card
#fcfcfcsnow
#020708black
Card foreground
#020709black
#fcfdfdwhite
Popover
#fcfcfcsnow
#020708black
Popover foreground
#020709black
#fcfdfdwhite
Primary
#247589teal
#247589teal
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#893924saddlebrown
#893924saddlebrown
Secondary foreground
#f9eae7linen
#f9eae7linen
Muted
#e3d2celightgrey
#31201cblack
Muted foreground
#544440darkslategray
#bfafabdarkgray
Accent
#893924saddlebrown
#893924saddlebrown
Accent foreground
#f9eae7linen
#f9eae7linen
Destructive
#b31509firebrick
#f54538tomato
Destructive foreground
#fef1f0seashell
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#247589teal
#247589teal

Contrast

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

Light mode
Text on background19.88:1AAA
Text on card19.81:1AAA
Primary button5.28:1AA
Secondary button6.73:1AA
Muted text6.33:1AA
Accent6.73:1AA
Destructive6.28:1AA
Dark mode
Text on background19.85:1AAA
Text on card19.88:1AAA
Primary button5.28:1AA
Secondary button6.73:1AA
Muted text7.35:1AAA
Accent6.73:1AA
Destructive3.63:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.139 0.017 210.922);
  --muted: oklch(0.878 0.02 34.297);
  --muted-foreground: oklch(0.402 0.022 34.348);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.121 0.015 209.547);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.121 0.015 209.547);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.523 0.081 218.095);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.449 0.115 35.209);
  --secondary-foreground: oklch(0.948 0.016 34.298);
  --accent: oklch(0.449 0.115 35.209);
  --accent-foreground: oklch(0.948 0.016 34.298);
  --destructive: oklch(0.489 0.191 29.746);
  --destructive-foreground: oklch(0.969 0.014 22.379);
  --ring: oklch(0.523 0.081 218.095);
  --chart-1: oklch(0.523 0.081 218.095);
  --chart-2: oklch(0.449 0.115 35.209);
  --chart-3: oklch(0.449 0.115 35.209);
  --chart-4: oklch(0.477 0.123 35.206);
  --chart-5: oklch(0.528 0.084 218.445);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.01 210.044);
  --foreground: oklch(0.986 0.002 214.323);
  --muted: oklch(0.263 0.028 34.558);
  --muted-foreground: oklch(0.767 0.019 34.298);
  --popover: oklch(0.121 0.013 210.044);
  --popover-foreground: oklch(0.993 0.001 214.32);
  --card: oklch(0.121 0.013 210.044);
  --card-foreground: oklch(0.993 0.001 214.32);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.523 0.081 218.095);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.449 0.115 35.209);
  --secondary-foreground: oklch(0.948 0.016 34.298);
  --accent: oklch(0.449 0.115 35.209);
  --accent-foreground: oklch(0.948 0.016 34.298);
  --destructive: oklch(0.646 0.214 28.64);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.523 0.081 218.095);
  --chart-1: oklch(0.523 0.081 218.095);
  --chart-2: oklch(0.449 0.115 35.209);
  --chart-3: oklch(0.449 0.115 35.209);
  --chart-4: oklch(0.477 0.123 35.206);
  --chart-5: oklch(0.528 0.084 218.445);
}