Mundane for shadcn/ui

Mundane is a shadcn/ui theme built around a muted deep teal primary color (#182a24) with muted light teal accents (#e1eae7). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep teal primary (#182a24) on a teal-tinted background (#030c09).

Color palette

TokenLightDark
Background
#ffffffwhite
#030c09black
Foreground
#03110cblack
#fcfdfdwhite
Card
#ffffffwhite
#030c09black
Card foreground
#03110cblack
#fcfdfdwhite
Popover
#ffffffwhite
#030c09black
Popover foreground
#03110cblack
#fcfdfdwhite
Primary
#182a24black
#182a24black
Primary foreground
#a8cdc0silver
#a8cdc0silver
Secondary
#e1eae7gainsboro
#24332edarkslategray
Secondary foreground
#405950darkslategray
#bacec7silver
Muted
#e0f1eblavender
#0e1f19black
Muted foreground
#434c49darkslategray
#b3bcb9silver
Accent
#e1eae7gainsboro
#24332edarkslategray
Accent foreground
#405950darkslategray
#bacec7silver
Destructive
#9a1304darkred
#f92810orangered
Destructive foreground
#fed7d2bisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#182a24black
#182a24black

Contrast

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

Light mode
Text on background19.27:1AAA
Text on card19.27:1AAA
Primary button8.70:1AAA
Secondary button6.18:1AA
Muted text7.54:1AAA
Accent6.18:1AA
Destructive6.41:1AA
Dark mode
Text on background19.42:1AAA
Text on card19.42:1AAA
Primary button8.70:1AAA
Secondary button8.05:1AAA
Muted text8.75:1AAA
Accent8.05:1AAA
Destructive3.94:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.162 0.024 170.702);
  --muted: oklch(0.943 0.02 172.957);
  --muted-foreground: oklch(0.407 0.012 172.679);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.162 0.024 170.702);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.162 0.024 170.702);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.267 0.027 170.22);
  --primary-foreground: oklch(0.817 0.044 171.922);
  --secondary: oklch(0.929 0.01 173.274);
  --secondary-foreground: oklch(0.44 0.033 171.176);
  --accent: oklch(0.929 0.01 173.274);
  --accent-foreground: oklch(0.44 0.033 171.176);
  --destructive: oklch(0.439 0.169 30.6);
  --destructive-foreground: oklch(0.91 0.045 25.463);
  --ring: oklch(0.267 0.027 170.22);
  --chart-1: oklch(0.267 0.027 170.22);
  --chart-2: oklch(0.929 0.01 173.274);
  --chart-3: oklch(0.929 0.01 173.274);
  --chart-4: oklch(0.95 0.007 173.37);
  --chart-5: oklch(0.27 0.029 169.852);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.143 0.018 173.306);
  --foreground: oklch(0.993 0.001 173.531);
  --muted: oklch(0.224 0.026 169.524);
  --muted-foreground: oklch(0.787 0.01 173.186);
  --popover: oklch(0.143 0.018 173.306);
  --popover-foreground: oklch(0.993 0.001 173.531);
  --card: oklch(0.143 0.018 173.306);
  --card-foreground: oklch(0.993 0.001 173.531);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.267 0.027 170.22);
  --primary-foreground: oklch(0.817 0.044 171.922);
  --secondary: oklch(0.305 0.022 171.295);
  --secondary-foreground: oklch(0.835 0.024 172.727);
  --accent: oklch(0.305 0.022 171.295);
  --accent-foreground: oklch(0.835 0.024 172.727);
  --destructive: oklch(0.629 0.241 30.458);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.267 0.027 170.22);
  --chart-1: oklch(0.267 0.027 170.22);
  --chart-2: oklch(0.305 0.022 171.295);
  --chart-3: oklch(0.305 0.022 171.295);
  --chart-4: oklch(0.338 0.025 171.209);
  --chart-5: oklch(0.27 0.029 169.852);
}