Aircraft for shadcn/ui

Aircraft is a shadcn/ui theme built around a light teal primary color (#afd8da) with light yellow accents (#d8daaf). The light mode uses a neutral background (#ffffff). Dark mode keeps the light teal primary (#afd8da) on a teal-tinted background (#050a0b).

Color palette

TokenLightDark
Background
#ffffffwhite
#050a0bblack
Foreground
#030c0dblack
#fcfdfdwhite
Card
#ffffffwhite
#050a0bblack
Card foreground
#030c0dblack
#fcfdfdwhite
Popover
#ffffffwhite
#050a0bblack
Popover foreground
#030c0dblack
#fcfdfdwhite
Primary
#afd8dalightblue
#afd8dalightblue
Primary foreground
#1b3a3bdarkslategray
#1b3a3bdarkslategray
Secondary
#daafd8plum
#daafd8plum
Secondary foreground
#3b1b3adarkslategray
#3b1b3adarkslategray
Muted
#ecd5ebgainsboro
#2a1329black
Muted foreground
#6c516adimgray
#ae93addarkgray
Accent
#d8daafpalegoldenrod
#d8daafpalegoldenrod
Accent foreground
#3a3b1bdarkslategray
#3a3b1bdarkslategray
Destructive
#bf370dfirebrick
#f16237tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#afd8dalightblue
#afd8dalightblue

Contrast

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

Light mode
Text on background19.76:1AAA
Text on card19.76:1AAA
Primary button7.95:1AAA
Secondary button7.89:1AAA
Muted text5.05:1AA
Accent7.99:1AAA
Destructive5.59:1AA
Dark mode
Text on background19.52:1AAA
Text on card19.52:1AAA
Primary button7.95:1AAA
Secondary button7.89:1AAA
Muted text6.18:1AA
Accent7.99:1AAA
Destructive6.55:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.144 0.018 198.907);
  --muted: oklch(0.898 0.038 327.421);
  --muted-foreground: oklch(0.472 0.052 327.998);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.144 0.018 198.907);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.144 0.018 198.907);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.853 0.043 200.34);
  --primary-foreground: oklch(0.325 0.036 199.981);
  --secondary: oklch(0.805 0.074 327.856);
  --secondary-foreground: oklch(0.282 0.069 329.07);
  --accent: oklch(0.876 0.057 109.891);
  --accent-foreground: oklch(0.344 0.05 111.283);
  --destructive: oklch(0.537 0.179 35.427);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.853 0.043 200.34);
  --chart-1: oklch(0.853 0.043 200.34);
  --chart-2: oklch(0.805 0.074 327.856);
  --chart-3: oklch(0.876 0.057 109.891);
  --chart-4: oklch(0.83 0.064 327.728);
  --chart-5: oklch(0.856 0.047 200.307);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.011 199.41);
  --foreground: oklch(0.993 0.001 200.876);
  --muted: oklch(0.23 0.052 328.912);
  --muted-foreground: oklch(0.696 0.047 327.643);
  --popover: oklch(0.139 0.011 199.41);
  --popover-foreground: oklch(0.993 0.001 200.876);
  --card: oklch(0.139 0.011 199.41);
  --card-foreground: oklch(0.993 0.001 200.876);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.853 0.043 200.34);
  --primary-foreground: oklch(0.325 0.036 199.981);
  --secondary: oklch(0.805 0.074 327.856);
  --secondary-foreground: oklch(0.282 0.069 329.07);
  --accent: oklch(0.876 0.057 109.891);
  --accent-foreground: oklch(0.344 0.05 111.283);
  --destructive: oklch(0.672 0.186 37.151);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.853 0.043 200.34);
  --chart-1: oklch(0.853 0.043 200.34);
  --chart-2: oklch(0.805 0.074 327.856);
  --chart-3: oklch(0.876 0.057 109.891);
  --chart-4: oklch(0.83 0.064 327.728);
  --chart-5: oklch(0.856 0.047 200.307);
}