Swamp of Sorrows Flamingo for shadcn/ui

Swamp of Sorrows Flamingo is a shadcn/ui theme built around a deep yellow primary color (#2c2707) with deep purple accents (#27072c). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep yellow primary (#2c2707) on a yellow-tinted background (#0f0d06).

Color palette

TokenLightDark
Background
#ffffffwhite
#0f0d06black
Foreground
#080702black
#fdfdfcwhite
Card
#fcfcfcsnow
#121107black
Card foreground
#040401black
#ffffffwhite
Popover
#fcfcfcsnow
#121107black
Popover foreground
#040401black
#ffffffwhite
Primary
#2c2707black
#2c2707black
Primary foreground
#dec221goldenrod
#dec221goldenrod
Secondary
#072c27black
#072c27black
Secondary foreground
#21dec2turquoise
#21dec2turquoise
Muted
#cdeae5gainsboro
#15322edarkslategray
Muted foreground
#576664dimgray
#99a8a6darkgray
Accent
#27072cblack
#27072cblack
Accent foreground
#da7aebviolet
#da7aebviolet
Destructive
#b61507firebrick
#f73826orangered
Destructive foreground
#fef1f0seashell
#ffffffwhite
Border
#ecece9linen
#1e1e1ablack
Input
#ecece9linen
#1e1e1ablack
Ring
#2c2707black
#2c2707black

Contrast

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

Light mode
Text on background20.16:1AAA
Text on card20.08:1AAA
Primary button8.47:1AAA
Secondary button8.75:1AAA
Muted text4.71:1AA
Accent6.92:1AA
Destructive6.14:1AA
Dark mode
Text on background19.07:1AAA
Text on card18.95:1AAA
Primary button8.47:1AAA
Secondary button8.75:1AAA
Muted text5.56:1AA
Accent6.92:1AA
Destructive3.78:1AA Large

CSS variables

Paste this into your globals.css to use Swamp of Sorrows Flamingo in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.128 0.017 102.223);
  --muted: oklch(0.914 0.031 185.728);
  --muted-foreground: oklch(0.496 0.019 185.612);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.102 0.014 102.223);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.102 0.014 102.223);
  --border: oklch(0.942 0.004 98.374);
  --input: oklch(0.942 0.004 98.374);
  --primary: oklch(0.27 0.048 99.17);
  --primary-foreground: oklch(0.813 0.161 97.966);
  --secondary: oklch(0.267 0.043 180.805);
  --secondary-foreground: oklch(0.808 0.143 178.741);
  --accent: oklch(0.206 0.079 321.321);
  --accent-foreground: oklch(0.726 0.185 321.444);
  --destructive: oklch(0.495 0.193 30.107);
  --destructive-foreground: oklch(0.969 0.014 23.728);
  --ring: oklch(0.27 0.048 99.17);
  --chart-1: oklch(0.27 0.048 99.17);
  --chart-2: oklch(0.267 0.043 180.805);
  --chart-3: oklch(0.206 0.079 321.321);
  --chart-4: oklch(0.314 0.052 180.289);
  --chart-5: oklch(0.273 0.05 99.128);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.159 0.016 100.162);
  --foreground: oklch(0.993 0.001 98.332);
  --muted: oklch(0.293 0.036 182.889);
  --muted-foreground: oklch(0.72 0.017 185.977);
  --popover: oklch(0.175 0.019 99.696);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.175 0.019 99.696);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.233 0.007 98.733);
  --input: oklch(0.233 0.007 98.733);
  --primary: oklch(0.27 0.048 99.17);
  --primary-foreground: oklch(0.813 0.161 97.966);
  --secondary: oklch(0.267 0.043 180.805);
  --secondary-foreground: oklch(0.808 0.143 178.741);
  --accent: oklch(0.206 0.079 321.321);
  --accent-foreground: oklch(0.726 0.185 321.444);
  --destructive: oklch(0.638 0.228 29.874);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.27 0.048 99.17);
  --chart-1: oklch(0.27 0.048 99.17);
  --chart-2: oklch(0.267 0.043 180.805);
  --chart-3: oklch(0.206 0.079 321.321);
  --chart-4: oklch(0.314 0.052 180.289);
  --chart-5: oklch(0.273 0.05 99.128);
}