Pleased for shadcn/ui

Pleased is a shadcn/ui theme built around a muted red primary color (#694f49) with muted cyan accents (#496469). The light mode uses a neutral background (#fefbfb). Dark mode keeps the muted red primary (#694f49) on a neutral background (#070404).

Color palette

TokenLightDark
Background
#fefbfbsnow
#070404black
Foreground
#100705black
#fdfcfcsnow
Card
#fefbfbsnow
#070404black
Card foreground
#100705black
#fdfcfcsnow
Popover
#fefbfbsnow
#070404black
Popover foreground
#100705black
#fdfcfcsnow
Primary
#694f49dimgray
#694f49dimgray
Primary foreground
#f5f1f0whitesmoke
#f5f1f0whitesmoke
Secondary
#496469dimgray
#496469dimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#cde5e9gainsboro
#162d32darkslategray
Muted foreground
#575757dimgray
#a8a8a8darkgray
Accent
#496469dimgray
#496469dimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#cf4817chocolate
#e6501achocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#694f49dimgray
#694f49dimgray

Contrast

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

Light mode
Text on background19.38:1AAA
Text on card19.38:1AAA
Primary button6.67:1AA
Secondary button6.34:1AA
Muted text5.48:1AA
Accent6.34:1AA
Destructive4.58:1AA
Dark mode
Text on background19.95:1AAA
Text on card19.95:1AAA
Primary button6.67:1AA
Secondary button6.34:1AA
Muted text6.07:1AA
Accent6.34:1AA
Destructive3.81:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 31.049);
  --foreground: oklch(0.139 0.019 35.75);
  --muted: oklch(0.905 0.025 211.056);
  --muted-foreground: oklch(0.456 0 180);
  --popover: oklch(0.991 0.003 31.049);
  --popover-foreground: oklch(0.139 0.019 35.75);
  --card: oklch(0.991 0.003 31.049);
  --card-foreground: oklch(0.139 0.019 35.75);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.453 0.037 31.439);
  --primary-foreground: oklch(0.96 0.004 31.051);
  --secondary: oklch(0.484 0.033 211.281);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.484 0.033 211.281);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.583 0.179 37.898);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.453 0.037 31.439);
  --chart-1: oklch(0.453 0.037 31.439);
  --chart-2: oklch(0.484 0.033 211.281);
  --chart-3: oklch(0.484 0.033 211.281);
  --chart-4: oklch(0.513 0.035 211.287);
  --chart-5: oklch(0.451 0.044 31.554);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.112 0.007 33.859);
  --foreground: oklch(0.992 0.002 31.047);
  --muted: oklch(0.28 0.03 211.94);
  --muted-foreground: oklch(0.733 0 180);
  --popover: oklch(0.112 0.007 33.859);
  --popover-foreground: oklch(0.992 0.002 31.047);
  --card: oklch(0.112 0.007 33.859);
  --card-foreground: oklch(0.992 0.002 31.047);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.453 0.037 31.439);
  --primary-foreground: oklch(0.96 0.004 31.051);
  --secondary: oklch(0.484 0.033 211.281);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.484 0.033 211.281);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.63 0.195 37.793);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.453 0.037 31.439);
  --chart-1: oklch(0.453 0.037 31.439);
  --chart-2: oklch(0.484 0.033 211.281);
  --chart-3: oklch(0.484 0.033 211.281);
  --chart-4: oklch(0.513 0.035 211.287);
  --chart-5: oklch(0.451 0.044 31.554);
}