Mammoth for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

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

Light mode
Text on background19.83:1AAA
Text on card19.88:1AAA
Primary button16.79:1AAA
Secondary button6.20:1AA
Muted text4.35:1AA Large
Accent6.20:1AA
Destructive6.40:1AA
Dark mode
Text on background18.68:1AAA
Text on card18.61:1AAA
Primary button16.79:1AAA
Secondary button8.36:1AAA
Muted text5.86:1AA
Accent8.36:1AAA
Destructive3.57:1AA Large

CSS variables

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);
}