Mundane is a shadcn/ui theme built around a near-white primary color (#eaeaeb) with near-white accents (#ebeaeb). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the near-white primary (#eaeaeb) on a blue-tinted background (#04050b).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #04050bblack |
| Foreground | #010105black | #ffffffwhite |
| Card | #fbfbfeghostwhite | #04050bblack |
| Card foreground | #010105black | #ffffffwhite |
| Popover | #fbfbfeghostwhite | #04050bblack |
| Popover foreground | #010105black | #ffffffwhite |
| Primary | #eaeaeblavender | #eaeaeblavender |
| Primary foreground | #505053darkslategray | #505053darkslategray |
| Secondary | #eaebeblavender | #eaebeblavender |
| Secondary foreground | #505253darkslategray | #505253darkslategray |
| Muted | #d6e0e6gainsboro | #192329black |
| Muted foreground | #4d5c66dimgray | #99a9b2darkgray |
| Accent | #ebeaeblavender | #ebeaeblavender |
| Accent foreground | #515053darkslategray | #515053darkslategray |
| Destructive | #8e2b01saddlebrown | #fe7134tomato |
| Destructive foreground | #ffd4c2peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eaeaeblavender | #eaeaeblavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.21:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 6.69:1 | AA |
| Secondary button | 6.56:1 | AA |
| Muted text | 5.14:1 | AA |
| Accent | 6.67:1 | AA |
| Destructive | 6.18:1 | AA |
| Text on background | 20.32:1 | AAA |
| Text on card | 20.32:1 | AAA |
| Primary button | 6.69:1 | AA |
| Secondary button | 6.56:1 | AA |
| Muted text | 6.59:1 | AA |
| Accent | 6.67:1 | AA |
| Destructive | 7.60:1 | AAA |
Paste this into your globals.css to use Mundane in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 280.276);
--foreground: oklch(0.072 0.021 269.374);
--muted: oklch(0.9 0.014 234.733);
--muted-foreground: oklch(0.466 0.025 235.352);
--popover: oklch(0.99 0.003 280.276);
--popover-foreground: oklch(0.072 0.021 269.374);
--card: oklch(0.99 0.003 280.276);
--card-foreground: oklch(0.072 0.021 269.374);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.938 0.001 280.314);
--primary-foreground: oklch(0.433 0.005 280.159);
--secondary: oklch(0.939 0.001 234.517);
--secondary-foreground: oklch(0.437 0.003 234.615);
--accent: oklch(0.938 0.001 303.621);
--accent-foreground: oklch(0.433 0.006 303.451);
--destructive: oklch(0.437 0.141 38.531);
--destructive-foreground: oklch(0.902 0.054 44.478);
--ring: oklch(0.938 0.001 280.314);
--chart-1: oklch(0.938 0.001 280.314);
--chart-2: oklch(0.939 0.001 234.517);
--chart-3: oklch(0.938 0.001 303.621);
--chart-4: oklch(0.962 0 234.513);
--chart-5: oklch(0.937 0.002 280.29);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.119 0.015 276.22);
--foreground: oklch(1 0 180);
--muted: oklch(0.25 0.019 235.809);
--muted-foreground: oklch(0.725 0.022 234.968);
--popover: oklch(0.119 0.015 276.22);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.119 0.015 276.22);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.938 0.001 280.314);
--primary-foreground: oklch(0.433 0.005 280.159);
--secondary: oklch(0.939 0.001 234.517);
--secondary-foreground: oklch(0.437 0.003 234.615);
--accent: oklch(0.938 0.001 303.621);
--accent-foreground: oklch(0.433 0.006 303.451);
--destructive: oklch(0.71 0.187 41.554);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.938 0.001 280.314);
--chart-1: oklch(0.938 0.001 280.314);
--chart-2: oklch(0.939 0.001 234.517);
--chart-3: oklch(0.938 0.001 303.621);
--chart-4: oklch(0.962 0 234.513);
--chart-5: oklch(0.937 0.002 280.29);
}