Unchanged Pure Apple for shadcn/ui

Unchanged Pure Apple is a shadcn/ui theme built around a green primary color (#67b54f) with green accents (#4fb56a). The light mode uses a neutral background (#f9fcf8). Dark mode keeps the green primary (#67b54f) on a neutral background (#040703).

Color palette

TokenLightDark
Background
#f9fcf8mintcream
#040703black
Foreground
#050c03black
#ffffffwhite
Card
#f6fbf4whitesmoke
#060b04black
Card foreground
#040802black
#ffffffwhite
Popover
#f9fcf8mintcream
#040703black
Popover foreground
#050c03black
#ffffffwhite
Primary
#67b54fmediumseagreen
#67b54fmediumseagreen
Primary foreground
#162811black
#162811black
Secondary
#9ab54fyellowgreen
#9ab54fyellowgreen
Secondary foreground
#212811black
#212811black
Muted
#dbddd4gainsboro
#282b22darkslategray
Muted foreground
#515742darkolivegreen
#b7bda8darkgray
Accent
#4fb56amediumseagreen
#4fb56amediumseagreen
Accent foreground
#112817black
#112817black
Destructive
#d74e04chocolate
#fb752dtomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e2e5e0gainsboro
#181c17black
Input
#e2e5e0gainsboro
#181c17black
Ring
#67b54fmediumseagreen
#67b54fmediumseagreen

Contrast

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

Light mode
Text on background19.14:1AAA
Text on card19.17:1AAA
Primary button6.18:1AA
Secondary button6.62:1AA
Muted text5.49:1AA
Accent6.09:1AA
Destructive4.21:1AA Large
Dark mode
Text on background20.21:1AAA
Text on card19.84:1AAA
Primary button6.18:1AA
Secondary button6.62:1AA
Muted text7.44:1AAA
Accent6.09:1AA
Destructive7.67:1AAA

CSS variables

Paste this into your globals.css to use Unchanged Pure Apple in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.007 138.337);
  --foreground: oklch(0.143 0.025 136.686);
  --muted: oklch(0.894 0.013 118.813);
  --muted-foreground: oklch(0.446 0.034 119.935);
  --popover: oklch(0.988 0.007 138.337);
  --popover-foreground: oklch(0.143 0.025 136.686);
  --card: oklch(0.981 0.01 138.341);
  --card-foreground: oklch(0.124 0.022 136.596);
  --border: oklch(0.919 0.008 138.339);
  --input: oklch(0.919 0.008 138.339);
  --primary: oklch(0.7 0.159 138.929);
  --primary-foreground: oklch(0.252 0.047 138.712);
  --secondary: oklch(0.732 0.133 122.219);
  --secondary-foreground: oklch(0.262 0.04 121.472);
  --accent: oklch(0.695 0.145 149.808);
  --accent-foreground: oklch(0.25 0.043 150.852);
  --destructive: oklch(0.603 0.184 40.854);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.7 0.159 138.929);
  --chart-1: oklch(0.7 0.159 138.929);
  --chart-2: oklch(0.732 0.133 122.219);
  --chart-3: oklch(0.695 0.145 149.808);
  --chart-4: oklch(0.748 0.127 121.873);
  --chart-5: oklch(0.709 0.168 139.009);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.018 136.892);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.283 0.017 119.603);
  --muted-foreground: oklch(0.789 0.03 119.238);
  --popover: oklch(0.123 0.018 136.892);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.141 0.021 136.932);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.22 0.01 138.381);
  --input: oklch(0.22 0.01 138.381);
  --primary: oklch(0.7 0.159 138.929);
  --primary-foreground: oklch(0.252 0.047 138.712);
  --secondary: oklch(0.732 0.133 122.219);
  --secondary-foreground: oklch(0.262 0.04 121.472);
  --accent: oklch(0.695 0.145 149.808);
  --accent-foreground: oklch(0.25 0.043 150.852);
  --destructive: oklch(0.711 0.182 45.062);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.7 0.159 138.929);
  --chart-1: oklch(0.7 0.159 138.929);
  --chart-2: oklch(0.732 0.133 122.219);
  --chart-3: oklch(0.695 0.145 149.808);
  --chart-4: oklch(0.748 0.127 121.873);
  --chart-5: oklch(0.709 0.168 139.009);
}