Ebony Clay Crawdad for shadcn/ui

Ebony Clay Crawdad is a shadcn/ui theme built around a neutral gray primary color (#333538) with neutral gray accents (#353833). The light mode uses a neutral background (#fbfcfd). Dark mode keeps the neutral gray primary (#333538) on a neutral background (#020508).

Color palette

TokenLightDark
Background
#fbfcfdwhite
#020508black
Foreground
#050c15black
#fcfcfdwhite
Card
#f8fafcghostwhite
#03070cblack
Card foreground
#040911black
#ffffffwhite
Popover
#f8fafcghostwhite
#03070cblack
Popover foreground
#040911black
#ffffffwhite
Primary
#333538darkslategray
#333538darkslategray
Primary foreground
#cdced0lightgrey
#cdced0lightgrey
Secondary
#383335darkslategray
#383335darkslategray
Secondary foreground
#d0cdcelightgrey
#d0cdcelightgrey
Muted
#f0e0e7mistyrose
#1f0f16black
Muted foreground
#626061dimgray
#9f9d9edarkgray
Accent
#353833darkslategray
#353833darkslategray
Accent foreground
#ced0cdlightgrey
#ced0cdlightgrey
Destructive
#680d08maroon
#ec2218crimson
Destructive foreground
#f8aeaalightpink
#ffffffwhite
Border
#e3e5e8gainsboro
#1a1c1fblack
Input
#e3e5e8gainsboro
#1a1c1fblack
Ring
#333538darkslategray
#333538darkslategray

Contrast

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

Light mode
Text on background19.16:1AAA
Text on card19.02:1AAA
Primary button7.78:1AAA
Secondary button7.83:1AAA
Muted text4.91:1AA
Accent7.68:1AAA
Destructive7.05:1AAA
Dark mode
Text on background19.95:1AAA
Text on card20.19:1AAA
Primary button7.78:1AAA
Secondary button7.83:1AAA
Muted text6.84:1AA
Accent7.68:1AAA
Destructive4.35:1AA Large

CSS variables

Paste this into your globals.css to use Ebony Clay Crawdad in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 254.964);
  --foreground: oklch(0.15 0.024 252.058);
  --muted: oklch(0.922 0.02 349.32);
  --muted-foreground: oklch(0.491 0.003 348.89);
  --popover: oklch(0.983 0.004 254.974);
  --popover-foreground: oklch(0.138 0.02 249.156);
  --card: oklch(0.983 0.004 254.974);
  --card-foreground: oklch(0.138 0.02 249.156);
  --border: oklch(0.922 0.004 254.978);
  --input: oklch(0.922 0.004 254.978);
  --primary: oklch(0.329 0.005 255.032);
  --primary-foreground: oklch(0.852 0.004 254.977);
  --secondary: oklch(0.328 0.007 349.303);
  --secondary-foreground: oklch(0.851 0.005 348.891);
  --accent: oklch(0.336 0.008 131.297);
  --accent-foreground: oklch(0.856 0.006 131.144);
  --destructive: oklch(0.334 0.124 29.016);
  --destructive-foreground: oklch(0.82 0.088 22.516);
  --ring: oklch(0.329 0.005 255.032);
  --chart-1: oklch(0.329 0.005 255.032);
  --chart-2: oklch(0.328 0.007 349.303);
  --chart-3: oklch(0.336 0.008 131.297);
  --chart-4: oklch(0.357 0.008 349.318);
  --chart-5: oklch(0.328 0.009 255.083);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.11 0.014 246.154);
  --foreground: oklch(0.992 0.001 254.959);
  --muted: oklch(0.194 0.03 352.693);
  --muted-foreground: oklch(0.698 0.003 348.835);
  --popover: oklch(0.126 0.016 246.762);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.126 0.016 246.762);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.224 0.006 255.092);
  --input: oklch(0.224 0.006 255.092);
  --primary: oklch(0.329 0.005 255.032);
  --primary-foreground: oklch(0.852 0.004 254.977);
  --secondary: oklch(0.328 0.007 349.303);
  --secondary-foreground: oklch(0.851 0.005 348.891);
  --accent: oklch(0.336 0.008 131.297);
  --accent-foreground: oklch(0.856 0.006 131.144);
  --destructive: oklch(0.604 0.232 29.294);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.329 0.005 255.032);
  --chart-1: oklch(0.329 0.005 255.032);
  --chart-2: oklch(0.328 0.007 349.303);
  --chart-3: oklch(0.336 0.008 131.297);
  --chart-4: oklch(0.357 0.008 349.318);
  --chart-5: oklch(0.328 0.009 255.083);
}