Lost for shadcn/ui

Lost is a shadcn/ui theme built around a vivid teal primary color (#65f6e5) with vivid blue accents (#65bef6). The light mode uses a neutral background (#fbfefe). Dark mode keeps the vivid teal primary (#65f6e5) on a neutral background (#010404).

Color palette

TokenLightDark
Background
#fbfefewhite
#010404black
Foreground
#020d0cblack
#ffffffwhite
Card
#f6fdfdmintcream
#020807black
Card foreground
#020908black
#ffffffwhite
Popover
#f6fdfdmintcream
#020807black
Popover foreground
#020908black
#ffffffwhite
Primary
#65f6e5aquamarine
#65f6e5aquamarine
Primary foreground
#022722black
#022722black
Secondary
#65f69cmediumaquamarine
#65f69cmediumaquamarine
Secondary foreground
#022710black
#022710black
Muted
#dee7e2gainsboro
#18211bblack
Muted foreground
#636965dimgray
#969c98darkgray
Accent
#65bef6lightskyblue
#65bef6lightskyblue
Accent foreground
#021927black
#021927black
Destructive
#9e2f00saddlebrown
#ff4d00orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#65f6e5aquamarine
#65f6e5aquamarine

Contrast

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

Light mode
Text on background19.45:1AAA
Text on card19.56:1AAA
Primary button12.05:1AAA
Secondary button11.70:1AAA
Muted text4.46:1AA Large
Accent8.77:1AAA
Destructive7.31:1AAA
Dark mode
Text on background20.58:1AAA
Text on card20.19:1AAA
Primary button12.05:1AAA
Secondary button11.70:1AAA
Muted text5.92:1AA
Accent8.77:1AAA
Destructive3.33:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.004 188.819);
  --foreground: oklch(0.146 0.019 187.367);
  --muted: oklch(0.921 0.012 159.174);
  --muted-foreground: oklch(0.514 0.01 159.05);
  --popover: oklch(0.99 0.008 188.727);
  --popover-foreground: oklch(0.127 0.017 188.164);
  --card: oklch(0.99 0.008 188.727);
  --card-foreground: oklch(0.127 0.017 188.164);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.89 0.127 184.607);
  --primary-foreground: oklch(0.244 0.041 183.622);
  --secondary: oklch(0.872 0.177 153.385);
  --secondary-foreground: oklch(0.239 0.059 152.252);
  --accent: oklch(0.769 0.117 238.188);
  --accent-foreground: oklch(0.202 0.041 238.184);
  --destructive: oklch(0.471 0.154 38.099);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.89 0.127 184.607);
  --chart-1: oklch(0.89 0.127 184.607);
  --chart-2: oklch(0.872 0.177 153.385);
  --chart-3: oklch(0.769 0.117 238.188);
  --chart-4: oklch(0.881 0.163 154.139);
  --chart-5: oklch(0.896 0.13 184.484);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.01 188.308);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.235 0.017 157.77);
  --muted-foreground: oklch(0.687 0.009 159.178);
  --popover: oklch(0.124 0.013 188.308);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.124 0.013 188.308);
  --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.89 0.127 184.607);
  --primary-foreground: oklch(0.244 0.041 183.622);
  --secondary: oklch(0.872 0.177 153.385);
  --secondary-foreground: oklch(0.239 0.059 152.252);
  --accent: oklch(0.769 0.117 238.188);
  --accent-foreground: oklch(0.202 0.041 238.184);
  --destructive: oklch(0.667 0.224 36.881);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.89 0.127 184.607);
  --chart-1: oklch(0.89 0.127 184.607);
  --chart-2: oklch(0.872 0.177 153.385);
  --chart-3: oklch(0.769 0.117 238.188);
  --chart-4: oklch(0.881 0.163 154.139);
  --chart-5: oklch(0.896 0.13 184.484);
}