Burial for shadcn/ui

Burial is a shadcn/ui theme built around a muted teal primary color (#6b8077) with muted orange accents (#80776b). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted teal primary (#6b8077) on a neutral background (#010403).

Color palette

TokenLightDark
Background
#fbfefdwhite
#010403black
Foreground
#020806black
#f6f9f8whitesmoke
Card
#f7fdfamintcream
#020805black
Card foreground
#010403black
#f9fbfamintcream
Popover
#f7fdfamintcream
#020805black
Popover foreground
#010403black
#f9fbfamintcream
Primary
#6b8077gray
#6b8077gray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#776b80gray
#776b80gray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e1dee3gainsboro
#1f1c21black
Muted foreground
#48454adarkslategray
#b8b5basilver
Accent
#80776bgray
#80776bgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#711e04maroon
#f64009orangered
Destructive foreground
#fcbeablightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6b8077gray
#6b8077gray

Contrast

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

Light mode
Text on background19.90:1AAA
Text on card19.99:1AAA
Primary button4.22:1AA Large
Secondary button5.01:1AA
Muted text7.06:1AAA
Accent4.41:1AA Large
Destructive6.93:1AA
Dark mode
Text on background19.43:1AAA
Text on card19.43:1AAA
Primary button4.22:1AA Large
Secondary button5.01:1AA
Muted text8.31:1AAA
Accent4.41:1AA Large
Destructive3.70: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.994 0.004 168.624);
  --foreground: oklch(0.125 0.018 169.011);
  --muted: oklch(0.904 0.008 311.006);
  --muted-foreground: oklch(0.394 0.01 310.856);
  --popover: oklch(0.989 0.008 168.511);
  --popover-foreground: oklch(0.099 0.014 169.011);
  --card: oklch(0.989 0.008 168.511);
  --card-foreground: oklch(0.099 0.014 169.011);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.58 0.028 167.292);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.545 0.035 310.524);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.573 0.021 74.68);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.368 0.122 35.907);
  --destructive-foreground: oklch(0.853 0.076 37.605);
  --ring: oklch(0.58 0.028 167.292);
  --chart-1: oklch(0.58 0.028 167.292);
  --chart-2: oklch(0.545 0.035 310.524);
  --chart-3: oklch(0.573 0.021 74.68);
  --chart-4: oklch(0.571 0.037 310.52);
  --chart-5: oklch(0.586 0.037 166.813);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.098 0.013 168.981);
  --foreground: oklch(0.979 0.004 168.613);
  --muted: oklch(0.232 0.011 310.658);
  --muted-foreground: oklch(0.777 0.009 310.986);
  --popover: oklch(0.124 0.016 168.981);
  --popover-foreground: oklch(0.986 0.003 168.654);
  --card: oklch(0.124 0.016 168.981);
  --card-foreground: oklch(0.986 0.003 168.654);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.58 0.028 167.292);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.545 0.035 310.524);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.573 0.021 74.68);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.641 0.224 34.507);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.58 0.028 167.292);
  --chart-1: oklch(0.58 0.028 167.292);
  --chart-2: oklch(0.545 0.035 310.524);
  --chart-3: oklch(0.573 0.021 74.68);
  --chart-4: oklch(0.571 0.037 310.52);
  --chart-5: oklch(0.586 0.037 166.813);
}