Unwieldy for shadcn/ui

Unwieldy is a shadcn/ui theme built around a light green primary color (#e1f5d1) with light pink accents (#f5d1e1). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#e1f5d1) on a neutral background (#050802).

Color palette

TokenLightDark
Background
#ffffffwhite
#050802black
Foreground
#000000black
#fcfdfcwhite
Card
#ffffffwhite
#050802black
Card foreground
#000000black
#fcfdfcwhite
Popover
#ffffffwhite
#050802black
Popover foreground
#000000black
#fcfdfcwhite
Primary
#e1f5d1beige
#e1f5d1beige
Primary foreground
#162508black
#162508black
Secondary
#d1e1f5lavender
#d1e1f5lavender
Secondary foreground
#1b4579midnightblue
#1b4579midnightblue
Muted
#dbe2ebgainsboro
#141b24black
Muted foreground
#3b444fdarkslategray
#b0b9c4silver
Accent
#f5d1e1mistyrose
#f5d1e1mistyrose
Accent foreground
#791b45brown
#791b45brown
Destructive
#8f1500darkred
#ff3c19orangered
Destructive foreground
#ffcbc2pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e1f5d1beige
#e1f5d1beige

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button13.93:1AAA
Secondary button7.27:1AAA
Muted text7.57:1AAA
Accent7.34:1AAA
Destructive6.40:1AA
Dark mode
Text on background19.76:1AAA
Text on card19.76:1AAA
Primary button13.93:1AAA
Secondary button7.27:1AAA
Muted text8.71:1AAA
Accent7.34:1AAA
Destructive3.55:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.91 0.014 253.32);
  --muted-foreground: oklch(0.382 0.023 253.558);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.945 0.051 130.958);
  --primary-foreground: oklch(0.244 0.054 133.227);
  --secondary: oklch(0.904 0.032 253.432);
  --secondary-foreground: oklch(0.39 0.099 255.169);
  --accent: oklch(0.896 0.044 349.125);
  --accent-foreground: oklch(0.392 0.132 357.969);
  --destructive: oklch(0.418 0.158 32.104);
  --destructive-foreground: oklch(0.885 0.061 29.871);
  --ring: oklch(0.945 0.051 130.958);
  --chart-1: oklch(0.945 0.051 130.958);
  --chart-2: oklch(0.904 0.032 253.432);
  --chart-3: oklch(0.896 0.044 349.125);
  --chart-4: oklch(0.93 0.023 253.375);
  --chart-5: oklch(0.947 0.053 130.982);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.127 0.021 129.093);
  --foreground: oklch(0.993 0.001 130.445);
  --muted: oklch(0.22 0.02 253.705);
  --muted-foreground: oklch(0.782 0.019 253.374);
  --popover: oklch(0.127 0.021 129.093);
  --popover-foreground: oklch(0.993 0.001 130.445);
  --card: oklch(0.127 0.021 129.093);
  --card-foreground: oklch(0.993 0.001 130.445);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.945 0.051 130.958);
  --primary-foreground: oklch(0.244 0.054 133.227);
  --secondary: oklch(0.904 0.032 253.432);
  --secondary-foreground: oklch(0.39 0.099 255.169);
  --accent: oklch(0.896 0.044 349.125);
  --accent-foreground: oklch(0.392 0.132 357.969);
  --destructive: oklch(0.653 0.234 32.093);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.945 0.051 130.958);
  --chart-1: oklch(0.945 0.051 130.958);
  --chart-2: oklch(0.904 0.032 253.432);
  --chart-3: oklch(0.896 0.044 349.125);
  --chart-4: oklch(0.93 0.023 253.375);
  --chart-5: oklch(0.947 0.053 130.982);
}