Deep for shadcn/ui

Deep is a shadcn/ui theme built around a deep yellow primary color (#3c2c0c) with deep blue accents (#0c1b3c). The light mode uses a neutral background (#fefdfb). Dark mode keeps the deep yellow primary (#3c2c0c) on a neutral background (#070603).

Color palette

TokenLightDark
Background
#fefdfbsnow
#070603black
Foreground
#110d03black
#fbfaf8snow
Card
#fefdfbsnow
#070603black
Card foreground
#110d03black
#fbfaf8snow
Popover
#fefdfbsnow
#070603black
Popover foreground
#110d03black
#fbfaf8snow
Primary
#3c2c0cblack
#3c2c0cblack
Primary foreground
#d8a73bgoldenrod
#d8a73bgoldenrod
Secondary
#0c1b3cmidnightblue
#0c1b3cmidnightblue
Secondary foreground
#90ace9skyblue
#90ace9skyblue
Muted
#e7ebf4lavender
#0b0f18black
Muted foreground
#596173dimgray
#8c94a6lightslategray
Accent
#0c1b3cmidnightblue
#0c1b3cmidnightblue
Accent foreground
#90ace9skyblue
#90ace9skyblue
Destructive
#5e2608maroon
#ed6f2cchocolate
Destructive foreground
#f7bfa1lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#3c2c0cblack
#3c2c0cblack

Contrast

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

Light mode
Text on background19.05:1AAA
Text on card19.05:1AAA
Primary button6.08:1AA
Secondary button7.49:1AAA
Muted text5.18:1AA
Accent7.49:1AAA
Destructive7.35:1AAA
Dark mode
Text on background19.44:1AAA
Text on card19.44:1AAA
Primary button6.08:1AA
Secondary button7.49:1AAA
Muted text6.27:1AA
Accent7.49:1AAA
Destructive6.91:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 86.016);
  --foreground: oklch(0.16 0.023 89.148);
  --muted: oklch(0.939 0.013 265.942);
  --muted-foreground: oklch(0.493 0.031 265.608);
  --popover: oklch(0.994 0.002 86.016);
  --popover-foreground: oklch(0.16 0.023 89.148);
  --card: oklch(0.994 0.002 86.016);
  --card-foreground: oklch(0.16 0.023 89.148);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.305 0.052 83.433);
  --primary-foreground: oklch(0.754 0.134 82.908);
  --secondary: oklch(0.23 0.066 263.402);
  --secondary-foreground: oklch(0.748 0.094 265.039);
  --accent: oklch(0.23 0.066 263.402);
  --accent-foreground: oklch(0.748 0.094 265.039);
  --destructive: oklch(0.345 0.091 44.686);
  --destructive-foreground: oklch(0.848 0.076 49.606);
  --ring: oklch(0.305 0.052 83.433);
  --chart-1: oklch(0.305 0.052 83.433);
  --chart-2: oklch(0.23 0.066 263.402);
  --chart-3: oklch(0.23 0.066 263.402);
  --chart-4: oklch(0.257 0.078 263.272);
  --chart-5: oklch(0.307 0.054 83.133);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.009 89.881);
  --foreground: oklch(0.987 0.003 86.018);
  --muted: oklch(0.171 0.02 265.144);
  --muted-foreground: oklch(0.666 0.029 265.759);
  --popover: oklch(0.121 0.009 89.881);
  --popover-foreground: oklch(0.987 0.003 86.018);
  --card: oklch(0.121 0.009 89.881);
  --card-foreground: oklch(0.987 0.003 86.018);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.305 0.052 83.433);
  --primary-foreground: oklch(0.754 0.134 82.908);
  --secondary: oklch(0.23 0.066 263.402);
  --secondary-foreground: oklch(0.748 0.094 265.039);
  --accent: oklch(0.23 0.066 263.402);
  --accent-foreground: oklch(0.748 0.094 265.039);
  --destructive: oklch(0.683 0.173 45.235);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.305 0.052 83.433);
  --chart-1: oklch(0.305 0.052 83.433);
  --chart-2: oklch(0.23 0.066 263.402);
  --chart-3: oklch(0.23 0.066 263.402);
  --chart-4: oklch(0.257 0.078 263.272);
  --chart-5: oklch(0.307 0.054 83.133);
}