Willing for shadcn/ui

Willing is a shadcn/ui theme built around a muted light orange primary color (#e9e4e2) with muted light orange accents (#e1d7d0). The light mode uses a neutral background (#fefcfb). Dark mode keeps the muted light orange primary (#e9e4e2) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefcfbsnow
#000000black
Foreground
#140b05black
#fcf9f8snow
Card
#fefcfbsnow
#000000black
Card foreground
#140b05black
#fcf9f8snow
Popover
#fefcfbsnow
#000000black
Popover foreground
#140b05black
#fcf9f8snow
Primary
#e9e4e2gainsboro
#e9e4e2gainsboro
Primary foreground
#584941darkolivegreen
#584941darkolivegreen
Secondary
#ebe7e5linen
#2c2825darkslategray
Secondary foreground
#5b4c43darkolivegreen
#c7c0bcsilver
Muted
#f1efeewhitesmoke
#110f0eblack
Muted foreground
#444240darkslategray
#bfbcbbsilver
Accent
#e1d7d0gainsboro
#3f332cdarkslategray
Accent foreground
#4e3c32darkslategray
#d7ccc6lightgrey
Destructive
#a74811saddlebrown
#e36216chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e9e4e2gainsboro
#e9e4e2gainsboro

Contrast

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

Light mode
Text on background19.01:1AAA
Text on card19.01:1AAA
Primary button6.84:1AA
Secondary button6.68:1AA
Muted text8.74:1AAA
Accent7.33:1AAA
Destructive5.87:1AA
Dark mode
Text on background20.04:1AAA
Text on card20.04:1AAA
Primary button6.84:1AA
Secondary button8.13:1AAA
Muted text10.13:1AAA
Accent7.74:1AAA
Destructive6.02:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 52.55);
  --foreground: oklch(0.16 0.021 54.647);
  --muted: oklch(0.954 0.003 52.539);
  --muted-foreground: oklch(0.38 0.004 52.43);
  --popover: oklch(0.992 0.002 52.55);
  --popover-foreground: oklch(0.16 0.021 54.647);
  --card: oklch(0.992 0.002 52.55);
  --card-foreground: oklch(0.16 0.021 54.647);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.923 0.007 52.484);
  --primary-foreground: oklch(0.419 0.024 51.849);
  --secondary: oklch(0.931 0.006 52.495);
  --secondary-foreground: oklch(0.429 0.025 51.845);
  --accent: oklch(0.884 0.015 52.361);
  --accent-foreground: oklch(0.372 0.03 51.54);
  --destructive: oklch(0.519 0.14 44.996);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.923 0.007 52.484);
  --chart-1: oklch(0.923 0.007 52.484);
  --chart-2: oklch(0.931 0.006 52.495);
  --chart-3: oklch(0.884 0.015 52.361);
  --chart-4: oklch(0.954 0.004 52.525);
  --chart-5: oklch(0.923 0.008 52.465);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.985 0.003 52.535);
  --muted: oklch(0.17 0.004 52.24);
  --muted-foreground: oklch(0.797 0.004 52.52);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.985 0.003 52.535);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.985 0.003 52.535);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.923 0.007 52.484);
  --primary-foreground: oklch(0.419 0.024 51.849);
  --secondary: oklch(0.28 0.008 52.185);
  --secondary-foreground: oklch(0.813 0.01 52.42);
  --accent: oklch(0.332 0.021 51.759);
  --accent-foreground: oklch(0.853 0.015 52.343);
  --destructive: oklch(0.649 0.179 44.459);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.923 0.007 52.484);
  --chart-1: oklch(0.923 0.007 52.484);
  --chart-2: oklch(0.28 0.008 52.185);
  --chart-3: oklch(0.332 0.021 51.759);
  --chart-4: oklch(0.311 0.01 52.169);
  --chart-5: oklch(0.923 0.008 52.465);
}