Burial for shadcn/ui

Burial is a shadcn/ui theme built around a muted purple primary color (#c0aabf) with muted light purple accents (#cab9c9). The light mode uses a neutral background (#fdf7fd). Dark mode keeps the muted purple primary (#c0aabf) on a neutral background (#040104).

Color palette

TokenLightDark
Background
#fdf7fdsnow
#040104black
Foreground
#090109black
#fdfcfdwhite
Card
#fcf3fblavenderblush
#070307black
Card foreground
#050104black
#ffffffwhite
Popover
#fcf3fblavenderblush
#070307black
Popover foreground
#050104black
#ffffffwhite
Primary
#c0aabfsilver
#c0aabfsilver
Primary foreground
#201820black
#201820black
Secondary
#d9d3d9lightgrey
#292329darkslategray
Secondary foreground
#423841darkslategray
#c4bac4silver
Muted
#e5dce4gainsboro
#231a22black
Muted foreground
#544f54darkslategray
#b0abb0darkgray
Accent
#cab9c9silver
#4a3649darkslategray
Accent foreground
#2f232edarkslategray
#dfd3degainsboro
Destructive
#60220bmaroon
#d34a17chocolate
Destructive foreground
#f5bca8lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c0aabfsilver
#c0aabfsilver

Contrast

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

Light mode
Text on background19.48:1AAA
Text on card19.09:1AAA
Primary button8.03:1AAA
Secondary button7.62:1AAA
Muted text5.98:1AA
Accent8.08:1AAA
Destructive7.30:1AAA
Dark mode
Text on background20.26:1AAA
Text on card20.49:1AAA
Primary button8.03:1AAA
Secondary button8.15:1AAA
Muted text7.46:1AAA
Accent7.61:1AAA
Destructive4.41:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.01 327.643);
  --foreground: oklch(0.105 0.035 329.458);
  --muted: oklch(0.904 0.014 327.699);
  --muted-foreground: oklch(0.434 0.01 327.764);
  --popover: oklch(0.973 0.015 327.693);
  --popover-foreground: oklch(0.083 0.028 329.458);
  --card: oklch(0.973 0.015 327.693);
  --card-foreground: oklch(0.083 0.028 329.458);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.763 0.038 328.027);
  --primary-foreground: oklch(0.222 0.02 328.382);
  --secondary: oklch(0.874 0.011 327.668);
  --secondary-foreground: oklch(0.356 0.02 328.096);
  --accent: oklch(0.806 0.029 327.896);
  --accent-foreground: oklch(0.274 0.025 328.416);
  --destructive: oklch(0.342 0.097 38.849);
  --destructive-foreground: oklch(0.843 0.072 40.888);
  --ring: oklch(0.763 0.038 328.027);
  --chart-1: oklch(0.763 0.038 328.027);
  --chart-2: oklch(0.874 0.011 327.668);
  --chart-3: oklch(0.806 0.029 327.896);
  --chart-4: oklch(0.898 0.009 327.642);
  --chart-5: oklch(0.762 0.046 328.122);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.016 328.644);
  --foreground: oklch(0.992 0.002 327.57);
  --muted: oklch(0.233 0.02 328.35);
  --muted-foreground: oklch(0.746 0.008 327.657);
  --popover: oklch(0.11 0.02 328.644);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.11 0.02 328.644);
  --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.763 0.038 328.027);
  --primary-foreground: oklch(0.222 0.02 328.382);
  --secondary: oklch(0.266 0.014 328.041);
  --secondary-foreground: oklch(0.801 0.017 327.758);
  --accent: oklch(0.361 0.042 328.631);
  --accent-foreground: oklch(0.879 0.02 327.772);
  --destructive: oklch(0.592 0.182 37.875);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.763 0.038 328.027);
  --chart-1: oklch(0.763 0.038 328.027);
  --chart-2: oklch(0.266 0.014 328.041);
  --chart-3: oklch(0.361 0.042 328.631);
  --chart-4: oklch(0.297 0.016 328.064);
  --chart-5: oklch(0.762 0.046 328.122);
}