Burly for shadcn/ui

Burly is a shadcn/ui theme built around a muted teal primary color (#507c6c) with near-white accents (#eaebeb). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted teal primary (#507c6c) on a neutral background (#020806).

Color palette

TokenLightDark
Background
#fbfefdwhite
#020806black
Foreground
#000000black
#fcfdfdwhite
Card
#fbfefdwhite
#020806black
Card foreground
#000000black
#fcfdfdwhite
Popover
#fbfefdwhite
#020806black
Popover foreground
#000000black
#fcfdfdwhite
Primary
#507c6cdimgray
#507c6cdimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#eaebeblavender
#141515black
Secondary foreground
#4e5552darkslategray
#acafaedarkgray
Muted
#e9eceblavender
#131615black
Muted foreground
#54635edimgray
#9caba5darkgray
Accent
#eaebeblavender
#141515black
Accent foreground
#4e5552darkslategray
#acafaedarkgray
Destructive
#941a0adarkred
#f04028orangered
Destructive foreground
#fcd9d4mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#507c6cdimgray
#507c6cdimgray

Contrast

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

Light mode
Text on background20.70:1AAA
Text on card20.70:1AAA
Primary button4.70:1AA
Secondary button6.41:1AA
Muted text5.31:1AA
Accent6.41:1AA
Destructive6.64:1AA
Dark mode
Text on background19.80:1AAA
Text on card19.80:1AAA
Primary button4.70:1AA
Secondary button8.28:1AAA
Muted text7.63:1AAA
Accent8.28:1AAA
Destructive3.84:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.004 172.46);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.94 0.003 172.486);
  --muted-foreground: oklch(0.486 0.02 171.332);
  --popover: oklch(0.995 0.004 172.46);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.995 0.004 172.46);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.55 0.056 169.135);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.94 0.002 172.516);
  --secondary-foreground: oklch(0.442 0.009 171.962);
  --accent: oklch(0.94 0.002 172.516);
  --accent-foreground: oklch(0.442 0.009 171.962);
  --destructive: oklch(0.432 0.159 31.007);
  --destructive-foreground: oklch(0.913 0.04 26.793);
  --ring: oklch(0.55 0.056 169.135);
  --chart-1: oklch(0.55 0.056 169.135);
  --chart-2: oklch(0.94 0.002 172.516);
  --chart-3: oklch(0.94 0.002 172.516);
  --chart-4: oklch(0.963 0.001 172.539);
  --chart-5: oklch(0.556 0.063 168.671);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.016 172.845);
  --foreground: oklch(0.993 0.001 172.551);
  --muted: oklch(0.195 0.004 171.937);
  --muted-foreground: oklch(0.727 0.018 171.832);
  --popover: oklch(0.124 0.016 172.845);
  --popover-foreground: oklch(0.993 0.001 172.551);
  --card: oklch(0.124 0.016 172.845);
  --card-foreground: oklch(0.993 0.001 172.551);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.55 0.056 169.135);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.194 0.001 172.362);
  --secondary-foreground: oklch(0.751 0.004 172.418);
  --accent: oklch(0.194 0.001 172.362);
  --accent-foreground: oklch(0.751 0.004 172.418);
  --destructive: oklch(0.632 0.216 30.993);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.55 0.056 169.135);
  --chart-1: oklch(0.55 0.056 169.135);
  --chart-2: oklch(0.194 0.001 172.362);
  --chart-3: oklch(0.194 0.001 172.362);
  --chart-4: oklch(0.228 0.002 172.335);
  --chart-5: oklch(0.556 0.063 168.671);
}