Songbird for shadcn/ui

Songbird is a shadcn/ui theme built around an orange primary color (#d55c20) with yellow accents (#d5b720). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#d55c20) on a neutral background (#040202).

Color palette

TokenLightDark
Background
#ffffffwhite
#040202black
Foreground
#090401black
#faf6f4whitesmoke
Card
#fcfcfcsnow
#070403black
Card foreground
#040201black
#fcf9f8snow
Popover
#ffffffwhite
#040202black
Popover foreground
#090401black
#faf6f4whitesmoke
Primary
#d55c20chocolate
#d55c20chocolate
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d5203ecrimson
#d5203ecrimson
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#eee7e8linen
#181112black
Muted foreground
#483d3fdarkslategray
#c2b7b9silver
Accent
#d5b720goldenrod
#d5b720goldenrod
Accent foreground
#231e05black
#231e05black
Destructive
#bb2a02firebrick
#f73802orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d55c20chocolate
#d55c20chocolate

Contrast

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

Light mode
Text on background20.39:1AAA
Text on card20.25:1AAA
Primary button3.89:1AA Large
Secondary button5.11:1AA
Muted text8.56:1AAA
Accent8.42:1AAA
Destructive6.10:1AA
Dark mode
Text on background19.26:1AAA
Text on card19.46:1AAA
Primary button3.89:1AA Large
Secondary button5.11:1AA
Muted text9.55:1AAA
Accent8.42:1AAA
Destructive3.79:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.114 0.017 59.925);
  --muted: oklch(0.934 0.008 5.661);
  --muted-foreground: oklch(0.372 0.015 6.482);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.114 0.017 59.925);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.09 0.013 59.925);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.62 0.167 43.227);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.564 0.211 19.923);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.782 0.154 96.435);
  --accent-foreground: oklch(0.236 0.041 98.197);
  --destructive: oklch(0.517 0.186 33.823);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.62 0.167 43.227);
  --chart-1: oklch(0.62 0.167 43.227);
  --chart-2: oklch(0.564 0.211 19.923);
  --chart-3: oklch(0.782 0.154 96.435);
  --chart-4: oklch(0.585 0.215 19.358);
  --chart-5: oklch(0.624 0.173 42.761);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.091 0.007 54.01);
  --foreground: oklch(0.977 0.005 48.687);
  --muted: oklch(0.187 0.012 7.057);
  --muted-foreground: oklch(0.79 0.012 5.849);
  --popover: oklch(0.091 0.007 54.01);
  --popover-foreground: oklch(0.977 0.005 48.687);
  --card: oklch(0.115 0.008 54.01);
  --card-foreground: oklch(0.984 0.003 48.709);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.62 0.167 43.227);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.564 0.211 19.923);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.782 0.154 96.435);
  --accent-foreground: oklch(0.236 0.041 98.197);
  --destructive: oklch(0.636 0.231 33.37);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.62 0.167 43.227);
  --chart-1: oklch(0.62 0.167 43.227);
  --chart-2: oklch(0.564 0.211 19.923);
  --chart-3: oklch(0.782 0.154 96.435);
  --chart-4: oklch(0.585 0.215 19.358);
  --chart-5: oklch(0.624 0.173 42.761);
}