Headquarters for shadcn/ui

Headquarters is a shadcn/ui theme built around a muted light teal primary color (#b8d1c7) with muted light orange accents (#d1c7b8). The light mode uses a neutral background (#f7fdfb). Dark mode keeps the muted light teal primary (#b8d1c7) on a teal-tinted background (#030c09).

Color palette

TokenLightDark
Background
#f7fdfbmintcream
#030c09black
Foreground
#010403black
#ffffffwhite
Card
#f7fdfbmintcream
#030c09black
Card foreground
#010403black
#ffffffwhite
Popover
#f7fdfbmintcream
#030c09black
Popover foreground
#010403black
#ffffffwhite
Primary
#b8d1c7silver
#b8d1c7silver
Primary foreground
#22342ddarkslategray
#22342ddarkslategray
Secondary
#c7b8d1thistle
#c7b8d1thistle
Secondary foreground
#2d2234darkslategray
#2d2234darkslategray
Muted
#ebe8edlavender
#151217black
Muted foreground
#695973dimgray
#9c8ca6darkgray
Accent
#d1c7b8silver
#d1c7b8silver
Accent foreground
#342d22darkslategray
#342d22darkslategray
Destructive
#b72110firebrick
#eb321eorangered
Destructive foreground
#fffbfasnow
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b8d1c7silver
#b8d1c7silver

Contrast

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

Light mode
Text on background19.96:1AAA
Text on card19.96:1AAA
Primary button8.11:1AAA
Secondary button8.06:1AAA
Muted text5.27:1AA
Accent8.14:1AAA
Destructive6.31:1AA
Dark mode
Text on background19.80:1AAA
Text on card19.80:1AAA
Primary button8.11:1AAA
Secondary button8.06:1AAA
Muted text5.94:1AA
Accent8.14:1AAA
Destructive4.17:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.007 171.396);
  --foreground: oklch(0.099 0.013 171.885);
  --muted: oklch(0.935 0.008 312.928);
  --muted-foreground: oklch(0.489 0.046 312.345);
  --popover: oklch(0.988 0.007 171.396);
  --popover-foreground: oklch(0.099 0.013 171.885);
  --card: oklch(0.988 0.007 171.396);
  --card-foreground: oklch(0.099 0.013 171.885);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.839 0.03 170.539);
  --primary-foreground: oklch(0.308 0.027 168.753);
  --secondary: oklch(0.803 0.038 312.665);
  --secondary-foreground: oklch(0.274 0.036 312.074);
  --accent: oklch(0.834 0.023 79.856);
  --accent-foreground: oklch(0.303 0.022 79.525);
  --destructive: oklch(0.504 0.187 30.52);
  --destructive-foreground: oklch(0.99 0.004 25.024);
  --ring: oklch(0.839 0.03 170.539);
  --chart-1: oklch(0.839 0.03 170.539);
  --chart-2: oklch(0.803 0.038 312.665);
  --chart-3: oklch(0.834 0.023 79.856);
  --chart-4: oklch(0.829 0.033 312.717);
  --chart-5: oklch(0.841 0.034 170.39);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.142 0.017 171.446);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.187 0.012 312.561);
  --muted-foreground: oklch(0.663 0.043 312.547);
  --popover: oklch(0.142 0.017 171.446);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.142 0.017 171.446);
  --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.839 0.03 170.539);
  --primary-foreground: oklch(0.308 0.027 168.753);
  --secondary: oklch(0.803 0.038 312.665);
  --secondary-foreground: oklch(0.274 0.036 312.074);
  --accent: oklch(0.834 0.023 79.856);
  --accent-foreground: oklch(0.303 0.022 79.525);
  --destructive: oklch(0.612 0.222 30.499);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.839 0.03 170.539);
  --chart-1: oklch(0.839 0.03 170.539);
  --chart-2: oklch(0.803 0.038 312.665);
  --chart-3: oklch(0.834 0.023 79.856);
  --chart-4: oklch(0.829 0.033 312.717);
  --chart-5: oklch(0.841 0.034 170.39);
}