Proud Glazed Pears for shadcn/ui

Proud Glazed Pears is a shadcn/ui theme built around a light orange primary color (#eee3d3) with light green accents (#ebeed3). The light mode uses a neutral background (#fefdfb). Dark mode keeps the light orange primary (#eee3d3) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefdfbsnow
#000000black
Foreground
#080602black
#fdfdfcwhite
Card
#fdfbf7snow
#030303black
Card foreground
#040301black
#ffffffwhite
Popover
#fefdfbsnow
#000000black
Popover foreground
#080602black
#fdfdfcwhite
Primary
#eee3d3antiquewhite
#eee3d3antiquewhite
Primary foreground
#664e29darkolivegreen
#664e29darkolivegreen
Secondary
#eed6d3gainsboro
#eed6d3gainsboro
Secondary foreground
#662f29saddlebrown
#662f29saddlebrown
Muted
#efececlinen
#131110black
Muted foreground
#4a4545darkslategray
#bab5b5silver
Accent
#ebeed3beige
#ebeed3beige
Accent foreground
#1b1d0cblack
#1b1d0cblack
Destructive
#ca4f12chocolate
#e65a14chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#ecebe9linen
#2a2723darkslategray
Input
#ecebe9linen
#2a2723darkslategray
Ring
#eee3d3antiquewhite
#eee3d3antiquewhite

Contrast

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

Light mode
Text on background19.88:1AAA
Text on card19.88:1AAA
Primary button6.16:1AA
Secondary button7.57:1AAA
Muted text8.01:1AAA
Accent14.37:1AAA
Destructive4.53:1AA
Dark mode
Text on background20.63:1AAA
Text on card20.67:1AAA
Primary button6.16:1AA
Secondary button7.57:1AAA
Muted text9.30:1AAA
Accent14.37:1AAA
Destructive3.60:1AA Large

CSS variables

Paste this into your globals.css to use Proud Glazed Pears in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 78.304);
  --foreground: oklch(0.122 0.015 85.983);
  --muted: oklch(0.945 0.003 25.014);
  --muted-foreground: oklch(0.396 0.007 25.143);
  --popover: oklch(0.994 0.003 78.304);
  --popover-foreground: oklch(0.122 0.015 85.983);
  --card: oklch(0.987 0.005 78.295);
  --card-foreground: oklch(0.097 0.012 85.983);
  --border: oklch(0.94 0.003 78.302);
  --input: oklch(0.94 0.003 78.302);
  --primary: oklch(0.92 0.024 78.206);
  --primary-foreground: oklch(0.44 0.062 76.072);
  --secondary: oklch(0.894 0.027 25.259);
  --secondary-foreground: oklch(0.378 0.081 28.01);
  --accent: oklch(0.939 0.035 111.703);
  --accent-foreground: oklch(0.224 0.031 113.586);
  --destructive: oklch(0.584 0.169 41.773);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.92 0.024 78.206);
  --chart-1: oklch(0.92 0.024 78.206);
  --chart-2: oklch(0.894 0.027 25.259);
  --chart-3: oklch(0.939 0.035 111.703);
  --chart-4: oklch(0.921 0.02 25.177);
  --chart-5: oklch(0.921 0.026 78.196);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.002 78.308);
  --muted: oklch(0.179 0.004 25.202);
  --muted-foreground: oklch(0.778 0.006 25.052);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.002 78.308);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.274 0.008 78.178);
  --input: oklch(0.274 0.008 78.178);
  --primary: oklch(0.92 0.024 78.206);
  --primary-foreground: oklch(0.44 0.062 76.072);
  --secondary: oklch(0.894 0.027 25.259);
  --secondary-foreground: oklch(0.378 0.081 28.01);
  --accent: oklch(0.939 0.035 111.703);
  --accent-foreground: oklch(0.224 0.031 113.586);
  --destructive: oklch(0.642 0.188 41.573);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.92 0.024 78.206);
  --chart-1: oklch(0.92 0.024 78.206);
  --chart-2: oklch(0.894 0.027 25.259);
  --chart-3: oklch(0.939 0.035 111.703);
  --chart-4: oklch(0.921 0.02 25.177);
  --chart-5: oklch(0.921 0.026 78.196);
}