Mambo for shadcn/ui

Mambo is a shadcn/ui theme built around a muted teal primary color (#b3c7bd) with muted orange accents (#c7bdb3). The light mode uses a neutral background (#fbfefc). Dark mode keeps the muted teal primary (#b3c7bd) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefcwhite
#000000black
Foreground
#000000black
#fbfdfcwhite
Card
#f7fcfamintcream
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#fbfefcwhite
#000000black
Popover foreground
#000000black
#fbfdfcwhite
Primary
#b3c7bdsilver
#b3c7bdsilver
Primary foreground
#1e2924darkslategray
#1e2924darkslategray
Secondary
#bdb3c7silver
#bdb3c7silver
Secondary foreground
#241e29black
#241e29black
Muted
#f2eef6whitesmoke
#0d0911black
Muted foreground
#403946darkslategray
#bfb9c6silver
Accent
#c7bdb3silver
#c7bdb3silver
Accent foreground
#29241eblack
#29241eblack
Destructive
#cc0700firebrick
#ff170fred
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b3c7bdsilver
#b3c7bdsilver

Contrast

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

Light mode
Text on background20.66:1AAA
Text on card20.32:1AAA
Primary button8.42:1AAA
Secondary button8.05:1AAA
Muted text9.71:1AAA
Accent8.31:1AAA
Destructive5.83:1AA
Dark mode
Text on background20.55:1AAA
Text on card20.67:1AAA
Primary button8.42:1AAA
Secondary button8.05:1AAA
Muted text10.32:1AAA
Accent8.31:1AAA
Destructive3.90:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 165.933);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.955 0.012 308.997);
  --muted-foreground: oklch(0.358 0.023 308.441);
  --popover: oklch(0.994 0.003 165.933);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.006 165.847);
  --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.811 0.025 165.152);
  --primary-foreground: oklch(0.269 0.018 164.116);
  --secondary: oklch(0.781 0.03 308.723);
  --secondary-foreground: oklch(0.248 0.021 308.214);
  --accent: oklch(0.803 0.018 69.42);
  --accent-foreground: oklch(0.264 0.013 69.1);
  --destructive: oklch(0.532 0.216 29.577);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.811 0.025 165.152);
  --chart-1: oklch(0.811 0.025 165.152);
  --chart-2: oklch(0.781 0.03 308.723);
  --chart-3: oklch(0.803 0.018 69.42);
  --chart-4: oklch(0.807 0.026 308.783);
  --chart-5: oklch(0.814 0.03 164.979);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.994 0.003 165.95);
  --muted: oklch(0.148 0.019 307.932);
  --muted-foreground: oklch(0.795 0.019 308.873);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.994 0.003 165.95);
  --card: oklch(0.092 0 180);
  --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.811 0.025 165.152);
  --primary-foreground: oklch(0.269 0.018 164.116);
  --secondary: oklch(0.781 0.03 308.723);
  --secondary-foreground: oklch(0.248 0.021 308.214);
  --accent: oklch(0.803 0.018 69.42);
  --accent-foreground: oklch(0.264 0.013 69.1);
  --destructive: oklch(0.633 0.252 29.23);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.811 0.025 165.152);
  --chart-1: oklch(0.811 0.025 165.152);
  --chart-2: oklch(0.781 0.03 308.723);
  --chart-3: oklch(0.803 0.018 69.42);
  --chart-4: oklch(0.807 0.026 308.783);
  --chart-5: oklch(0.814 0.03 164.979);
}