Plywood for shadcn/ui

Plywood is a shadcn/ui theme built around a vivid green primary color (#ddf570) with vivid purple accents (#f570dd). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#ddf570) on a neutral background (#030401).

Color palette

TokenLightDark
Background
#ffffffwhite
#030401black
Foreground
#111306black
#fdfdfcwhite
Card
#fcfcfcsnow
#070802black
Card foreground
#0d0f05black
#ffffffwhite
Popover
#fcfcfcsnow
#070802black
Popover foreground
#0d0f05black
#ffffffwhite
Primary
#ddf570khaki
#ddf570khaki
Primary foreground
#283003black
#283003black
Secondary
#70ddf5lightskyblue
#70ddf5lightskyblue
Secondary foreground
#032830black
#032830black
Muted
#eef5f6whitesmoke
#090f11black
Muted foreground
#5b6d71dimgray
#8ea0a4darkgray
Accent
#f570ddviolet
#f570ddviolet
Accent foreground
#300328black
#300328black
Destructive
#a82a00firebrick
#ff5b24tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ddf570khaki
#ddf570khaki

Contrast

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

Light mode
Text on background18.75:1AAA
Text on card18.89:1AAA
Primary button11.46:1AAA
Secondary button9.86:1AAA
Muted text4.91:1AA
Accent7.04:1AAA
Destructive6.99:1AA
Dark mode
Text on background20.19:1AAA
Text on card20.12:1AAA
Primary button11.46:1AAA
Secondary button9.86:1AAA
Muted text7.08:1AAA
Accent7.04:1AAA
Destructive6.75:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.18 0.025 117.188);
  --muted: oklch(0.965 0.007 212.668);
  --muted-foreground: oklch(0.522 0.023 212.808);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.164 0.022 116.631);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.164 0.022 116.631);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.926 0.16 118.309);
  --primary-foreground: oklch(0.29 0.065 119.769);
  --secondary: oklch(0.841 0.105 214.349);
  --secondary-foreground: oklch(0.254 0.042 216.291);
  --accent: oklch(0.739 0.205 335.026);
  --accent-foreground: oklch(0.215 0.086 336.728);
  --destructive: oklch(0.483 0.168 35.357);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.926 0.16 118.309);
  --chart-1: oklch(0.926 0.16 118.309);
  --chart-2: oklch(0.841 0.105 214.349);
  --chart-3: oklch(0.739 0.205 335.026);
  --chart-4: oklch(0.855 0.097 213.941);
  --chart-5: oklch(0.932 0.165 118.404);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.102 0.014 115.474);
  --foreground: oklch(0.994 0.002 114.868);
  --muted: oklch(0.163 0.011 212.886);
  --muted-foreground: oklch(0.693 0.022 212.736);
  --popover: oklch(0.129 0.017 115.474);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.129 0.017 115.474);
  --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.926 0.16 118.309);
  --primary-foreground: oklch(0.29 0.065 119.769);
  --secondary: oklch(0.841 0.105 214.349);
  --secondary-foreground: oklch(0.254 0.042 216.291);
  --accent: oklch(0.739 0.205 335.026);
  --accent-foreground: oklch(0.215 0.086 336.728);
  --destructive: oklch(0.683 0.21 37.213);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.926 0.16 118.309);
  --chart-1: oklch(0.926 0.16 118.309);
  --chart-2: oklch(0.841 0.105 214.349);
  --chart-3: oklch(0.739 0.205 335.026);
  --chart-4: oklch(0.855 0.097 213.941);
  --chart-5: oklch(0.932 0.165 118.404);
}