Plush for shadcn/ui

Plush is a shadcn/ui theme built around a teal primary color (#49dfd7) with yellow accents (#dfd749). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the teal primary (#49dfd7) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fcfbmintcream
#000000black
Foreground
#000000black
#f5f9f9whitesmoke
Card
#f5fafamintcream
#030303black
Card foreground
#000000black
#f9fbfbghostwhite
Popover
#f8fcfbmintcream
#000000black
Popover foreground
#000000black
#f5f9f9whitesmoke
Primary
#49dfd7turquoise
#49dfd7turquoise
Primary foreground
#000000black
#000000black
Secondary
#d749dfmediumorchid
#d749dfmediumorchid
Secondary foreground
#000000black
#000000black
Muted
#f4f0f4whitesmoke
#0e0b0fblack
Muted foreground
#525152darkslategray
#aeadaedarkgray
Accent
#dfd749darkkhaki
#dfd749darkkhaki
Accent foreground
#000000black
#000000black
Destructive
#8c2208darkred
#f4633etomato
Destructive foreground
#fcd4cabisque
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#49dfd7turquoise
#49dfd7turquoise

Contrast

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

Light mode
Text on background20.26:1AAA
Text on card19.90:1AAA
Primary button12.80:1AAA
Secondary button5.91:1AA
Muted text7.02:1AAA
Accent13.98:1AAA
Destructive6.56:1AA
Dark mode
Text on background19.80:1AAA
Text on card19.91:1AAA
Primary button12.80:1AAA
Secondary button5.91:1AA
Muted text8.74:1AAA
Accent13.98:1AAA
Destructive6.67:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.003 193.538);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.96 0.006 324.166);
  --muted-foreground: oklch(0.436 0.003 324.174);
  --popover: oklch(0.987 0.003 193.538);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.981 0.005 193.502);
  --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.824 0.124 190.173);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.658 0.242 325.78);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.861 0.158 106.326);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.424 0.145 34.07);
  --destructive-foreground: oklch(0.901 0.047 34.34);
  --ring: oklch(0.824 0.124 190.173);
  --chart-1: oklch(0.824 0.124 190.173);
  --chart-2: oklch(0.658 0.242 325.78);
  --chart-3: oklch(0.861 0.158 106.326);
  --chart-4: oklch(0.676 0.229 325.703);
  --chart-5: oklch(0.832 0.128 190.074);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.98 0.004 193.525);
  --muted: oklch(0.155 0.009 324.47);
  --muted-foreground: oklch(0.748 0.003 324.152);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.98 0.004 193.525);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.987 0.003 193.553);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.824 0.124 190.173);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.658 0.242 325.78);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.861 0.158 106.326);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.678 0.186 35.16);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.824 0.124 190.173);
  --chart-1: oklch(0.824 0.124 190.173);
  --chart-2: oklch(0.658 0.242 325.78);
  --chart-3: oklch(0.861 0.158 106.326);
  --chart-4: oklch(0.676 0.229 325.703);
  --chart-5: oklch(0.832 0.128 190.074);
}