Overhead for shadcn/ui

Overhead is a shadcn/ui theme built around a vivid deep red primary color (#220402) with vivid deep cyan accents (#021f22). The light mode uses a neutral background (#fefbfb). Dark mode keeps the vivid deep red primary (#220402) on a neutral background (#080303).

Color palette

TokenLightDark
Background
#fefbfbsnow
#080303black
Foreground
#080202black
#ffffffwhite
Card
#fcf8f7snow
#0b0504black
Card foreground
#040101black
#ffffffwhite
Popover
#fefbfbsnow
#080303black
Popover foreground
#080202black
#ffffffwhite
Primary
#220402black
#220402black
Primary foreground
#f76b5etomato
#f76b5etomato
Secondary
#021f22black
#021f22black
Secondary foreground
#0bd3e5darkturquoise
#0bd3e5darkturquoise
Muted
#f1f3f4whitesmoke
#0b0e0eblack
Muted foreground
#374749darkslategray
#b6c7c8silver
Accent
#021f22black
#021f22black
Accent foreground
#0bd3e5darkturquoise
#0bd3e5darkturquoise
Destructive
#682303maroon
#f97234tomato
Destructive foreground
#fcbea1lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#220402black
#220402black

Contrast

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

Light mode
Text on background20.05:1AAA
Text on card19.71:1AAA
Primary button6.63:1AA
Secondary button9.35:1AAA
Muted text8.74:1AAA
Accent9.35:1AAA
Destructive7.11:1AAA
Dark mode
Text on background20.50:1AAA
Text on card20.26:1AAA
Primary button6.63:1AA
Secondary button9.35:1AAA
Muted text11.07:1AAA
Accent9.35:1AAA
Destructive7.49:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 23.605);
  --foreground: oklch(0.105 0.019 29.772);
  --muted: oklch(0.963 0.003 203.557);
  --muted-foreground: oklch(0.385 0.021 203.192);
  --popover: oklch(0.991 0.002 23.605);
  --popover-foreground: oklch(0.105 0.019 29.772);
  --card: oklch(0.982 0.005 23.629);
  --card-foreground: oklch(0.083 0.015 29.772);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.17 0.054 32.604);
  --primary-foreground: oklch(0.698 0.175 27.657);
  --secondary: oklch(0.22 0.036 203.426);
  --secondary-foreground: oklch(0.791 0.134 205.911);
  --accent: oklch(0.22 0.036 203.426);
  --accent-foreground: oklch(0.791 0.134 205.911);
  --destructive: oklch(0.357 0.106 41.084);
  --destructive-foreground: oklch(0.851 0.082 45.97);
  --ring: oklch(0.17 0.054 32.604);
  --chart-1: oklch(0.17 0.054 32.604);
  --chart-2: oklch(0.22 0.036 203.426);
  --chart-3: oklch(0.22 0.036 203.426);
  --chart-4: oklch(0.271 0.044 204.168);
  --chart-5: oklch(0.17 0.056 33.237);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.108 0.014 27.528);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.16 0.004 203.376);
  --muted-foreground: oklch(0.817 0.018 203.391);
  --popover: oklch(0.108 0.014 27.528);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.124 0.016 27.491);
  --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.17 0.054 32.604);
  --primary-foreground: oklch(0.698 0.175 27.657);
  --secondary: oklch(0.22 0.036 203.426);
  --secondary-foreground: oklch(0.791 0.134 205.911);
  --accent: oklch(0.22 0.036 203.426);
  --accent-foreground: oklch(0.791 0.134 205.911);
  --destructive: oklch(0.705 0.18 42.934);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.17 0.054 32.604);
  --chart-1: oklch(0.17 0.054 32.604);
  --chart-2: oklch(0.22 0.036 203.426);
  --chart-3: oklch(0.22 0.036 203.426);
  --chart-4: oklch(0.271 0.044 204.168);
  --chart-5: oklch(0.17 0.056 33.237);
}