Descriptive for shadcn/ui

Descriptive is a shadcn/ui theme built around a deep orange primary color (#17110c) with deep yellow accents (#17160c). The light mode uses a neutral background (#fefcfb). Dark mode keeps the deep orange primary (#17110c) on an orange-tinted background (#0e0a06).

Color palette

TokenLightDark
Background
#fefcfbsnow
#0e0a06black
Foreground
#040201black
#ffffffwhite
Card
#fefcfbsnow
#0e0a06black
Card foreground
#040201black
#ffffffwhite
Popover
#fefcfbsnow
#0e0a06black
Popover foreground
#040201black
#ffffffwhite
Primary
#17110cblack
#17110cblack
Primary foreground
#c4a792tan
#c4a792tan
Secondary
#170c0dblack
#170c0dblack
Secondary foreground
#c49296rosybrown
#c49296rosybrown
Muted
#ebe5e6linen
#1a1414black
Muted foreground
#443b3cdarkslategray
#c4bbbcsilver
Accent
#17160cblack
#17160cblack
Accent foreground
#c4c092tan
#c4c092tan
Destructive
#ba3112firebrick
#d53815firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#17110cblack
#17110cblack

Contrast

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

Light mode
Text on background20.26:1AAA
Text on card20.26:1AAA
Primary button8.27:1AAA
Secondary button7.19:1AAA
Muted text8.71:1AAA
Accent9.74:1AAA
Destructive5.95:1AA
Dark mode
Text on background19.75:1AAA
Text on card19.75:1AAA
Primary button8.27:1AAA
Secondary button7.19:1AAA
Muted text9.68:1AAA
Accent9.74:1AAA
Destructive4.74:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 58.33);
  --foreground: oklch(0.093 0.01 66.913);
  --muted: oklch(0.927 0.007 11.403);
  --muted-foreground: oklch(0.363 0.013 12.006);
  --popover: oklch(0.993 0.002 58.33);
  --popover-foreground: oklch(0.093 0.01 66.913);
  --card: oklch(0.993 0.002 58.33);
  --card-foreground: oklch(0.093 0.01 66.913);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.184 0.014 57.282);
  --primary-foreground: oklch(0.748 0.045 57.498);
  --secondary: oklch(0.172 0.019 13.702);
  --secondary-foreground: oklch(0.708 0.061 13.186);
  --accent: oklch(0.199 0.018 103.539);
  --accent-foreground: oklch(0.799 0.062 103.358);
  --destructive: oklch(0.522 0.178 33.533);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.184 0.014 57.282);
  --chart-1: oklch(0.184 0.014 57.282);
  --chart-2: oklch(0.172 0.019 13.702);
  --chart-3: oklch(0.199 0.018 103.539);
  --chart-4: oklch(0.203 0.026 14.142);
  --chart-5: oklch(0.184 0.015 57.161);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.147 0.012 61.526);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.199 0.01 12.336);
  --muted-foreground: oklch(0.799 0.01 11.527);
  --popover: oklch(0.147 0.012 61.526);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.147 0.012 61.526);
  --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.184 0.014 57.282);
  --primary-foreground: oklch(0.748 0.045 57.498);
  --secondary: oklch(0.172 0.019 13.702);
  --secondary-foreground: oklch(0.708 0.061 13.186);
  --accent: oklch(0.199 0.018 103.539);
  --accent-foreground: oklch(0.799 0.062 103.358);
  --destructive: oklch(0.578 0.199 33.455);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.184 0.014 57.282);
  --chart-1: oklch(0.184 0.014 57.282);
  --chart-2: oklch(0.172 0.019 13.702);
  --chart-3: oklch(0.199 0.018 103.539);
  --chart-4: oklch(0.203 0.026 14.142);
  --chart-5: oklch(0.184 0.015 57.161);
}