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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.66:1 | AAA |
| Text on card | 20.32:1 | AAA |
| Primary button | 8.42:1 | AAA |
| Secondary button | 8.05:1 | AAA |
| Muted text | 9.71:1 | AAA |
| Accent | 8.31:1 | AAA |
| Destructive | 5.83:1 | AA |
| Text on background | 20.55:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 8.42:1 | AAA |
| Secondary button | 8.05:1 | AAA |
| Muted text | 10.32:1 | AAA |
| Accent | 8.31:1 | AAA |
| Destructive | 3.90:1 | AA Large |
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);
}