Wooden for shadcn/ui

Wooden is a shadcn/ui theme built around a vivid light violet primary color (#ecd1fa) with muted light violet accents (#cdbfd4). The light mode uses a neutral background (#faf8fc). Dark mode keeps the vivid light violet primary (#ecd1fa) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#faf8fcghostwhite
#000000black
Foreground
#060209black
#f8f5fawhitesmoke
Card
#faf8fcghostwhite
#000000black
Card foreground
#060209black
#f8f5fawhitesmoke
Popover
#faf8fcghostwhite
#000000black
Popover foreground
#060209black
#f8f5fawhitesmoke
Primary
#ecd1falavender
#ecd1falavender
Primary foreground
#5f0f8aindigo
#5f0f8aindigo
Secondary
#dfd9e3gainsboro
#342e38darkslategray
Secondary foreground
#483b4fdarkslategray
#cdc7d1lightgrey
Muted
#f0eef1whitesmoke
#100e11black
Muted foreground
#504a54darkslategray
#b1abb5darkgray
Accent
#cdbfd4thistle
#4b3c53darkslategray
Accent foreground
#33273adarkslategray
#e2dce5gainsboro
Destructive
#8e160bdarkred
#d52110firebrick
Destructive foreground
#fbd3d0pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ecd1falavender
#ecd1falavender

Contrast

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

Light mode
Text on background19.53:1AAA
Text on card19.53:1AAA
Primary button7.82:1AAA
Secondary button7.53:1AAA
Muted text7.45:1AAA
Accent8.02:1AAA
Destructive6.74:1AA
Dark mode
Text on background19.43:1AAA
Text on card19.43:1AAA
Primary button7.82:1AAA
Secondary button7.92:1AAA
Muted text8.56:1AAA
Accent7.54:1AAA
Destructive5.16:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.005 314.192);
  --foreground: oklch(0.101 0.029 316.698);
  --muted: oklch(0.952 0.004 314.198);
  --muted-foreground: oklch(0.42 0.017 313.992);
  --popover: oklch(0.982 0.005 314.192);
  --popover-foreground: oklch(0.101 0.029 316.698);
  --card: oklch(0.982 0.005 314.192);
  --card-foreground: oklch(0.101 0.029 316.698);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.895 0.063 313.836);
  --primary-foreground: oklch(0.383 0.183 308.767);
  --secondary: oklch(0.893 0.015 314.126);
  --secondary-foreground: oklch(0.373 0.039 313.645);
  --accent: oklch(0.822 0.033 313.998);
  --accent-foreground: oklch(0.295 0.038 313.491);
  --destructive: oklch(0.418 0.156 30.056);
  --destructive-foreground: oklch(0.901 0.046 24.146);
  --ring: oklch(0.895 0.063 313.836);
  --chart-1: oklch(0.895 0.063 313.836);
  --chart-2: oklch(0.893 0.015 314.126);
  --chart-3: oklch(0.822 0.033 313.998);
  --chart-4: oklch(0.918 0.012 314.15);
  --chart-5: oklch(0.894 0.065 313.821);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.974 0.007 314.182);
  --muted: oklch(0.167 0.006 314.034);
  --muted-foreground: oklch(0.75 0.015 314.109);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.974 0.007 314.182);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.974 0.007 314.182);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.895 0.063 313.836);
  --primary-foreground: oklch(0.383 0.183 308.767);
  --secondary: oklch(0.313 0.018 313.902);
  --secondary-foreground: oklch(0.838 0.014 314.126);
  --accent: oklch(0.381 0.043 313.6);
  --accent-foreground: oklch(0.901 0.015 314.129);
  --destructive: oklch(0.56 0.214 30.093);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.895 0.063 313.836);
  --chart-1: oklch(0.895 0.063 313.836);
  --chart-2: oklch(0.313 0.018 313.902);
  --chart-3: oklch(0.381 0.043 313.6);
  --chart-4: oklch(0.342 0.02 313.893);
  --chart-5: oklch(0.894 0.065 313.821);
}