Manatee for shadcn/ui

Manatee is a shadcn/ui theme built around a vivid violet primary color (#9b04e7) with vivid green accents (#4fe704). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid violet primary (#9b04e7) on a violet-tinted background (#0c060e).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c060eblack
Foreground
#000000black
#faf9fasnow
Card
#ffffffwhite
#0c060eblack
Card foreground
#000000black
#faf9fasnow
Popover
#ffffffwhite
#0c060eblack
Popover foreground
#000000black
#faf9fasnow
Primary
#9b04e7darkviolet
#9b04e7darkviolet
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#4fe704lawngreen
#4fe704lawngreen
Secondary foreground
#0a1e00black
#0a1e00black
Muted
#f2f3f1whitesmoke
#0c0e0cblack
Muted foreground
#424c3ddarkslategray
#b8c2b3silver
Accent
#4fe704lawngreen
#4fe704lawngreen
Accent foreground
#0a1e00black
#0a1e00black
Destructive
#7a0b05maroon
#f0150ared
Destructive foreground
#fcb9b6lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#9b04e7darkviolet
#9b04e7darkviolet

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button5.88:1AA
Secondary button10.65:1AAA
Muted text8.09:1AAA
Accent10.65:1AAA
Destructive6.77:1AA
Dark mode
Text on background19.09:1AAA
Text on card19.09:1AAA
Primary button5.88:1AA
Secondary button10.65:1AAA
Muted text10.53:1AAA
Accent10.65:1AAA
Destructive4.35:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.963 0.003 134.841);
  --muted-foreground: oklch(0.404 0.028 135.188);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --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.542 0.277 307.479);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.815 0.259 139.581);
  --secondary-foreground: oklch(0.211 0.061 135.441);
  --accent: oklch(0.815 0.259 139.581);
  --accent-foreground: oklch(0.211 0.061 135.441);
  --destructive: oklch(0.371 0.144 29.542);
  --destructive-foreground: oklch(0.847 0.078 22.259);
  --ring: oklch(0.542 0.277 307.479);
  --chart-1: oklch(0.542 0.277 307.479);
  --chart-2: oklch(0.815 0.259 139.581);
  --chart-3: oklch(0.815 0.259 139.581);
  --chart-4: oklch(0.854 0.272 139.619);
  --chart-5: oklch(0.546 0.28 307.139);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.022 314.969);
  --foreground: oklch(0.984 0.002 314.819);
  --muted: oklch(0.16 0.004 134.958);
  --muted-foreground: oklch(0.801 0.024 134.976);
  --popover: oklch(0.136 0.022 314.969);
  --popover-foreground: oklch(0.984 0.002 314.819);
  --card: oklch(0.136 0.022 314.969);
  --card-foreground: oklch(0.984 0.002 314.819);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.542 0.277 307.479);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.815 0.259 139.581);
  --secondary-foreground: oklch(0.211 0.061 135.441);
  --accent: oklch(0.815 0.259 139.581);
  --accent-foreground: oklch(0.211 0.061 135.441);
  --destructive: oklch(0.605 0.241 29.5);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.542 0.277 307.479);
  --chart-1: oklch(0.542 0.277 307.479);
  --chart-2: oklch(0.815 0.259 139.581);
  --chart-3: oklch(0.815 0.259 139.581);
  --chart-4: oklch(0.854 0.272 139.619);
  --chart-5: oklch(0.546 0.28 307.139);
}