Unsung for shadcn/ui

Unsung is a shadcn/ui theme built around a muted deep orange primary color (#3f322c) with muted light orange accents (#dcd1cb). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep orange primary (#3f322c) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#150a05black
#fdfcfcsnow
Card
#ffffffwhite
#000000black
Card foreground
#150a05black
#fdfcfcsnow
Popover
#ffffffwhite
#000000black
Popover foreground
#150a05black
#fdfcfcsnow
Primary
#3f322cdarkslategray
#3f322cdarkslategray
Primary foreground
#d7cbc6lightgrey
#d7cbc6lightgrey
Secondary
#dcd1cblightgrey
#312926darkslategray
Secondary foreground
#463730darkslategray
#cbc2bdsilver
Muted
#eedfd8antiquewhite
#271811black
Muted foreground
#63564fdimgray
#b0a29cdarkgray
Accent
#dcd1cblightgrey
#312926darkslategray
Accent foreground
#463730darkslategray
#cbc2bdsilver
Destructive
#b53908firebrick
#f55414orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#3f322cdarkslategray
#3f322cdarkslategray

Contrast

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

Light mode
Text on background19.48:1AAA
Text on card19.48:1AAA
Primary button7.76:1AAA
Secondary button7.56:1AAA
Muted text5.43:1AA
Accent7.56:1AAA
Destructive5.91:1AA
Dark mode
Text on background20.50:1AAA
Text on card20.50:1AAA
Primary button7.76:1AAA
Secondary button8.10:1AAA
Muted text6.93:1AA
Accent8.10:1AAA
Destructive3.40:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.158 0.024 50.287);
  --muted: oklch(0.914 0.018 46.637);
  --muted-foreground: oklch(0.463 0.02 46.412);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.158 0.024 50.287);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.158 0.024 50.287);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.33 0.022 46.221);
  --primary-foreground: oklch(0.851 0.015 46.659);
  --secondary: oklch(0.867 0.014 46.673);
  --secondary-foreground: oklch(0.35 0.025 46.179);
  --accent: oklch(0.867 0.014 46.673);
  --accent-foreground: oklch(0.35 0.025 46.179);
  --destructive: oklch(0.522 0.168 37.576);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.33 0.022 46.221);
  --chart-1: oklch(0.33 0.022 46.221);
  --chart-2: oklch(0.867 0.014 46.673);
  --chart-3: oklch(0.867 0.014 46.673);
  --chart-4: oklch(0.891 0.012 46.709);
  --chart-5: oklch(0.33 0.026 46.128);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 46.842);
  --muted: oklch(0.227 0.027 45.775);
  --muted-foreground: oklch(0.722 0.018 46.589);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.001 46.842);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.992 0.001 46.842);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.33 0.022 46.221);
  --primary-foreground: oklch(0.851 0.015 46.659);
  --secondary: oklch(0.289 0.012 46.431);
  --secondary-foreground: oklch(0.82 0.013 46.688);
  --accent: oklch(0.289 0.012 46.431);
  --accent-foreground: oklch(0.82 0.013 46.688);
  --destructive: oklch(0.659 0.208 38.088);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.33 0.022 46.221);
  --chart-1: oklch(0.33 0.022 46.221);
  --chart-2: oklch(0.289 0.012 46.431);
  --chart-3: oklch(0.289 0.012 46.431);
  --chart-4: oklch(0.32 0.014 46.416);
  --chart-5: oklch(0.33 0.026 46.128);
}