Mundane for shadcn/ui

Mundane is a shadcn/ui theme built around a near-white primary color (#ffffff) with near-white accents (#ffffff). The light mode uses a neutral background (#fefbfb). Dark mode keeps the near-white primary (#ffffff) on a neutral background (#070303).

Color palette

TokenLightDark
Background
#fefbfbsnow
#070303black
Foreground
#150505black
#fdfcfcsnow
Card
#fdf7f7snow
#0a0505black
Card foreground
#110404black
#ffffffwhite
Popover
#fdf7f7snow
#0a0505black
Popover foreground
#110404black
#ffffffwhite
Primary
#ffffffwhite
#ffffffwhite
Primary foreground
#333333darkslategray
#333333darkslategray
Secondary
#ffffffwhite
#ffffffwhite
Secondary foreground
#333333darkslategray
#333333darkslategray
Muted
#ebe5e5linen
#1a1414black
Muted foreground
#564343darkslategray
#bca9a9darkgray
Accent
#ffffffwhite
#ffffffwhite
Accent foreground
#333333darkslategray
#333333darkslategray
Destructive
#640907maroon
#e01310red
Destructive foreground
#f9a6a4lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ffffffwhite
#ffffffwhite

Contrast

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

Light mode
Text on background19.31:1AAA
Text on card18.98:1AAA
Primary button12.63:1AAA
Secondary button12.63:1AAA
Muted text7.39:1AAA
Accent12.63:1AAA
Destructive6.95:1AA
Dark mode
Text on background20.00:1AAA
Text on card20.23:1AAA
Primary button12.63:1AAA
Secondary button12.63:1AAA
Muted text8.14:1AAA
Accent12.63:1AAA
Destructive4.91:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 17.213);
  --foreground: oklch(0.143 0.032 21.878);
  --muted: oklch(0.926 0.007 17.283);
  --muted-foreground: oklch(0.404 0.025 18.259);
  --popover: oklch(0.98 0.007 17.27);
  --popover-foreground: oklch(0.131 0.028 21.593);
  --card: oklch(0.98 0.007 17.27);
  --card-foreground: oklch(0.131 0.028 21.593);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(1 0 180);
  --primary-foreground: oklch(0.321 0 180);
  --secondary: oklch(1 0 180);
  --secondary-foreground: oklch(0.321 0 180);
  --accent: oklch(1 0 180);
  --accent-foreground: oklch(0.321 0 180);
  --destructive: oklch(0.323 0.123 28.377);
  --destructive-foreground: oklch(0.805 0.099 20.536);
  --ring: oklch(1 0 180);
  --chart-1: oklch(1 0 180);
  --chart-2: oklch(1 0 180);
  --chart-3: oklch(1 0 180);
  --chart-4: oklch(1.023 0 180);
  --chart-5: oklch(1 0 180);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.01 18.788);
  --foreground: oklch(0.992 0.001 17.175);
  --muted: oklch(0.198 0.011 18.082);
  --muted-foreground: oklch(0.752 0.021 17.636);
  --popover: oklch(0.125 0.011 18.788);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.125 0.011 18.788);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(1 0 180);
  --primary-foreground: oklch(0.321 0 180);
  --secondary: oklch(1 0 180);
  --secondary-foreground: oklch(0.321 0 180);
  --accent: oklch(1 0 180);
  --accent-foreground: oklch(0.321 0 180);
  --destructive: oklch(0.575 0.229 28.91);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(1 0 180);
  --chart-1: oklch(1 0 180);
  --chart-2: oklch(1 0 180);
  --chart-3: oklch(1 0 180);
  --chart-4: oklch(1.023 0 180);
  --chart-5: oklch(1 0 180);
}