Unwieldy for shadcn/ui

Unwieldy is a shadcn/ui theme built around a muted blue primary color (#b3b6c7) with muted violet accents (#b9b3c7). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the muted blue primary (#b3b6c7) on a blue-tinted background (#040610).

Color palette

TokenLightDark
Background
#fbfcfewhite
#040610black
Foreground
#020308black
#f6f6f9whitesmoke
Card
#fbfcfewhite
#040610black
Card foreground
#020308black
#f6f6f9whitesmoke
Popover
#fbfcfewhite
#040610black
Popover foreground
#020308black
#f6f6f9whitesmoke
Primary
#b3b6c7silver
#b3b6c7silver
Primary foreground
#1e2029black
#1e2029black
Secondary
#b3c0c7silver
#b3c0c7silver
Secondary foreground
#1e2629darkslategray
#1e2629darkslategray
Muted
#f0f3f4whitesmoke
#0b0d0fblack
Muted foreground
#5c5f61dimgray
#9ea2a3darkgray
Accent
#b9b3c7silver
#b9b3c7silver
Accent foreground
#221e29black
#221e29black
Destructive
#7d2e0csaddlebrown
#e85617chocolate
Destructive foreground
#f9d3c3peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b3b6c7silver
#b3b6c7silver

Contrast

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

Light mode
Text on background20.03:1AAA
Text on card20.03:1AAA
Primary button8.08:1AAA
Secondary button8.28:1AAA
Muted text5.77:1AA
Accent8.02:1AAA
Destructive6.64:1AA
Dark mode
Text on background18.71:1AAA
Text on card18.71:1AAA
Primary button8.08:1AAA
Secondary button8.28:1AAA
Muted text7.54:1AAA
Accent8.02:1AAA
Destructive3.64:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 276.129);
  --foreground: oklch(0.099 0.02 267.503);
  --muted: oklch(0.962 0.003 226.895);
  --muted-foreground: oklch(0.484 0.006 227.003);
  --popover: oklch(0.99 0.003 276.129);
  --popover-foreground: oklch(0.099 0.02 267.503);
  --card: oklch(0.99 0.003 276.129);
  --card-foreground: oklch(0.099 0.02 267.503);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.78 0.023 275.757);
  --primary-foreground: oklch(0.247 0.017 275.167);
  --secondary: oklch(0.8 0.017 227.14);
  --secondary-foreground: oklch(0.261 0.012 227.54);
  --accent: oklch(0.777 0.029 300.158);
  --accent-foreground: oklch(0.245 0.021 299.365);
  --destructive: oklch(0.412 0.118 40.499);
  --destructive-foreground: oklch(0.895 0.048 44.517);
  --ring: oklch(0.78 0.023 275.757);
  --chart-1: oklch(0.78 0.023 275.757);
  --chart-2: oklch(0.8 0.017 227.14);
  --chart-3: oklch(0.777 0.029 300.158);
  --chart-4: oklch(0.824 0.015 227.096);
  --chart-5: oklch(0.776 0.028 275.666);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.127 0.024 269.462);
  --foreground: oklch(0.975 0.003 276.12);
  --muted: oklch(0.159 0.005 227.252);
  --muted-foreground: oklch(0.709 0.005 226.946);
  --popover: oklch(0.127 0.024 269.462);
  --popover-foreground: oklch(0.975 0.003 276.12);
  --card: oklch(0.127 0.024 269.462);
  --card-foreground: oklch(0.975 0.003 276.12);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.78 0.023 275.757);
  --primary-foreground: oklch(0.247 0.017 275.167);
  --secondary: oklch(0.8 0.017 227.14);
  --secondary-foreground: oklch(0.261 0.012 227.54);
  --accent: oklch(0.777 0.029 300.158);
  --accent-foreground: oklch(0.245 0.021 299.365);
  --destructive: oklch(0.641 0.193 39.595);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.78 0.023 275.757);
  --chart-1: oklch(0.78 0.023 275.757);
  --chart-2: oklch(0.8 0.017 227.14);
  --chart-3: oklch(0.777 0.029 300.158);
  --chart-4: oklch(0.824 0.015 227.096);
  --chart-5: oklch(0.776 0.028 275.666);
}