Antennae for shadcn/ui

Antennae is a shadcn/ui theme built around a muted light green primary color (#dee3d9) with muted light pink accents (#e3d9de). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#dee3d9) on a neutral background (#050703).

Color palette

TokenLightDark
Background
#ffffffwhite
#050703black
Foreground
#000000black
#f7faf4whitesmoke
Card
#fcfcfcsnow
#080a05black
Card foreground
#000000black
#fafcf8snow
Popover
#fcfcfcsnow
#080a05black
Popover foreground
#000000black
#fafcf8snow
Primary
#dee3d9gainsboro
#dee3d9gainsboro
Primary foreground
#454f3bdarkslategray
#454f3bdarkslategray
Secondary
#d9dee3gainsboro
#d9dee3gainsboro
Secondary foreground
#3b454fdarkslategray
#3b454fdarkslategray
Muted
#cddbeagainsboro
#152332darkslategray
Muted foreground
#596169dimgray
#969ea6darkgray
Accent
#e3d9degainsboro
#e3d9degainsboro
Accent foreground
#4f3b45darkslategray
#4f3b45darkslategray
Destructive
#c62306firebrick
#ed2a07orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dee3d9gainsboro
#dee3d9gainsboro

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button6.59:1AA
Secondary button7.19:1AAA
Muted text4.46:1AA Large
Accent7.44:1AAA
Destructive5.76:1AA
Dark mode
Text on background19.21:1AAA
Text on card19.25:1AAA
Primary button6.59:1AA
Secondary button7.19:1AAA
Muted text5.85:1AA
Accent7.44:1AAA
Destructive4.24:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.885 0.025 249.906);
  --muted-foreground: oklch(0.488 0.016 249.941);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.909 0.014 129.295);
  --primary-foreground: oklch(0.412 0.036 130.1);
  --secondary: oklch(0.897 0.009 249.741);
  --secondary-foreground: oklch(0.384 0.022 250.158);
  --accent: oklch(0.894 0.013 346.389);
  --accent-foreground: oklch(0.377 0.033 348.215);
  --destructive: oklch(0.533 0.2 31.661);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.909 0.014 129.295);
  --chart-1: oklch(0.909 0.014 129.295);
  --chart-2: oklch(0.897 0.009 249.741);
  --chart-3: oklch(0.894 0.013 346.389);
  --chart-4: oklch(0.921 0.007 249.718);
  --chart-5: oklch(0.91 0.017 129.328);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.012 128.367);
  --foreground: oklch(0.982 0.009 129.22);
  --muted: oklch(0.252 0.034 250.885);
  --muted-foreground: oklch(0.695 0.015 249.841);
  --popover: oklch(0.14 0.014 128.367);
  --popover-foreground: oklch(0.988 0.006 129.188);
  --card: oklch(0.14 0.014 128.367);
  --card-foreground: oklch(0.988 0.006 129.188);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.909 0.014 129.295);
  --primary-foreground: oklch(0.412 0.036 130.1);
  --secondary: oklch(0.897 0.009 249.741);
  --secondary-foreground: oklch(0.384 0.022 250.158);
  --accent: oklch(0.894 0.013 346.389);
  --accent-foreground: oklch(0.377 0.033 348.215);
  --destructive: oklch(0.609 0.231 31.515);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.909 0.014 129.295);
  --chart-1: oklch(0.909 0.014 129.295);
  --chart-2: oklch(0.897 0.009 249.741);
  --chart-3: oklch(0.894 0.013 346.389);
  --chart-4: oklch(0.921 0.007 249.718);
  --chart-5: oklch(0.91 0.017 129.328);
}