gruvboxConcoctis dark hard for shadcn/ui

gruvboxConcoctis dark hard is a shadcn/ui theme built around a muted orange primary color (#7d6f64) with neutral gray accents (#474747). The light mode uses a neutral background (#212121). Dark mode keeps the muted orange primary (#7d6f64) on a neutral background (#212121).

Color palette

TokenLightDark
Background
#212121black
#212121black
Foreground
#d3bd97tan
#d3bd97tan
Card
#1c1c1cblack
#1c1c1cblack
Card foreground
#dbc8a9wheat
#dbc8a9wheat
Popover
#1a1a1ablack
#1a1a1ablack
Popover foreground
#e2d4bbwheat
#e2d4bbwheat
Primary
#7d6f64dimgray
#7d6f64dimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#c0bfbfsilver
#c0bfbfsilver
Secondary foreground
#272626darkslategray
#272626darkslategray
Muted
#312626darkslategray
#312626darkslategray
Muted foreground
#b5a1a1darkgray
#b5a1a1darkgray
Accent
#474747darkslategray
#474747darkslategray
Accent foreground
#e0e0e0gainsboro
#e0e0e0gainsboro
Destructive
#fe2b06orangered
#fe2b06orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#2e2e2edarkslategray
#2e2e2edarkslategray
Input
#363636darkslategray
#363636darkslategray
Ring
#7d6f64dimgray
#7d6f64dimgray

Contrast

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

Light mode
Text on background8.79:1AAA
Text on card10.41:1AAA
Primary button4.83:1AA
Secondary button8.23:1AAA
Muted text5.97:1AA
Accent6.99:1AA
Destructive3.77:1AA Large
Dark mode
Text on background8.79:1AAA
Text on card10.41:1AAA
Primary button4.83:1AA
Secondary button8.23:1AAA
Muted text5.97:1AA
Accent6.99:1AA
Destructive3.77:1AA Large

CSS variables

Paste this into your globals.css to use gruvboxConcoctis dark hard in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.248 0 173.29);
  --foreground: oklch(0.808 0.057 81.216);
  --muted: oklch(0.281 0.016 18.127);
  --muted-foreground: oklch(0.726 0.024 17.712);
  --popover: oklch(0.216 0 180);
  --popover-foreground: oklch(0.875 0.037 81.421);
  --card: oklch(0.227 0 164.055);
  --card-foreground: oklch(0.841 0.047 81.34);
  --border: oklch(0.301 0 189.462);
  --input: oklch(0.331 0 180);
  --primary: oklch(0.552 0.024 63.506);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.806 0.001 64.072);
  --secondary-foreground: oklch(0.27 0.001 64.048);
  --accent: oklch(0.399 0 180);
  --accent-foreground: oklch(0.908 0 180);
  --destructive: oklch(0.64 0.244 31.413);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.552 0.024 63.506);
  --chart-1: oklch(0.552 0.024 63.506);
  --chart-2: oklch(0.806 0.001 64.072);
  --chart-3: oklch(0.399 0 180);
  --chart-4: oklch(0.83 0.001 64.074);
  --chart-5: oklch(0.554 0.031 63.329);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.248 0 173.29);
  --foreground: oklch(0.808 0.057 81.216);
  --muted: oklch(0.281 0.016 18.127);
  --muted-foreground: oklch(0.726 0.024 17.712);
  --popover: oklch(0.216 0 180);
  --popover-foreground: oklch(0.875 0.037 81.421);
  --card: oklch(0.227 0 164.055);
  --card-foreground: oklch(0.841 0.047 81.34);
  --border: oklch(0.301 0 189.462);
  --input: oklch(0.331 0 180);
  --primary: oklch(0.552 0.024 63.506);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.806 0.001 64.072);
  --secondary-foreground: oklch(0.27 0.001 64.048);
  --accent: oklch(0.399 0 180);
  --accent-foreground: oklch(0.908 0 180);
  --destructive: oklch(0.64 0.244 31.413);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.552 0.024 63.506);
  --chart-1: oklch(0.552 0.024 63.506);
  --chart-2: oklch(0.806 0.001 64.072);
  --chart-3: oklch(0.399 0 180);
  --chart-4: oklch(0.83 0.001 64.074);
  --chart-5: oklch(0.554 0.031 63.329);
}