Soulful for shadcn/ui

Soulful is a shadcn/ui theme built around a light orange primary color (#dac2b4) with light blue accents (#b4cbda). The light mode uses a neutral background (#ffffff). Dark mode keeps the light orange primary (#dac2b4) on a neutral background (#040201).

Color palette

TokenLightDark
Background
#ffffffwhite
#040201black
Foreground
#0b0704black
#fafaf9snow
Card
#fcfcfcsnow
#080503black
Card foreground
#080503black
#fdfcfcsnow
Popover
#fcfcfcsnow
#080503black
Popover foreground
#080503black
#fdfcfcsnow
Primary
#dac2b4silver
#dac2b4silver
Primary foreground
#3e2a1edarkslategray
#3e2a1edarkslategray
Secondary
#b4cbdalightsteelblue
#b4cbdalightsteelblue
Secondary foreground
#1e323edarkslategray
#1e323edarkslategray
Muted
#e7eff3lavender
#0c1318black
Muted foreground
#5a6972dimgray
#8d9ca5darkgray
Accent
#b4cbdalightsteelblue
#b4cbdalightsteelblue
Accent foreground
#1e323edarkslategray
#1e323edarkslategray
Destructive
#a5450dsaddlebrown
#ee722bchocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dac2b4silver
#dac2b4silver

Contrast

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

Light mode
Text on background20.06:1AAA
Text on card19.88:1AAA
Primary button7.97:1AAA
Secondary button7.92:1AAA
Muted text4.86:1AA
Accent7.92:1AAA
Destructive6.06:1AA
Dark mode
Text on background19.80:1AAA
Text on card19.89:1AAA
Primary button7.97:1AAA
Secondary button7.92:1AAA
Muted text6.61:1AA
Accent7.92:1AAA
Destructive7.08:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.133 0.013 61.582);
  --muted: oklch(0.947 0.01 234.657);
  --muted-foreground: oklch(0.511 0.024 235.232);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.116 0.011 61.898);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.116 0.011 61.898);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.831 0.033 53.964);
  --primary-foreground: oklch(0.306 0.035 52.849);
  --secondary: oklch(0.83 0.033 235.113);
  --secondary-foreground: oklch(0.304 0.033 236.639);
  --accent: oklch(0.83 0.033 235.113);
  --accent-foreground: oklch(0.304 0.033 236.639);
  --destructive: oklch(0.511 0.141 44.515);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.831 0.033 53.964);
  --chart-1: oklch(0.831 0.033 53.964);
  --chart-2: oklch(0.83 0.033 235.113);
  --chart-3: oklch(0.83 0.033 235.113);
  --chart-4: oklch(0.854 0.028 235.005);
  --chart-5: oklch(0.832 0.036 53.917);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.092 0.009 61.898);
  --foreground: oklch(0.985 0.001 54.494);
  --muted: oklch(0.183 0.014 235.891);
  --muted-foreground: oklch(0.683 0.022 234.995);
  --popover: oklch(0.116 0.011 61.898);
  --popover-foreground: oklch(0.992 0 54.501);
  --card: oklch(0.116 0.011 61.898);
  --card-foreground: oklch(0.992 0 54.501);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.831 0.033 53.964);
  --primary-foreground: oklch(0.306 0.035 52.849);
  --secondary: oklch(0.83 0.033 235.113);
  --secondary-foreground: oklch(0.304 0.033 236.639);
  --accent: oklch(0.83 0.033 235.113);
  --accent-foreground: oklch(0.304 0.033 236.639);
  --destructive: oklch(0.689 0.172 46.527);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.831 0.033 53.964);
  --chart-1: oklch(0.831 0.033 53.964);
  --chart-2: oklch(0.83 0.033 235.113);
  --chart-3: oklch(0.83 0.033 235.113);
  --chart-4: oklch(0.854 0.028 235.005);
  --chart-5: oklch(0.832 0.036 53.917);
}