Mammoth is a shadcn/ui theme built around a vivid light teal primary color (#a8f9fa) with muted light teal accents (#e9eded). The light mode uses a neutral background (#fbfdfd). Dark mode keeps the vivid light teal primary (#a8f9fa) on a teal-tinted background (#030c0c).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfdwhite | #030c0cblack |
| Foreground | #020808black | #f6f9f9whitesmoke |
| Card | #f8fcfcmintcream | #041010black |
| Card foreground | #010404black | #f9fbfbghostwhite |
| Popover | #f8fcfcmintcream | #041010black |
| Popover foreground | #010404black | #f9fbfbghostwhite |
| Primary | #a8f9fapaleturquoise | #a8f9fapaleturquoise |
| Primary foreground | #01090ablack | #01090ablack |
| Secondary | #e9ededlavender | #1d2020black |
| Secondary foreground | #49595adarkslategray | #b5babasilver |
| Muted | #d7e0e0gainsboro | #1f2828darkslategray |
| Muted foreground | #5b6767dimgray | #98a4a4darkgray |
| Accent | #e9ededlavender | #1d2020black |
| Accent foreground | #49595adarkslategray | #b5babasilver |
| Destructive | #8d2202darkred | #fb4109orangered |
| Destructive foreground | #fed1c3peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a8f9fapaleturquoise | #a8f9fapaleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.83:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 16.79:1 | AAA |
| Secondary button | 6.20:1 | AA |
| Muted text | 4.35:1 | AA Large |
| Accent | 6.20:1 | AA |
| Destructive | 6.40:1 | AA |
| Text on background | 18.68:1 | AAA |
| Text on card | 18.61:1 | AAA |
| Primary button | 16.79:1 | AAA |
| Secondary button | 8.36:1 | AAA |
| Muted text | 5.86:1 | AA |
| Accent | 8.36:1 | AAA |
| Destructive | 3.57:1 | AA Large |
Paste this into your globals.css to use Mammoth in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 198.331);
--foreground: oklch(0.126 0.015 196.484);
--muted: oklch(0.899 0.01 198.199);
--muted-foreground: oklch(0.502 0.014 197.956);
--popover: oklch(0.988 0.004 198.299);
--popover-foreground: oklch(0.1 0.012 196.484);
--card: oklch(0.988 0.004 198.299);
--card-foreground: oklch(0.1 0.012 196.484);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.93 0.078 197.241);
--primary-foreground: oklch(0.13 0.02 195.923);
--secondary: oklch(0.942 0.004 198.294);
--secondary-foreground: oklch(0.452 0.02 197.738);
--accent: oklch(0.942 0.004 198.294);
--accent-foreground: oklch(0.452 0.02 197.738);
--destructive: oklch(0.425 0.146 35.208);
--destructive-foreground: oklch(0.895 0.055 37.592);
--ring: oklch(0.93 0.078 197.241);
--chart-1: oklch(0.93 0.078 197.241);
--chart-2: oklch(0.942 0.004 198.294);
--chart-3: oklch(0.942 0.004 198.294);
--chart-4: oklch(0.964 0.003 198.32);
--chart-5: oklch(0.932 0.08 197.216);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.016 196.673);
--foreground: oklch(0.979 0.003 198.316);
--muted: oklch(0.269 0.013 197.689);
--muted-foreground: oklch(0.709 0.013 198.092);
--popover: oklch(0.161 0.018 196.785);
--popover-foreground: oklch(0.986 0.002 198.331);
--card: oklch(0.161 0.018 196.785);
--card-foreground: oklch(0.986 0.002 198.331);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.93 0.078 197.241);
--primary-foreground: oklch(0.13 0.02 195.923);
--secondary: oklch(0.24 0.004 198.14);
--secondary-foreground: oklch(0.786 0.006 198.243);
--accent: oklch(0.24 0.004 198.14);
--accent-foreground: oklch(0.786 0.006 198.243);
--destructive: oklch(0.651 0.228 34.462);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.93 0.078 197.241);
--chart-1: oklch(0.93 0.078 197.241);
--chart-2: oklch(0.24 0.004 198.14);
--chart-3: oklch(0.24 0.004 198.14);
--chart-4: oklch(0.273 0.004 198.126);
--chart-5: oklch(0.932 0.08 197.216);
}