Prayer for shadcn/ui

Prayer is a shadcn/ui theme built around a muted orange primary color (#cabba0) with muted violet accents (#bba0ca). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the muted orange primary (#cabba0) on an orange-tinted background (#0f0c05).

Color palette

TokenLightDark
Background
#fcfaf8snow
#0f0c05black
Foreground
#090602black
#fcfaf8snow
Card
#fcfaf8snow
#0f0c05black
Card foreground
#090602black
#fcfaf8snow
Popover
#fcfaf8snow
#0f0c05black
Popover foreground
#090602black
#fcfaf8snow
Primary
#cabba0tan
#cabba0tan
Primary foreground
#241e14black
#241e14black
Secondary
#a0cabbsilver
#a0cabbsilver
Secondary foreground
#14241eblack
#14241eblack
Muted
#e4f1eclavender
#0e1b16black
Muted foreground
#3e4240darkslategray
#bdc1c0silver
Accent
#bba0casilver
#bba0casilver
Accent foreground
#1e1424black
#1e1424black
Destructive
#ad1810firebrick
#e52015crimson
Destructive foreground
#fef2f1seashell
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cabba0tan
#cabba0tan

Contrast

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

Light mode
Text on background19.46:1AAA
Text on card19.46:1AAA
Primary button8.72:1AAA
Secondary button8.94:1AAA
Muted text8.78:1AAA
Accent7.62:1AAA
Destructive6.60:1AA
Dark mode
Text on background18.78:1AAA
Text on card18.78:1AAA
Primary button8.72:1AAA
Secondary button8.94:1AAA
Muted text9.76:1AAA
Accent7.62:1AAA
Destructive4.63:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 81.514);
  --foreground: oklch(0.124 0.017 89.1);
  --muted: oklch(0.947 0.014 172.133);
  --muted-foreground: oklch(0.374 0.006 172.133);
  --popover: oklch(0.987 0.004 81.514);
  --popover-foreground: oklch(0.124 0.017 89.1);
  --card: oklch(0.987 0.004 81.514);
  --card-foreground: oklch(0.124 0.017 89.1);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.796 0.04 81.382);
  --primary-foreground: oklch(0.239 0.02 81.073);
  --secondary: oklch(0.804 0.049 170.679);
  --secondary-foreground: oklch(0.244 0.024 169.254);
  --accent: oklch(0.744 0.065 313.067);
  --accent-foreground: oklch(0.213 0.033 312.611);
  --destructive: oklch(0.479 0.183 29.23);
  --destructive-foreground: oklch(0.969 0.013 21.062);
  --ring: oklch(0.796 0.04 81.382);
  --chart-1: oklch(0.796 0.04 81.382);
  --chart-2: oklch(0.804 0.049 170.679);
  --chart-3: oklch(0.744 0.065 313.067);
  --chart-4: oklch(0.825 0.044 170.938);
  --chart-5: oklch(0.799 0.044 81.35);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.155 0.016 83.983);
  --foreground: oklch(0.986 0.003 81.514);
  --muted: oklch(0.207 0.02 169.411);
  --muted-foreground: oklch(0.808 0.005 172.407);
  --popover: oklch(0.155 0.016 83.983);
  --popover-foreground: oklch(0.986 0.003 81.514);
  --card: oklch(0.155 0.016 83.983);
  --card-foreground: oklch(0.986 0.003 81.514);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.796 0.04 81.382);
  --primary-foreground: oklch(0.239 0.02 81.073);
  --secondary: oklch(0.804 0.049 170.679);
  --secondary-foreground: oklch(0.244 0.024 169.254);
  --accent: oklch(0.744 0.065 313.067);
  --accent-foreground: oklch(0.213 0.033 312.611);
  --destructive: oklch(0.588 0.227 29.329);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.796 0.04 81.382);
  --chart-1: oklch(0.796 0.04 81.382);
  --chart-2: oklch(0.804 0.049 170.679);
  --chart-3: oklch(0.744 0.065 313.067);
  --chart-4: oklch(0.825 0.044 170.938);
  --chart-5: oklch(0.799 0.044 81.35);
}