Animal for shadcn/ui

Animal is a shadcn/ui theme built around a muted pink primary color (#a35c75) with muted blue accents (#5c75a3). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the muted pink primary (#a35c75) on a pink-tinted background (#0e0609).

Color palette

TokenLightDark
Background
#fdfcfcsnow
#0e0609black
Foreground
#0c0306black
#ffffffwhite
Card
#fdfcfcsnow
#0e0609black
Card foreground
#0c0306black
#ffffffwhite
Popover
#fdfcfcsnow
#0e0609black
Popover foreground
#0c0306black
#ffffffwhite
Primary
#a35c75indianred
#a35c75indianred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#75a35cgray
#75a35cgray
Secondary foreground
#000000black
#000000black
Muted
#e7ebe5beige
#161a14black
Muted foreground
#617557dimgray
#94a88adarkseagreen
Accent
#5c75a3slategray
#5c75a3slategray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#5d2609maroon
#e35e16chocolate
Destructive foreground
#f6bfa2lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a35c75indianred
#a35c75indianred

Contrast

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

Light mode
Text on background19.84:1AAA
Text on card19.84:1AAA
Primary button4.83:1AA
Secondary button7.16:1AAA
Muted text4.16:1AA Large
Accent4.64:1AA
Destructive7.36:1AAA
Dark mode
Text on background20.01:1AAA
Text on card20.01:1AAA
Primary button4.83:1AA
Secondary button7.16:1AAA
Muted text6.89:1AA
Accent4.64:1AA
Destructive3.55:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 353.636);
  --foreground: oklch(0.12 0.024 353.483);
  --muted: oklch(0.936 0.01 134.278);
  --muted-foreground: oklch(0.538 0.052 134.808);
  --popover: oklch(0.991 0.002 353.636);
  --popover-foreground: oklch(0.12 0.024 353.483);
  --card: oklch(0.991 0.002 353.636);
  --card-foreground: oklch(0.12 0.024 353.483);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.563 0.098 358.326);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.665 0.112 135.394);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.561 0.078 262.346);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.343 0.089 44.928);
  --destructive-foreground: oklch(0.848 0.074 49.631);
  --ring: oklch(0.563 0.098 358.326);
  --chart-1: oklch(0.563 0.098 358.326);
  --chart-2: oklch(0.665 0.112 135.394);
  --chart-3: oklch(0.561 0.078 262.346);
  --chart-4: oklch(0.686 0.105 135.255);
  --chart-5: oklch(0.562 0.108 358.876);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.137 0.018 354.697);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.212 0.014 134.604);
  --muted-foreground: oklch(0.709 0.049 134.625);
  --popover: oklch(0.137 0.018 354.697);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.137 0.018 354.697);
  --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.563 0.098 358.326);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.665 0.112 135.394);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.561 0.078 262.346);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.644 0.182 43.155);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.563 0.098 358.326);
  --chart-1: oklch(0.563 0.098 358.326);
  --chart-2: oklch(0.665 0.112 135.394);
  --chart-3: oklch(0.561 0.078 262.346);
  --chart-4: oklch(0.686 0.105 135.255);
  --chart-5: oklch(0.562 0.108 358.876);
}