Wee for shadcn/ui

Wee is a shadcn/ui theme built around a muted red primary color (#b78b8a) with muted teal accents (#8ab7b7). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the muted red primary (#b78b8a) on a red-tinted background (#0a0505).

Color palette

TokenLightDark
Background
#fcf8f8snow
#0a0505black
Foreground
#040101black
#f8f6f6whitesmoke
Card
#fcf8f8snow
#0a0505black
Card foreground
#040101black
#f8f6f6whitesmoke
Popover
#fcf8f8snow
#0a0505black
Popover foreground
#040101black
#f8f6f6whitesmoke
Primary
#b78b8arosybrown
#b78b8arosybrown
Primary foreground
#090606black
#090606black
Secondary
#8ab7b7darkgray
#8ab7b7darkgray
Secondary foreground
#060909black
#060909black
Muted
#dce5e5gainsboro
#1a2323black
Muted foreground
#454a4adarkslategray
#b5babasilver
Accent
#8ab7b7darkgray
#8ab7b7darkgray
Accent foreground
#060909black
#060909black
Destructive
#9d2207firebrick
#e6320aorangered
Destructive foreground
#fddfd8mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b78b8arosybrown
#b78b8arosybrown

Contrast

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

Light mode
Text on background19.73:1AAA
Text on card19.73:1AAA
Primary button6.79:1AA
Secondary button9.04:1AAA
Muted text7.02:1AAA
Accent9.04:1AAA
Destructive6.28:1AA
Dark mode
Text on background18.78:1AAA
Text on card18.78:1AAA
Primary button6.79:1AA
Secondary button9.04:1AAA
Muted text8.15:1AAA
Accent9.04:1AAA
Destructive4.34:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.004 18.42);
  --foreground: oklch(0.082 0.016 22.837);
  --muted: oklch(0.915 0.01 198.194);
  --muted-foreground: oklch(0.405 0.007 198.094);
  --popover: oklch(0.982 0.004 18.42);
  --popover-foreground: oklch(0.082 0.016 22.837);
  --card: oklch(0.982 0.004 18.42);
  --card-foreground: oklch(0.082 0.016 22.837);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.678 0.055 19.714);
  --primary-foreground: oklch(0.127 0.008 19.559);
  --secondary: oklch(0.746 0.047 197.487);
  --secondary-foreground: oklch(0.137 0.007 197.478);
  --accent: oklch(0.746 0.047 197.487);
  --accent-foreground: oklch(0.137 0.007 197.478);
  --destructive: oklch(0.455 0.162 33.103);
  --destructive-foreground: oklch(0.926 0.035 32.717);
  --ring: oklch(0.678 0.055 19.714);
  --chart-1: oklch(0.678 0.055 19.714);
  --chart-2: oklch(0.746 0.047 197.487);
  --chart-3: oklch(0.746 0.047 197.487);
  --chart-4: oklch(0.767 0.044 197.569);
  --chart-5: oklch(0.675 0.062 19.919);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.126 0.01 19.994);
  --foreground: oklch(0.976 0.002 18.397);
  --muted: oklch(0.248 0.014 197.594);
  --muted-foreground: oklch(0.786 0.006 198.243);
  --popover: oklch(0.126 0.01 19.994);
  --popover-foreground: oklch(0.976 0.002 18.397);
  --card: oklch(0.126 0.01 19.994);
  --card-foreground: oklch(0.976 0.002 18.397);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.678 0.055 19.714);
  --primary-foreground: oklch(0.127 0.008 19.559);
  --secondary: oklch(0.746 0.047 197.487);
  --secondary-foreground: oklch(0.137 0.007 197.478);
  --accent: oklch(0.746 0.047 197.487);
  --accent-foreground: oklch(0.137 0.007 197.478);
  --destructive: oklch(0.602 0.219 32.707);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.678 0.055 19.714);
  --chart-1: oklch(0.678 0.055 19.714);
  --chart-2: oklch(0.746 0.047 197.487);
  --chart-3: oklch(0.746 0.047 197.487);
  --chart-4: oklch(0.767 0.044 197.569);
  --chart-5: oklch(0.675 0.062 19.919);
}