Adora Wildfowl for shadcn/ui

Adora Wildfowl is a shadcn/ui theme built around an indigo primary color (#948ecd) with near-white accents (#eae9ec). The light mode uses a neutral background (#f8f7fc). Dark mode keeps the indigo primary (#948ecd) on an indigo-tinted background (#05040b).

Color palette

TokenLightDark
Background
#f8f7fcghostwhite
#05040bblack
Foreground
#050410black
#f8f8fcghostwhite
Card
#f4f4fbwhitesmoke
#06050fblack
Card foreground
#04030cblack
#fcfcfdwhite
Popover
#f4f4fbwhitesmoke
#06050fblack
Popover foreground
#04030cblack
#fcfcfdwhite
Primary
#948ecdmediumpurple
#948ecdmediumpurple
Primary foreground
#0e0c1cblack
#0e0c1cblack
Secondary
#eae9eclavender
#161519black
Secondary foreground
#4e4d56darkslategray
#acaab5darkgray
Muted
#e4e3edlavender
#13121cblack
Muted foreground
#3d3d43darkslategray
#bdbcc2silver
Accent
#eae9eclavender
#161519black
Accent foreground
#4e4d56darkslategray
#acaab5darkgray
Destructive
#ae1409firebrick
#ed1b0cred
Destructive foreground
#feedeclinen
#ffffffwhite
Border
#e0dfe7gainsboro
#22212cdarkslategray
Input
#e0dfe7gainsboro
#22212cdarkslategray
Ring
#948ecdmediumpurple
#948ecdmediumpurple

Contrast

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

Light mode
Text on background19.14:1AAA
Text on card18.69:1AAA
Primary button6.42:1AA
Secondary button6.90:1AA
Muted text8.50:1AAA
Accent6.90:1AA
Destructive6.36:1AA
Dark mode
Text on background19.27:1AAA
Text on card19.73:1AAA
Primary button6.42:1AA
Secondary button7.92:1AAA
Muted text9.82:1AAA
Accent7.92:1AAA
Destructive4.39:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.979 0.007 290.883);
  --foreground: oklch(0.12 0.03 287.297);
  --muted: oklch(0.921 0.012 290.759);
  --muted-foreground: oklch(0.361 0.011 290.44);
  --popover: oklch(0.968 0.01 290.815);
  --popover-foreground: oklch(0.109 0.026 287.955);
  --card: oklch(0.968 0.01 290.815);
  --card-foreground: oklch(0.109 0.026 287.955);
  --border: oklch(0.907 0.011 290.792);
  --input: oklch(0.907 0.011 290.792);
  --primary: oklch(0.675 0.093 288.213);
  --primary-foreground: oklch(0.168 0.033 286.886);
  --secondary: oklch(0.936 0.003 290.948);
  --secondary-foreground: oklch(0.424 0.016 290.287);
  --accent: oklch(0.936 0.003 290.948);
  --accent-foreground: oklch(0.424 0.016 290.287);
  --destructive: oklch(0.48 0.187 29.745);
  --destructive-foreground: oklch(0.959 0.019 22.441);
  --ring: oklch(0.675 0.093 288.213);
  --chart-1: oklch(0.675 0.093 288.213);
  --chart-2: oklch(0.936 0.003 290.948);
  --chart-3: oklch(0.936 0.003 290.948);
  --chart-4: oklch(0.96 0.002 290.974);
  --chart-5: oklch(0.67 0.1 287.946);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.114 0.02 288.828);
  --foreground: oklch(0.981 0.005 290.92);
  --muted: oklch(0.189 0.019 289.083);
  --muted-foreground: oklch(0.798 0.009 290.803);
  --popover: oklch(0.126 0.024 288.303);
  --popover-foreground: oklch(0.99 0.002 290.968);
  --card: oklch(0.126 0.024 288.303);
  --card-foreground: oklch(0.99 0.002 290.968);
  --border: oklch(0.253 0.02 289.464);
  --input: oklch(0.253 0.02 289.464);
  --primary: oklch(0.675 0.093 288.213);
  --primary-foreground: oklch(0.168 0.033 286.886);
  --secondary: oklch(0.199 0.006 290.403);
  --secondary-foreground: oklch(0.744 0.016 290.612);
  --accent: oklch(0.199 0.006 290.403);
  --accent-foreground: oklch(0.744 0.016 290.612);
  --destructive: oklch(0.602 0.237 29.757);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.675 0.093 288.213);
  --chart-1: oklch(0.675 0.093 288.213);
  --chart-2: oklch(0.199 0.006 290.403);
  --chart-3: oklch(0.199 0.006 290.403);
  --chart-4: oklch(0.231 0.008 290.335);
  --chart-5: oklch(0.67 0.1 287.946);
}