Remorseful for shadcn/ui

Remorseful is a shadcn/ui theme built around a muted light orange primary color (#ece5df) with muted light orange accents (#e5e3e1). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light orange primary (#ece5df) on a neutral background (#070503).

Color palette

TokenLightDark
Background
#ffffffwhite
#070503black
Foreground
#100a05black
#fbfaf8snow
Card
#fcfcfcsnow
#0b0704black
Card foreground
#0c0704black
#fdfcfcsnow
Popover
#fcfcfcsnow
#0b0704black
Popover foreground
#0c0704black
#fdfcfcsnow
Primary
#ece5dfantiquewhite
#ece5dfantiquewhite
Primary foreground
#604b39darkolivegreen
#604b39darkolivegreen
Secondary
#e5e3e1gainsboro
#201c18black
Secondary foreground
#504944darkslategray
#c0b4aasilver
Muted
#e9e2ddgainsboro
#221b16black
Muted foreground
#524c47darkslategray
#b8b2addarkgray
Accent
#e5e3e1gainsboro
#201c18black
Accent foreground
#504944darkslategray
#c0b4aasilver
Destructive
#cc420fchocolate
#ee5017orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ece5dfantiquewhite
#ece5dfantiquewhite

Contrast

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

Light mode
Text on background19.66:1AAA
Text on card19.61:1AAA
Primary button6.56:1AA
Secondary button6.88:1AA
Muted text6.61:1AA
Accent6.88:1AA
Destructive4.83:1AA
Dark mode
Text on background19.50:1AAA
Text on card19.56:1AAA
Primary button6.56:1AA
Secondary button8.36:1AAA
Muted text8.07:1AAA
Accent8.36:1AAA
Destructive3.63:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.149 0.016 66.421);
  --muted: oklch(0.917 0.01 62.055);
  --muted-foreground: oklch(0.421 0.011 61.837);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.135 0.014 69.672);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.135 0.014 69.672);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.925 0.011 62.031);
  --primary-foreground: oklch(0.429 0.041 60.691);
  --secondary: oklch(0.916 0.004 62.138);
  --secondary-foreground: oklch(0.411 0.012 61.787);
  --accent: oklch(0.916 0.004 62.138);
  --accent-foreground: oklch(0.411 0.012 61.787);
  --destructive: oklch(0.571 0.183 37.21);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.925 0.011 62.031);
  --chart-1: oklch(0.925 0.011 62.031);
  --chart-2: oklch(0.916 0.004 62.138);
  --chart-3: oklch(0.916 0.004 62.138);
  --chart-4: oklch(0.939 0.003 62.155);
  --chart-5: oklch(0.926 0.013 62.012);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.117 0.011 69.072);
  --foreground: oklch(0.985 0.003 62.158);
  --muted: oklch(0.23 0.014 61.355);
  --muted-foreground: oklch(0.767 0.01 62.028);
  --popover: oklch(0.134 0.012 68.807);
  --popover-foreground: oklch(0.993 0.001 62.176);
  --card: oklch(0.134 0.012 68.807);
  --card-foreground: oklch(0.993 0.001 62.176);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.925 0.011 62.031);
  --primary-foreground: oklch(0.429 0.041 60.691);
  --secondary: oklch(0.229 0.01 61.579);
  --secondary-foreground: oklch(0.777 0.02 61.851);
  --accent: oklch(0.229 0.01 61.579);
  --accent-foreground: oklch(0.777 0.02 61.851);
  --destructive: oklch(0.643 0.203 37.447);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.925 0.011 62.031);
  --chart-1: oklch(0.925 0.011 62.031);
  --chart-2: oklch(0.229 0.01 61.579);
  --chart-3: oklch(0.229 0.01 61.579);
  --chart-4: oklch(0.262 0.013 61.528);
  --chart-5: oklch(0.926 0.013 62.012);
}