Tall for shadcn/ui

Tall is a shadcn/ui theme built around a light teal primary color (#e9fafb) with light yellow accents (#fafbe9). The light mode uses a neutral background (#fbfefe). Dark mode keeps the light teal primary (#e9fafb) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefewhite
#000000black
Foreground
#020d0dblack
#f7f8f8whitesmoke
Card
#fbfefewhite
#000000black
Card foreground
#020d0dblack
#f7f8f8whitesmoke
Popover
#fbfefewhite
#000000black
Popover foreground
#020d0dblack
#f7f8f8whitesmoke
Primary
#e9fafbaliceblue
#e9fafbaliceblue
Primary foreground
#0c3f41darkslategray
#0c3f41darkslategray
Secondary
#fbe9falavenderblush
#fbe9falavenderblush
Secondary foreground
#971c93darkmagenta
#971c93darkmagenta
Muted
#ded3degainsboro
#2c212bdarkslategray
Muted foreground
#514d51darkslategray
#b2aeb2darkgray
Accent
#fafbe9oldlace
#fafbe9oldlace
Accent foreground
#3f410cdarkolivegreen
#3f410cdarkolivegreen
Destructive
#842c06saddlebrown
#f7733btomato
Destructive foreground
#fcd2bfpeachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e9fafbaliceblue
#e9fafbaliceblue

Contrast

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

Light mode
Text on background19.39:1AAA
Text on card19.39:1AAA
Primary button10.87:1AAA
Secondary button6.26:1AA
Muted text5.73:1AA
Accent10.17:1AAA
Destructive6.45:1AA
Dark mode
Text on background19.73:1AAA
Text on card19.73:1AAA
Primary button10.87:1AAA
Secondary button6.26:1AA
Muted text7.06:1AAA
Accent10.17:1AAA
Destructive7.48:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 199.566);
  --foreground: oklch(0.147 0.02 197.527);
  --muted: oklch(0.88 0.018 326.719);
  --muted-foreground: oklch(0.425 0.01 326.736);
  --popover: oklch(0.994 0.003 199.566);
  --popover-foreground: oklch(0.147 0.02 197.527);
  --card: oklch(0.994 0.003 199.566);
  --card-foreground: oklch(0.147 0.02 197.527);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.974 0.018 199.361);
  --primary-foreground: oklch(0.336 0.051 198.445);
  --secondary: oklch(0.954 0.029 326.803);
  --secondary-foreground: oklch(0.483 0.2 329.685);
  --accent: oklch(0.983 0.023 108.366);
  --accent-foreground: oklch(0.361 0.071 111.402);
  --destructive: oklch(0.42 0.129 39.298);
  --destructive-foreground: oklch(0.894 0.054 44.471);
  --ring: oklch(0.974 0.018 199.361);
  --chart-1: oklch(0.974 0.018 199.361);
  --chart-2: oklch(0.954 0.029 326.803);
  --chart-3: oklch(0.983 0.023 108.366);
  --chart-4: oklch(0.982 0.012 326.643);
  --chart-5: oklch(0.975 0.019 199.351);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.978 0.002 199.584);
  --muted: oklch(0.264 0.025 327.309);
  --muted-foreground: oklch(0.755 0.008 326.637);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.978 0.002 199.584);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.978 0.002 199.584);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.974 0.018 199.361);
  --primary-foreground: oklch(0.336 0.051 198.445);
  --secondary: oklch(0.954 0.029 326.803);
  --secondary-foreground: oklch(0.483 0.2 329.685);
  --accent: oklch(0.983 0.023 108.366);
  --accent-foreground: oklch(0.361 0.071 111.402);
  --destructive: oklch(0.705 0.176 42.058);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.974 0.018 199.361);
  --chart-1: oklch(0.974 0.018 199.361);
  --chart-2: oklch(0.954 0.029 326.803);
  --chart-3: oklch(0.983 0.023 108.366);
  --chart-4: oklch(0.982 0.012 326.643);
  --chart-5: oklch(0.975 0.019 199.351);
}