Manatee for shadcn/ui

Manatee is a shadcn/ui theme built around a neutral gray primary color (#887d8c) with neutral gray accents (#8c7d89). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the neutral gray primary (#887d8c) on a neutral background (#030203).

Color palette

TokenLightDark
Background
#fdfbfewhite
#030203black
Foreground
#000000black
#fdfcfdwhite
Card
#fbf7fdghostwhite
#060307black
Card foreground
#000000black
#ffffffwhite
Popover
#fbf7fdghostwhite
#060307black
Popover foreground
#000000black
#ffffffwhite
Primary
#887d8cgray
#887d8cgray
Primary foreground
#000000black
#000000black
Secondary
#817d8cgray
#817d8cgray
Secondary foreground
#000000black
#000000black
Muted
#e3dff1lavender
#120e20black
Muted foreground
#424144darkslategray
#bcbbbesilver
Accent
#8c7d89gray
#8c7d89gray
Accent foreground
#000000black
#000000black
Destructive
#761f04maroon
#f75726tomato
Destructive foreground
#fcc2b0lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#887d8cgray
#887d8cgray

Contrast

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

Light mode
Text on background20.42:1AAA
Text on card19.85:1AAA
Primary button5.37:1AA
Secondary button5.25:1AA
Muted text7.79:1AAA
Accent5.41:1AA
Destructive6.85:1AA
Dark mode
Text on background20.26:1AAA
Text on card20.48:1AAA
Primary button5.37:1AA
Secondary button5.25:1AA
Muted text9.89:1AAA
Accent5.41:1AA
Destructive6.35:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.004 317.18);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.913 0.024 296.607);
  --muted-foreground: oklch(0.377 0.005 296.863);
  --popover: oklch(0.981 0.008 317.17);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.981 0.008 317.17);
  --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.605 0.025 317.094);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.598 0.022 296.403);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.607 0.024 333.872);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.379 0.126 35.793);
  --destructive-foreground: oklch(0.862 0.072 37.599);
  --ring: oklch(0.605 0.025 317.094);
  --chart-1: oklch(0.605 0.025 317.094);
  --chart-2: oklch(0.598 0.022 296.403);
  --chart-3: oklch(0.607 0.024 333.872);
  --chart-4: oklch(0.625 0.021 296.48);
  --chart-5: oklch(0.6 0.038 317.045);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.011 318.352);
  --foreground: oklch(0.991 0.003 317.183);
  --muted: oklch(0.18 0.035 293.237);
  --muted-foreground: oklch(0.795 0.004 296.994);
  --popover: oklch(0.109 0.014 318.352);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.109 0.014 318.352);
  --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.605 0.025 317.094);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.598 0.022 296.403);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.607 0.024 333.872);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.667 0.204 36.477);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.605 0.025 317.094);
  --chart-1: oklch(0.605 0.025 317.094);
  --chart-2: oklch(0.598 0.022 296.403);
  --chart-3: oklch(0.607 0.024 333.872);
  --chart-4: oklch(0.625 0.021 296.48);
  --chart-5: oklch(0.6 0.038 317.045);
}