Quiet for shadcn/ui

Quiet is a shadcn/ui theme built around a muted pink primary color (#674655) with muted red accents (#674846). The light mode uses a neutral background (#fefbfc). Dark mode keeps the muted pink primary (#674655) on a pink-tinted background (#10040a).

Color palette

TokenLightDark
Background
#fefbfcsnow
#10040ablack
Foreground
#000000black
#ffffffwhite
Card
#fdf7fasnow
#14050cblack
Card foreground
#000000black
#ffffffwhite
Popover
#fefbfcsnow
#10040ablack
Popover foreground
#000000black
#ffffffwhite
Primary
#674655dimgray
#674655dimgray
Primary foreground
#f3edefwhitesmoke
#f3edefwhitesmoke
Secondary
#674666dimgray
#674666dimgray
Secondary foreground
#f3edf2whitesmoke
#f3edf2whitesmoke
Muted
#e0dce0gainsboro
#231f23black
Muted foreground
#695d69dimgray
#a296a1darkgray
Accent
#674846darkolivegreen
#674846darkolivegreen
Accent foreground
#f3ededlinen
#f3ededlinen
Destructive
#891e0bdarkred
#ee482btomato
Destructive foreground
#fbd2cbpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#674655dimgray
#674655dimgray

Contrast

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

Light mode
Text on background20.39:1AAA
Text on card19.80:1AAA
Primary button7.01:1AAA
Secondary button6.86:1AA
Muted text4.58:1AA
Accent7.00:1AAA
Destructive6.74:1AA
Dark mode
Text on background20.09:1AAA
Text on card19.83:1AAA
Primary button7.01:1AAA
Secondary button6.86:1AA
Muted text5.73:1AA
Accent7.00:1AAA
Destructive3.75:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.004 347.925);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.898 0.008 327.118);
  --muted-foreground: oklch(0.495 0.023 327.461);
  --popover: oklch(0.99 0.004 347.925);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.981 0.008 348.04);
  --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.437 0.05 350.754);
  --primary-foreground: oklch(0.951 0.007 348.017);
  --secondary: oklch(0.443 0.065 328.304);
  --secondary-foreground: oklch(0.952 0.01 327.131);
  --accent: oklch(0.435 0.043 22.384);
  --accent-foreground: oklch(0.951 0.006 20.969);
  --destructive: oklch(0.414 0.145 32.212);
  --destructive-foreground: oklch(0.897 0.047 29.743);
  --ring: oklch(0.437 0.05 350.754);
  --chart-1: oklch(0.437 0.05 350.754);
  --chart-2: oklch(0.443 0.065 328.304);
  --chart-3: oklch(0.435 0.043 22.384);
  --chart-4: oklch(0.47 0.07 328.317);
  --chart-5: oklch(0.435 0.058 351.225);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.135 0.027 349.578);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.246 0.011 327.434);
  --muted-foreground: oklch(0.686 0.021 327.322);
  --popover: oklch(0.135 0.027 349.578);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.147 0.031 351.488);
  --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.437 0.05 350.754);
  --primary-foreground: oklch(0.951 0.007 348.017);
  --secondary: oklch(0.443 0.065 328.304);
  --secondary-foreground: oklch(0.952 0.01 327.131);
  --accent: oklch(0.435 0.043 22.384);
  --accent-foreground: oklch(0.951 0.006 20.969);
  --destructive: oklch(0.636 0.207 32.38);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.437 0.05 350.754);
  --chart-1: oklch(0.437 0.05 350.754);
  --chart-2: oklch(0.443 0.065 328.304);
  --chart-3: oklch(0.435 0.043 22.384);
  --chart-4: oklch(0.47 0.07 328.317);
  --chart-5: oklch(0.435 0.058 351.225);
}