Underground Cool December for shadcn/ui

Underground Cool December is a shadcn/ui theme built around a light orange primary color (#faf8f5) with light green accents (#f9faf5). The light mode uses a neutral background (#ffffff). Dark mode keeps the light orange primary (#faf8f5) on a neutral background (#070504).

Color palette

TokenLightDark
Background
#ffffffwhite
#070504black
Foreground
#090602black
#fdfdfcwhite
Card
#ffffffwhite
#070504black
Card foreground
#090602black
#fdfdfcwhite
Popover
#ffffffwhite
#070504black
Popover foreground
#090602black
#fdfdfcwhite
Primary
#faf8f5whitesmoke
#faf8f5whitesmoke
Primary foreground
#3a2e1ddarkslategray
#3a2e1ddarkslategray
Secondary
#faf5f5whitesmoke
#faf5f5whitesmoke
Secondary foreground
#7d453fsienna
#7d453fsienna
Muted
#ead4d1gainsboro
#2e1715black
Muted foreground
#615351dimgray
#ae9f9edarkgray
Accent
#f9faf5whitesmoke
#f9faf5whitesmoke
Accent foreground
#373a1ddarkslategray
#373a1ddarkslategray
Destructive
#cc2014firebrick
#df2316crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#f1f0efwhitesmoke
#262422black
Input
#f1f0efwhitesmoke
#262422black
Ring
#faf8f5whitesmoke
#faf8f5whitesmoke

Contrast

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

Light mode
Text on background20.22:1AAA
Text on card20.22:1AAA
Primary button12.45:1AAA
Secondary button6.96:1AA
Muted text5.17:1AA
Accent11.21:1AAA
Destructive5.53:1AA
Dark mode
Text on background19.96:1AAA
Text on card19.96:1AAA
Primary button12.45:1AAA
Secondary button6.96:1AA
Muted text6.60:1AA
Accent11.21:1AAA
Destructive4.78:1AA

CSS variables

Paste this into your globals.css to use Underground Cool December in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.123 0.017 86.55);
  --muted: oklch(0.887 0.026 25.249);
  --muted-foreground: oklch(0.455 0.019 25.394);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.123 0.017 86.55);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.123 0.017 86.55);
  --border: oklch(0.955 0.002 78.307);
  --input: oklch(0.955 0.002 78.307);
  --primary: oklch(0.979 0.005 78.298);
  --primary-foreground: oklch(0.31 0.033 77.2);
  --secondary: oklch(0.974 0.005 25.031);
  --secondary-foreground: oklch(0.458 0.078 27.228);
  --accent: oklch(0.983 0.007 111.141);
  --accent-foreground: oklch(0.336 0.046 113.544);
  --destructive: oklch(0.543 0.206 29.639);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.979 0.005 78.298);
  --chart-1: oklch(0.979 0.005 78.298);
  --chart-2: oklch(0.974 0.005 25.031);
  --chart-3: oklch(0.983 0.007 111.141);
  --chart-4: oklch(1 0 180);
  --chart-5: oklch(0.98 0.005 78.297);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.119 0.007 82.109);
  --foreground: oklch(0.993 0.001 78.309);
  --muted: oklch(0.236 0.037 27.015);
  --muted-foreground: oklch(0.716 0.017 25.201);
  --popover: oklch(0.119 0.007 82.109);
  --popover-foreground: oklch(0.993 0.001 78.309);
  --card: oklch(0.119 0.007 82.109);
  --card-foreground: oklch(0.993 0.001 78.309);
  --border: oklch(0.262 0.005 78.235);
  --input: oklch(0.262 0.005 78.235);
  --primary: oklch(0.979 0.005 78.298);
  --primary-foreground: oklch(0.31 0.033 77.2);
  --secondary: oklch(0.974 0.005 25.031);
  --secondary-foreground: oklch(0.458 0.078 27.228);
  --accent: oklch(0.983 0.007 111.141);
  --accent-foreground: oklch(0.336 0.046 113.544);
  --destructive: oklch(0.58 0.22 29.659);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.979 0.005 78.298);
  --chart-1: oklch(0.979 0.005 78.298);
  --chart-2: oklch(0.974 0.005 25.031);
  --chart-3: oklch(0.983 0.007 111.141);
  --chart-4: oklch(1 0 180);
  --chart-5: oklch(0.98 0.005 78.297);
}