Mammoth is a shadcn/ui theme built around a neutral gray primary color (#b3bab0) with neutral gray accents (#b0bab2). The light mode uses a neutral background (#fcfdfb). Dark mode keeps the neutral gray primary (#b3bab0) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfbsnow | #000000black |
| Foreground | #020401black | #f9fbf8mintcream |
| Card | #f9fcf8mintcream | #030303black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #f9fcf8mintcream | #030303black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #b3bab0darkgray | #b3bab0darkgray |
| Primary foreground | #1b1e1ablack | #1b1e1ablack |
| Secondary | #b8bab0silver | #b8bab0silver |
| Secondary foreground | #1d1e1ablack | #1d1e1ablack |
| Muted | #e8ecdabeige | #212513black |
| Muted foreground | #525252darkslategray | #adadaddarkgray |
| Accent | #b0bab2darkgray | #b0bab2darkgray |
| Accent foreground | #1a1e1bblack | #1a1e1bblack |
| Destructive | #812008maroon | #f2542ctomato |
| Destructive foreground | #fbccc1pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b3bab0darkgray | #b3bab0darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 8.48:1 | AAA |
| Secondary button | 8.54:1 | AAA |
| Muted text | 6.49:1 | AA |
| Accent | 8.45:1 | AAA |
| Destructive | 6.72:1 | AA |
| Text on background | 20.18:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 8.48:1 | AAA |
| Secondary button | 8.54:1 | AAA |
| Muted text | 6.98:1 | AA |
| Accent | 8.45:1 | AAA |
| Destructive | 3.47: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.003 136.033);
--foreground: oklch(0.099 0.016 134.414);
--muted: oklch(0.935 0.024 116.051);
--muted-foreground: oklch(0.437 0 180);
--popover: oklch(0.988 0.006 136.044);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.988 0.006 136.044);
--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.781 0.017 136.099);
--primary-foreground: oklch(0.231 0.008 136.159);
--secondary: oklch(0.785 0.015 115.918);
--secondary-foreground: oklch(0.233 0.007 116.166);
--accent: oklch(0.779 0.016 151.689);
--accent-foreground: oklch(0.23 0.008 151.447);
--destructive: oklch(0.402 0.136 34.216);
--destructive-foreground: oklch(0.884 0.056 34.37);
--ring: oklch(0.781 0.017 136.099);
--chart-1: oklch(0.781 0.017 136.099);
--chart-2: oklch(0.785 0.015 115.918);
--chart-3: oklch(0.779 0.016 151.689);
--chart-4: oklch(0.808 0.013 115.873);
--chart-5: oklch(0.784 0.024 136.133);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.987 0.005 136.039);
--muted: oklch(0.255 0.032 117.933);
--muted-foreground: oklch(0.749 0 158.199);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.993 0.002 136.03);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.002 136.03);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.781 0.017 136.099);
--primary-foreground: oklch(0.231 0.008 136.159);
--secondary: oklch(0.785 0.015 115.918);
--secondary-foreground: oklch(0.233 0.007 116.166);
--accent: oklch(0.779 0.016 151.689);
--accent-foreground: oklch(0.23 0.008 151.447);
--destructive: oklch(0.654 0.201 34.871);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.781 0.017 136.099);
--chart-1: oklch(0.781 0.017 136.099);
--chart-2: oklch(0.785 0.015 115.918);
--chart-3: oklch(0.779 0.016 151.689);
--chart-4: oklch(0.808 0.013 115.873);
--chart-5: oklch(0.784 0.024 136.133);
}