Itinerary for shadcn/ui

Itinerary is a shadcn/ui theme built around a deep teal primary color (#070d0b) with deep cyan accents (#070c0d). The light mode uses a neutral background (#f7fdfb). Dark mode keeps the deep teal primary (#070d0b) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f7fdfbmintcream
#000000black
Foreground
#020d0ablack
#f9fbfamintcream
Card
#f3fcf9mintcream
#030303black
Card foreground
#010906black
#fcfdfdwhite
Popover
#f3fcf9mintcream
#030303black
Popover foreground
#010906black
#fcfdfdwhite
Primary
#070d0bblack
#070d0bblack
Primary foreground
#86c1aedarkseagreen
#86c1aedarkseagreen
Secondary
#070d08black
#070d08black
Secondary foreground
#86c191darkseagreen
#86c191darkseagreen
Muted
#e7eee9lavender
#111812black
Muted foreground
#3f4640darkslategray
#b9c0bbsilver
Accent
#070c0dblack
#070c0dblack
Accent foreground
#86b6c1darkgray
#86b6c1darkgray
Destructive
#651b01maroon
#fe4c0borangered
Destructive foreground
#feb49aburlywood
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#070d0bblack
#070d0bblack

Contrast

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

Light mode
Text on background19.13:1AAA
Text on card19.23:1AAA
Primary button9.54:1AAA
Secondary button9.37:1AAA
Muted text8.23:1AAA
Accent8.86:1AAA
Destructive7.09:1AAA
Dark mode
Text on background20.20:1AAA
Text on card20.29:1AAA
Primary button9.54:1AAA
Secondary button9.37:1AAA
Muted text9.75:1AAA
Accent8.86:1AAA
Destructive3.36:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.007 175.421);
  --foreground: oklch(0.146 0.021 174.863);
  --muted: oklch(0.942 0.01 151.256);
  --muted-foreground: oklch(0.385 0.013 150.93);
  --popover: oklch(0.983 0.01 175.321);
  --popover-foreground: oklch(0.126 0.018 175.872);
  --card: oklch(0.983 0.01 175.321);
  --card-foreground: oklch(0.126 0.018 175.872);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.153 0.012 174.115);
  --primary-foreground: oklch(0.764 0.067 172.735);
  --secondary: oklch(0.152 0.016 150.504);
  --secondary-foreground: oklch(0.756 0.092 149.493);
  --accent: oklch(0.15 0.009 212.044);
  --accent-foreground: oklch(0.745 0.053 213.07);
  --destructive: oklch(0.342 0.111 38.01);
  --destructive-foreground: oklch(0.835 0.094 40.814);
  --ring: oklch(0.153 0.012 174.115);
  --chart-1: oklch(0.153 0.012 174.115);
  --chart-2: oklch(0.152 0.016 150.504);
  --chart-3: oklch(0.15 0.009 212.044);
  --chart-4: oklch(0.193 0.025 149.34);
  --chart-5: oklch(0.154 0.013 173.991);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.002 175.561);
  --muted: oklch(0.199 0.014 150.31);
  --muted-foreground: oklch(0.801 0.01 151.219);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.993 0.001 175.588);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0.001 175.588);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.153 0.012 174.115);
  --primary-foreground: oklch(0.764 0.067 172.735);
  --secondary: oklch(0.152 0.016 150.504);
  --secondary-foreground: oklch(0.756 0.092 149.493);
  --accent: oklch(0.15 0.009 212.044);
  --accent-foreground: oklch(0.745 0.053 213.07);
  --destructive: oklch(0.665 0.222 36.248);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.153 0.012 174.115);
  --chart-1: oklch(0.153 0.012 174.115);
  --chart-2: oklch(0.152 0.016 150.504);
  --chart-3: oklch(0.15 0.009 212.044);
  --chart-4: oklch(0.193 0.025 149.34);
  --chart-5: oklch(0.154 0.013 173.991);
}