Mature for shadcn/ui

Mature is a shadcn/ui theme built around a light pink primary color (#e6c7d1) with muted light pink accents (#e3d9dc). The light mode uses a neutral background (#fcf7f9). Dark mode keeps the light pink primary (#e6c7d1) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcf7f9snow
#000000black
Foreground
#040102black
#fbf9f9snow
Card
#fcf7f9snow
#000000black
Card foreground
#040102black
#fbf9f9snow
Popover
#fcf7f9snow
#000000black
Popover foreground
#040102black
#fbf9f9snow
Primary
#e6c7d1thistle
#e6c7d1thistle
Primary foreground
#542635darkslategray
#542635darkslategray
Secondary
#e3d9dcgainsboro
#151414black
Secondary foreground
#4f3b41darkslategray
#b0abaddarkgray
Muted
#eddee3gainsboro
#211217black
Muted foreground
#524247darkslategray
#bdadb2darkgray
Accent
#e3d9dcgainsboro
#151414black
Accent foreground
#4f3b41darkslategray
#b0abaddarkgray
Destructive
#d94608orangered
#e24a08orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e6c7d1thistle
#e6c7d1thistle

Contrast

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

Light mode
Text on background19.67:1AAA
Text on card19.67:1AAA
Primary button7.86:1AAA
Secondary button7.47:1AAA
Muted text7.24:1AAA
Accent7.47:1AAA
Destructive4.35:1AA Large
Dark mode
Text on background20.02:1AAA
Text on card20.02:1AAA
Primary button7.86:1AAA
Secondary button8.13:1AAA
Muted text8.41:1AAA
Accent8.13:1AAA
Destructive4.02:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.006 354.753);
  --foreground: oklch(0.083 0.016 354.217);
  --muted: oklch(0.914 0.018 355.151);
  --muted-foreground: oklch(0.397 0.024 356.263);
  --popover: oklch(0.982 0.006 354.753);
  --popover-foreground: oklch(0.083 0.016 354.217);
  --card: oklch(0.982 0.006 354.753);
  --card-foreground: oklch(0.083 0.016 354.217);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.858 0.037 355.813);
  --primary-foreground: oklch(0.338 0.072 0.53);
  --secondary: oklch(0.894 0.012 354.965);
  --secondary-foreground: oklch(0.376 0.031 356.861);
  --accent: oklch(0.894 0.012 354.965);
  --accent-foreground: oklch(0.376 0.031 356.861);
  --destructive: oklch(0.597 0.192 38.087);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.858 0.037 355.813);
  --chart-1: oklch(0.858 0.037 355.813);
  --chart-2: oklch(0.894 0.012 354.965);
  --chart-3: oklch(0.894 0.012 354.965);
  --chart-4: oklch(0.919 0.009 354.868);
  --chart-5: oklch(0.857 0.04 355.911);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.983 0.003 354.677);
  --muted: oklch(0.205 0.027 358.178);
  --muted-foreground: oklch(0.763 0.02 355.336);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.983 0.003 354.677);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.983 0.003 354.677);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.858 0.037 355.813);
  --primary-foreground: oklch(0.338 0.072 0.53);
  --secondary: oklch(0.192 0.002 354.906);
  --secondary-foreground: oklch(0.746 0.006 354.821);
  --accent: oklch(0.192 0.002 354.906);
  --accent-foreground: oklch(0.746 0.006 354.821);
  --destructive: oklch(0.617 0.199 38.012);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.858 0.037 355.813);
  --chart-1: oklch(0.858 0.037 355.813);
  --chart-2: oklch(0.192 0.002 354.906);
  --chart-3: oklch(0.192 0.002 354.906);
  --chart-4: oklch(0.225 0.003 354.945);
  --chart-5: oklch(0.857 0.04 355.911);
}