Wooden for shadcn/ui

Wooden is a shadcn/ui theme built around a teal primary color (#57a284) with pink accents (#a25775). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the teal primary (#57a284) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfdfdwhite
#000000black
Foreground
#020806black
#ffffffwhite
Card
#fcfdfdwhite
#000000black
Card foreground
#020806black
#ffffffwhite
Popover
#fcfdfdwhite
#000000black
Popover foreground
#020806black
#ffffffwhite
Primary
#57a284cadetblue
#57a284cadetblue
Primary foreground
#000000black
#000000black
Secondary
#a25775indianred
#a25775indianred
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#efe1e7mistyrose
#1e1016black
Muted foreground
#483c41darkslategray
#c3b7bcsilver
Accent
#a25775indianred
#a25775indianred
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#af360efirebrick
#d94312chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#57a284cadetblue
#57a284cadetblue

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 button6.94:1AA
Secondary button5.02:1AA
Muted text8.31:1AAA
Accent5.02:1AA
Destructive6.26:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button6.94:1AA
Secondary button5.02:1AA
Muted text9.48:1AAA
Accent5.02:1AA
Destructive4.40:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 170.566);
  --foreground: oklch(0.124 0.015 170.879);
  --muted: oklch(0.923 0.016 351.112);
  --muted-foreground: oklch(0.372 0.018 351.97);
  --popover: oklch(0.993 0.002 170.566);
  --popover-foreground: oklch(0.124 0.015 170.879);
  --card: oklch(0.993 0.002 170.566);
  --card-foreground: oklch(0.124 0.015 170.879);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.656 0.088 165.807);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.555 0.105 355.657);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.555 0.105 355.657);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.508 0.163 36.594);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.656 0.088 165.807);
  --chart-1: oklch(0.656 0.088 165.807);
  --chart-2: oklch(0.555 0.105 355.657);
  --chart-3: oklch(0.555 0.105 355.657);
  --chart-4: oklch(0.581 0.101 355.278);
  --chart-5: oklch(0.664 0.096 165.331);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.195 0.024 353.928);
  --muted-foreground: oklch(0.79 0.015 351.155);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.656 0.088 165.807);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.555 0.105 355.657);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.555 0.105 355.657);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.595 0.194 36.347);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.656 0.088 165.807);
  --chart-1: oklch(0.656 0.088 165.807);
  --chart-2: oklch(0.555 0.105 355.657);
  --chart-3: oklch(0.555 0.105 355.657);
  --chart-4: oklch(0.581 0.101 355.278);
  --chart-5: oklch(0.664 0.096 165.331);
}