Expedition for shadcn/ui

Expedition is a shadcn/ui theme built around a vivid light teal primary color (#bdffea) with vivid light pink accents (#ffbdd2). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the vivid light teal primary (#bdffea) on a teal-tinted background (#040b09).

Color palette

TokenLightDark
Background
#f8fcfbmintcream
#040b09black
Foreground
#050f0cblack
#f8fcfbmintcream
Card
#f8fcfbmintcream
#040b09black
Card foreground
#050f0cblack
#f8fcfbmintcream
Popover
#f8fcfbmintcream
#040b09black
Popover foreground
#050f0cblack
#f8fcfbmintcream
Primary
#bdffeapaleturquoise
#bdffeapaleturquoise
Primary foreground
#002418black
#002418black
Secondary
#ffbdd2pink
#ffbdd2pink
Secondary foreground
#8a002cdarkred
#8a002cdarkred
Muted
#efe1e6mistyrose
#1e1014black
Muted foreground
#5a4e52dimgray
#b1a5a9darkgray
Accent
#ffbdd2pink
#ffbdd2pink
Accent foreground
#8a002cdarkred
#8a002cdarkred
Destructive
#ae1304firebrick
#fa3b29orangered
Destructive foreground
#fee8e6mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#bdffeapaleturquoise
#bdffeapaleturquoise

Contrast

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

Light mode
Text on background18.79:1AAA
Text on card18.79:1AAA
Primary button14.73:1AAA
Secondary button6.34:1AA
Muted text6.27:1AA
Accent6.34:1AA
Destructive6.18:1AA
Dark mode
Text on background19.18:1AAA
Text on card19.18:1AAA
Primary button14.73:1AAA
Secondary button6.34:1AA
Muted text7.74:1AAA
Accent6.34:1AA
Destructive3.68:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.005 175.472);
  --foreground: oklch(0.158 0.018 173.381);
  --muted: oklch(0.922 0.016 356.114);
  --muted-foreground: oklch(0.438 0.017 356.691);
  --popover: oklch(0.988 0.005 175.472);
  --popover-foreground: oklch(0.158 0.018 173.381);
  --card: oklch(0.988 0.005 175.472);
  --card-foreground: oklch(0.158 0.018 173.381);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.95 0.072 173.168);
  --primary-foreground: oklch(0.23 0.047 167.527);
  --secondary: oklch(0.864 0.08 358.18);
  --secondary-foreground: oklch(0.402 0.161 14.57);
  --accent: oklch(0.864 0.08 358.18);
  --accent-foreground: oklch(0.402 0.161 14.57);
  --destructive: oklch(0.478 0.187 30.164);
  --destructive-foreground: oklch(0.949 0.024 23.849);
  --ring: oklch(0.95 0.072 173.168);
  --chart-1: oklch(0.95 0.072 173.168);
  --chart-2: oklch(0.864 0.08 358.18);
  --chart-3: oklch(0.864 0.08 358.18);
  --chart-4: oklch(0.894 0.061 357.51);
  --chart-5: oklch(0.952 0.074 173.095);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.015 175.514);
  --foreground: oklch(0.987 0.005 175.479);
  --muted: oklch(0.194 0.024 359.057);
  --muted-foreground: oklch(0.733 0.015 356.183);
  --popover: oklch(0.141 0.015 175.514);
  --popover-foreground: oklch(0.987 0.005 175.479);
  --card: oklch(0.141 0.015 175.514);
  --card-foreground: oklch(0.987 0.005 175.479);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.95 0.072 173.168);
  --primary-foreground: oklch(0.23 0.047 167.527);
  --secondary: oklch(0.864 0.08 358.18);
  --secondary-foreground: oklch(0.402 0.161 14.57);
  --accent: oklch(0.864 0.08 358.18);
  --accent-foreground: oklch(0.402 0.161 14.57);
  --destructive: oklch(0.644 0.228 29.821);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.95 0.072 173.168);
  --chart-1: oklch(0.95 0.072 173.168);
  --chart-2: oklch(0.864 0.08 358.18);
  --chart-3: oklch(0.864 0.08 358.18);
  --chart-4: oklch(0.894 0.061 357.51);
  --chart-5: oklch(0.952 0.074 173.095);
}