Mammoth for shadcn/ui

Mammoth is a shadcn/ui theme built around a light red primary color (#fbf0ee) with light orange accents (#fbf7ee). The light mode uses a neutral background (#ffffff). Dark mode keeps the light red primary (#fbf0ee) on a red-tinted background (#0d0807).

Color palette

TokenLightDark
Background
#ffffffwhite
#0d0807black
Foreground
#090201black
#f9f6f5whitesmoke
Card
#fcfcfcsnow
#110a09black
Card foreground
#050101black
#fbf9f9snow
Popover
#ffffffwhite
#0d0807black
Popover foreground
#090201black
#f9f6f5whitesmoke
Primary
#fbf0eeseashell
#fbf0eeseashell
Primary foreground
#973220brown
#973220brown
Secondary
#fbeef3lavenderblush
#fbeef3lavenderblush
Secondary foreground
#97204abrown
#97204abrown
Muted
#eed8e0gainsboro
#271119black
Muted foreground
#555354dimgray
#acaaabdarkgray
Accent
#fbf7eeseashell
#fbf7eeseashell
Accent foreground
#43310edarkolivegreen
#43310edarkolivegreen
Destructive
#932f0bsaddlebrown
#f06533tomato
Destructive foreground
#fcdfd4antiquewhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fbf0eeseashell
#fbf0eeseashell

Contrast

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

Light mode
Text on background20.57:1AAA
Text on card20.31:1AAA
Primary button6.74:1AA
Secondary button7.11:1AAA
Muted text5.63:1AA
Accent11.65:1AAA
Destructive6.26:1AA
Dark mode
Text on background18.50:1AAA
Text on card18.70:1AAA
Primary button6.74:1AA
Secondary button7.11:1AAA
Muted text7.70:1AAA
Accent11.65:1AAA
Destructive6.61:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.106 0.022 39.551);
  --muted: oklch(0.902 0.027 354.414);
  --muted-foreground: oklch(0.445 0.002 353.728);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.106 0.022 39.551);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.084 0.017 39.551);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.964 0.012 29.515);
  --primary-foreground: oklch(0.464 0.139 32.325);
  --secondary: oklch(0.961 0.016 354.035);
  --secondary-foreground: oklch(0.454 0.156 5.421);
  --accent: oklch(0.977 0.012 83.065);
  --accent-foreground: oklch(0.326 0.056 79.806);
  --destructive: oklch(0.451 0.141 37.662);
  --destructive-foreground: oklch(0.924 0.035 41.06);
  --ring: oklch(0.964 0.012 29.515);
  --chart-1: oklch(0.964 0.012 29.515);
  --chart-2: oklch(0.961 0.016 354.035);
  --chart-3: oklch(0.977 0.012 83.065);
  --chart-4: oklch(0.99 0.004 353.685);
  --chart-5: oklch(0.964 0.013 29.518);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.011 31.693);
  --foreground: oklch(0.975 0.004 29.481);
  --muted: oklch(0.213 0.039 358.618);
  --muted-foreground: oklch(0.74 0.002 353.655);
  --popover: oklch(0.141 0.011 31.693);
  --popover-foreground: oklch(0.975 0.004 29.481);
  --card: oklch(0.153 0.013 30.499);
  --card-foreground: oklch(0.984 0.002 29.476);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.964 0.012 29.515);
  --primary-foreground: oklch(0.464 0.139 32.325);
  --secondary: oklch(0.961 0.016 354.035);
  --secondary-foreground: oklch(0.454 0.156 5.421);
  --accent: oklch(0.977 0.012 83.065);
  --accent-foreground: oklch(0.326 0.056 79.806);
  --destructive: oklch(0.674 0.182 39.275);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.964 0.012 29.515);
  --chart-1: oklch(0.964 0.012 29.515);
  --chart-2: oklch(0.961 0.016 354.035);
  --chart-3: oklch(0.977 0.012 83.065);
  --chart-4: oklch(0.99 0.004 353.685);
  --chart-5: oklch(0.964 0.013 29.518);
}