Mature for shadcn/ui

Mature is a shadcn/ui theme built around a deep orange primary color (#24150a) with deep blue accents (#0a1924). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep orange primary (#24150a) on an orange-tinted background (#100904).

Color palette

TokenLightDark
Background
#ffffffwhite
#100904black
Foreground
#120902black
#fdfcfcsnow
Card
#fcfcfcsnow
#140c06black
Card foreground
#0e0702black
#ffffffwhite
Popover
#ffffffwhite
#100904black
Popover foreground
#120902black
#fdfcfcsnow
Primary
#24150ablack
#24150ablack
Primary foreground
#dea882burlywood
#dea882burlywood
Secondary
#0a1924black
#0a1924black
Secondary foreground
#82b8deskyblue
#82b8deskyblue
Muted
#eaeef0lavender
#0f1215black
Muted foreground
#636363dimgray
#9c9c9cdarkgray
Accent
#0a1924black
#0a1924black
Accent foreground
#82b8deskyblue
#82b8deskyblue
Destructive
#c71205firebrick
#f92010red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#24150ablack
#24150ablack

Contrast

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

Light mode
Text on background19.70:1AAA
Text on card19.57:1AAA
Primary button8.46:1AAA
Secondary button8.36:1AAA
Muted text5.13:1AA
Accent8.36:1AAA
Destructive5.97:1AA
Dark mode
Text on background19.27:1AAA
Text on card19.40:1AAA
Primary button8.46:1AAA
Secondary button8.36:1AAA
Muted text6.83:1AA
Accent8.36:1AAA
Destructive4.01:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.15 0.024 65.621);
  --muted: oklch(0.946 0.005 238.434);
  --muted-foreground: oklch(0.501 0 180);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.15 0.024 65.621);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.135 0.021 69.083);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.212 0.032 55.555);
  --primary-foreground: oklch(0.773 0.082 56.719);
  --secondary: oklch(0.206 0.031 241.438);
  --secondary-foreground: oklch(0.758 0.079 240.177);
  --accent: oklch(0.206 0.031 241.438);
  --accent-foreground: oklch(0.758 0.079 240.177);
  --destructive: oklch(0.526 0.209 29.813);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.212 0.032 55.555);
  --chart-1: oklch(0.212 0.032 55.555);
  --chart-2: oklch(0.206 0.031 241.438);
  --chart-3: oklch(0.206 0.031 241.438);
  --chart-4: oklch(0.241 0.039 241.906);
  --chart-5: oklch(0.213 0.034 55.397);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.148 0.017 63.101);
  --foreground: oklch(0.993 0.002 58.34);
  --muted: oklch(0.181 0.007 238.951);
  --muted-foreground: oklch(0.691 0 180);
  --popover: oklch(0.148 0.017 63.101);
  --popover-foreground: oklch(0.993 0.002 58.34);
  --card: oklch(0.162 0.02 59.607);
  --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.212 0.032 55.555);
  --primary-foreground: oklch(0.773 0.082 56.719);
  --secondary: oklch(0.206 0.031 241.438);
  --secondary-foreground: oklch(0.758 0.079 240.177);
  --accent: oklch(0.206 0.031 241.438);
  --accent-foreground: oklch(0.758 0.079 240.177);
  --destructive: oklch(0.625 0.244 29.752);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.212 0.032 55.555);
  --chart-1: oklch(0.212 0.032 55.555);
  --chart-2: oklch(0.206 0.031 241.438);
  --chart-3: oklch(0.206 0.031 241.438);
  --chart-4: oklch(0.241 0.039 241.906);
  --chart-5: oklch(0.213 0.034 55.397);
}