Airman for shadcn/ui

Airman is a shadcn/ui theme built around a muted deep teal primary color (#080c0b) with muted deep yellow accents (#0c0b08). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted deep teal primary (#080c0b) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefdwhite
#000000black
Foreground
#061310black
#ffffffwhite
Card
#fbfefdwhite
#000000black
Card foreground
#061310black
#ffffffwhite
Popover
#fbfefdwhite
#000000black
Popover foreground
#061310black
#ffffffwhite
Primary
#080c0bblack
#080c0bblack
Primary foreground
#94b3acdarkgray
#94b3acdarkgray
Secondary
#0b080cblack
#0b080cblack
Secondary foreground
#ac94b3darkgray
#ac94b3darkgray
Muted
#ebe3edlavender
#1a121cblack
Muted foreground
#4e4252darkslategray
#b9adbdsilver
Accent
#0c0b08black
#0c0b08black
Accent foreground
#b3ac94darkgray
#b3ac94darkgray
Destructive
#9e3e0asaddlebrown
#f05e0forangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#080c0bblack
#080c0bblack

Contrast

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

Light mode
Text on background18.68:1AAA
Text on card18.68:1AAA
Primary button8.70:1AAA
Secondary button7.23:1AAA
Muted text7.52:1AAA
Accent8.65:1AAA
Destructive6.66:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button8.70:1AAA
Secondary button7.23:1AAA
Muted text8.52:1AAA
Accent8.65:1AAA
Destructive6.29:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.004 180.853);
  --foreground: oklch(0.174 0.02 177.622);
  --muted: oklch(0.925 0.015 318.314);
  --muted-foreground: oklch(0.397 0.031 318.25);
  --popover: oklch(0.995 0.004 180.853);
  --popover-foreground: oklch(0.174 0.02 177.622);
  --card: oklch(0.995 0.004 180.853);
  --card-foreground: oklch(0.174 0.02 177.622);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.15 0.006 180.101);
  --primary-foreground: oklch(0.741 0.036 179.535);
  --secondary: oklch(0.142 0.009 318.444);
  --secondary-foreground: oklch(0.697 0.052 318.254);
  --accent: oklch(0.15 0.006 93.36);
  --accent-foreground: oklch(0.742 0.034 93.035);
  --destructive: oklch(0.49 0.14 42.812);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.15 0.006 180.101);
  --chart-1: oklch(0.15 0.006 180.101);
  --chart-2: oklch(0.142 0.009 318.444);
  --chart-3: oklch(0.15 0.006 93.36);
  --chart-4: oklch(0.176 0.014 318.247);
  --chart-5: oklch(0.15 0.007 179.971);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.197 0.022 318.21);
  --muted-foreground: oklch(0.763 0.027 318.295);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.15 0.006 180.101);
  --primary-foreground: oklch(0.741 0.036 179.535);
  --secondary: oklch(0.142 0.009 318.444);
  --secondary-foreground: oklch(0.697 0.052 318.254);
  --accent: oklch(0.15 0.006 93.36);
  --accent-foreground: oklch(0.742 0.034 93.035);
  --destructive: oklch(0.662 0.195 42.02);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.15 0.006 180.101);
  --chart-1: oklch(0.15 0.006 180.101);
  --chart-2: oklch(0.142 0.009 318.444);
  --chart-3: oklch(0.15 0.006 93.36);
  --chart-4: oklch(0.176 0.014 318.247);
  --chart-5: oklch(0.15 0.007 179.971);
}