Mutt for shadcn/ui

Mutt is a shadcn/ui theme built around a deep orange primary color (#2c1c07) with deep yellow accents (#292c07). The light mode uses a neutral background (#fdfdfb). Dark mode keeps the deep orange primary (#2c1c07) on a neutral background (#070503).

Color palette

TokenLightDark
Background
#fdfdfbsnow
#070503black
Foreground
#000000black
#fdfdfcwhite
Card
#fcfaf8snow
#0b0804black
Card foreground
#000000black
#ffffffwhite
Popover
#fdfdfbsnow
#070503black
Popover foreground
#000000black
#fdfdfcwhite
Primary
#2c1c07black
#2c1c07black
Primary foreground
#da8c25goldenrod
#da8c25goldenrod
Secondary
#2c0a07black
#2c0a07black
Secondary foreground
#e9837clightcoral
#e9837clightcoral
Muted
#e5d3d1gainsboro
#2e1b1ablack
Muted foreground
#4f3c3bdarkslategray
#c4b1b0silver
Accent
#292c07black
#292c07black
Accent foreground
#ceda25greenyellow
#ceda25greenyellow
Destructive
#af340efirebrick
#e74413orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2c1c07black
#2c1c07black

Contrast

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

Light mode
Text on background20.59:1AAA
Text on card20.18:1AAA
Primary button6.09:1AA
Secondary button6.95:1AA
Muted text7.12:1AAA
Accent9.41:1AAA
Destructive6.35:1AA
Dark mode
Text on background19.94:1AAA
Text on card19.97:1AAA
Primary button6.09:1AA
Secondary button6.95:1AA
Muted text7.97:1AAA
Accent9.41:1AAA
Destructive4.00:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 74.943);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.881 0.021 22.493);
  --muted-foreground: oklch(0.376 0.027 23.17);
  --popover: oklch(0.993 0.002 74.943);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.986 0.004 74.931);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.241 0.041 71.142);
  --primary-foreground: oklch(0.704 0.144 67.197);
  --secondary: oklch(0.203 0.057 27.682);
  --secondary-foreground: oklch(0.72 0.126 24.968);
  --accent: oklch(0.28 0.054 113.087);
  --accent-foreground: oklch(0.851 0.183 113.805);
  --destructive: oklch(0.505 0.165 35.715);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.241 0.041 71.142);
  --chart-1: oklch(0.241 0.041 71.142);
  --chart-2: oklch(0.203 0.057 27.682);
  --chart-3: oklch(0.28 0.054 113.087);
  --chart-4: oklch(0.235 0.07 27.846);
  --chart-5: oklch(0.242 0.042 70.958);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.011 80.97);
  --foreground: oklch(0.993 0.002 74.944);
  --muted: oklch(0.246 0.03 23.971);
  --muted-foreground: oklch(0.777 0.022 22.556);
  --popover: oklch(0.12 0.011 80.97);
  --popover-foreground: oklch(0.993 0.002 74.944);
  --card: oklch(0.137 0.012 80.713);
  --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.241 0.041 71.142);
  --primary-foreground: oklch(0.704 0.144 67.197);
  --secondary: oklch(0.203 0.057 27.682);
  --secondary-foreground: oklch(0.72 0.126 24.968);
  --accent: oklch(0.28 0.054 113.087);
  --accent-foreground: oklch(0.851 0.183 113.805);
  --destructive: oklch(0.62 0.207 35.434);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.241 0.041 71.142);
  --chart-1: oklch(0.241 0.041 71.142);
  --chart-2: oklch(0.203 0.057 27.682);
  --chart-3: oklch(0.28 0.054 113.087);
  --chart-4: oklch(0.235 0.07 27.846);
  --chart-5: oklch(0.242 0.042 70.958);
}