Prayer for shadcn/ui

Prayer is a shadcn/ui theme built around a light red primary color (#f5d6d7) with light orange accents (#f5e4d6). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the light red primary (#f5d6d7) on a neutral background (#040101).

Color palette

TokenLightDark
Background
#fcf8f8snow
#040101black
Foreground
#000000black
#ffffffwhite
Card
#fcf8f8snow
#040101black
Card foreground
#000000black
#ffffffwhite
Popover
#fcf8f8snow
#040101black
Popover foreground
#000000black
#ffffffwhite
Primary
#f5d6d7mistyrose
#f5d6d7mistyrose
Primary foreground
#7c1d20maroon
#7c1d20maroon
Secondary
#f5d6e7mistyrose
#f5d6e7mistyrose
Secondary foreground
#7c1d50purple
#7c1d50purple
Muted
#e6d1dcgainsboro
#2e1924black
Muted foreground
#65535cdimgray
#ac9aa4darkgray
Accent
#f5e4d6antiquewhite
#f5e4d6antiquewhite
Accent foreground
#29180ablack
#29180ablack
Destructive
#6d0d03maroon
#fa3e29orangered
Destructive foreground
#fdaea5lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f5d6d7mistyrose
#f5d6d7mistyrose

Contrast

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

Light mode
Text on background19.86:1AAA
Text on card19.86:1AAA
Primary button7.52:1AAA
Secondary button7.27:1AAA
Muted text4.91:1AA
Accent13.83:1AAA
Destructive6.85:1AA
Dark mode
Text on background20.76:1AAA
Text on card20.76:1AAA
Primary button7.52:1AAA
Secondary button7.27:1AAA
Muted text6.16:1AA
Accent13.83:1AAA
Destructive3.64:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.005 14.888);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.88 0.028 344.228);
  --muted-foreground: oklch(0.463 0.028 344.923);
  --popover: oklch(0.981 0.005 14.888);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.981 0.005 14.888);
  --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.902 0.035 15.539);
  --primary-foreground: oklch(0.391 0.129 23.909);
  --secondary: oklch(0.906 0.041 344.552);
  --secondary-foreground: oklch(0.404 0.138 352.541);
  --accent: oklch(0.93 0.027 63.711);
  --accent-foreground: oklch(0.229 0.037 60.543);
  --destructive: oklch(0.345 0.13 31.012);
  --destructive-foreground: oklch(0.824 0.094 26.311);
  --ring: oklch(0.902 0.035 15.539);
  --chart-1: oklch(0.902 0.035 15.539);
  --chart-2: oklch(0.906 0.041 344.552);
  --chart-3: oklch(0.93 0.027 63.711);
  --chart-4: oklch(0.934 0.029 344.197);
  --chart-5: oklch(0.901 0.037 15.578);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.085 0.011 16.733);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.247 0.039 347.103);
  --muted-foreground: oklch(0.705 0.026 344.328);
  --popover: oklch(0.085 0.011 16.733);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.085 0.011 16.733);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.902 0.035 15.539);
  --primary-foreground: oklch(0.391 0.129 23.909);
  --secondary: oklch(0.906 0.041 344.552);
  --secondary-foreground: oklch(0.404 0.138 352.541);
  --accent: oklch(0.93 0.027 63.711);
  --accent-foreground: oklch(0.229 0.037 60.543);
  --destructive: oklch(0.647 0.226 30.392);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.902 0.035 15.539);
  --chart-1: oklch(0.902 0.035 15.539);
  --chart-2: oklch(0.906 0.041 344.552);
  --chart-3: oklch(0.93 0.027 63.711);
  --chart-4: oklch(0.934 0.029 344.197);
  --chart-5: oklch(0.901 0.037 15.578);
}