Plush for shadcn/ui

Plush is a shadcn/ui theme built around a muted red primary color (#906a6d) with muted orange accents (#907a6a). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted red primary (#906a6d) on a neutral background (#030202).

Color palette

TokenLightDark
Background
#ffffffwhite
#030202black
Foreground
#140607black
#ffffffwhite
Card
#ffffffwhite
#030202black
Card foreground
#140607black
#ffffffwhite
Popover
#ffffffwhite
#030202black
Popover foreground
#140607black
#ffffffwhite
Primary
#906a6dgray
#906a6dgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#906a7fgray
#906a7fgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f2eef0whitesmoke
#110d10black
Muted foreground
#5e555adimgray
#aaa1a6darkgray
Accent
#907a6agray
#907a6agray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#772d09saddlebrown
#ef6825chocolate
Destructive foreground
#faceb8peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#906a6dgray
#906a6dgray

Contrast

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

Light mode
Text on background19.83:1AAA
Text on card19.83:1AAA
Primary button4.69:1AA
Secondary button4.60:1AA
Muted text6.23:1AA
Accent4.04:1AA Large
Destructive6.73:1AA
Dark mode
Text on background20.73:1AAA
Text on card20.73:1AAA
Primary button4.69:1AA
Secondary button4.60:1AA
Muted text7.66:1AAA
Accent4.04:1AA Large
Destructive6.66:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.145 0.028 15.773);
  --muted: oklch(0.952 0.005 341.938);
  --muted-foreground: oklch(0.459 0.014 342.525);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.145 0.028 15.773);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.145 0.028 15.773);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.564 0.048 14.267);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.57 0.056 344.034);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.596 0.036 59.427);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.399 0.112 42.519);
  --destructive-foreground: oklch(0.883 0.058 48.043);
  --ring: oklch(0.564 0.048 14.267);
  --chart-1: oklch(0.564 0.048 14.267);
  --chart-2: oklch(0.57 0.056 344.034);
  --chart-3: oklch(0.596 0.036 59.427);
  --chart-4: oklch(0.596 0.055 343.876);
  --chart-5: oklch(0.56 0.058 14.696);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.007 13.303);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.167 0.008 342.932);
  --muted-foreground: oklch(0.719 0.013 342.22);
  --popover: oklch(0.087 0.007 13.303);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.087 0.007 13.303);
  --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.564 0.048 14.267);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.57 0.056 344.034);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.596 0.036 59.427);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.675 0.182 43.211);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.564 0.048 14.267);
  --chart-1: oklch(0.564 0.048 14.267);
  --chart-2: oklch(0.57 0.056 344.034);
  --chart-3: oklch(0.596 0.036 59.427);
  --chart-4: oklch(0.596 0.055 343.876);
  --chart-5: oklch(0.56 0.058 14.696);
}