Confused Adirondack for shadcn/ui

Confused Adirondack is a shadcn/ui theme built around a muted blue primary color (#b0b9bf) with muted green accents (#b9bfb0). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the muted blue primary (#b0b9bf) on a blue-tinted background (#05080b).

Color palette

TokenLightDark
Background
#fbfdfewhite
#05080bblack
Foreground
#010304black
#f9fafbghostwhite
Card
#f7fafcghostwhite
#060b0eblack
Card foreground
#000000black
#fcfdfdwhite
Popover
#fbfdfewhite
#05080bblack
Popover foreground
#010304black
#f9fafbghostwhite
Primary
#b0b9bfsilver
#b0b9bfsilver
Primary foreground
#1c1f22black
#1c1f22black
Secondary
#bfb0b9silver
#bfb0b9silver
Secondary foreground
#221c1fblack
#221c1fblack
Muted
#f0eaeewhitesmoke
#150f12black
Muted foreground
#535052darkslategray
#afacaedarkgray
Accent
#b9bfb0silver
#b9bfb0silver
Accent foreground
#1f221cblack
#1f221cblack
Destructive
#631609maroon
#ed4d31tomato
Destructive foreground
#f7b2a6lightpink
#ffffffwhite
Border
#eaebeblavender
#252627darkslategray
Input
#eaebeblavender
#252627darkslategray
Ring
#b0b9bfsilver
#b0b9bfsilver

Contrast

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

Light mode
Text on background20.22:1AAA
Text on card20.10:1AAA
Primary button8.31:1AAA
Secondary button8.09:1AAA
Muted text6.72:1AA
Accent8.53:1AAA
Destructive7.22:1AAA
Dark mode
Text on background19.20:1AAA
Text on card19.39:1AAA
Primary button8.31:1AAA
Secondary button8.09:1AAA
Muted text8.42:1AAA
Accent8.53:1AAA
Destructive3.68:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 236.466);
  --foreground: oklch(0.091 0.012 227.958);
  --muted: oklch(0.943 0.008 340.416);
  --muted-foreground: oklch(0.435 0.005 340.508);
  --popover: oklch(0.992 0.002 236.466);
  --popover-foreground: oklch(0.091 0.012 227.958);
  --card: oklch(0.985 0.004 236.497);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.939 0.001 236.451);
  --input: oklch(0.939 0.001 236.451);
  --primary: oklch(0.781 0.013 236.669);
  --primary-foreground: oklch(0.237 0.007 236.888);
  --secondary: oklch(0.773 0.02 340.814);
  --secondary-foreground: oklch(0.233 0.012 341.333);
  --accent: oklch(0.795 0.021 124.722);
  --accent-foreground: oklch(0.246 0.012 125.049);
  --destructive: oklch(0.331 0.111 32.366);
  --destructive-foreground: oklch(0.825 0.083 30.165);
  --ring: oklch(0.781 0.013 236.669);
  --chart-1: oklch(0.781 0.013 236.669);
  --chart-2: oklch(0.773 0.02 340.814);
  --chart-3: oklch(0.795 0.021 124.722);
  --chart-4: oklch(0.798 0.018 340.733);
  --chart-5: oklch(0.781 0.016 236.741);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.132 0.01 231.44);
  --foreground: oklch(0.985 0.002 236.469);
  --muted: oklch(0.177 0.012 341.667);
  --muted-foreground: oklch(0.747 0.005 340.373);
  --popover: oklch(0.132 0.01 231.44);
  --popover-foreground: oklch(0.985 0.002 236.469);
  --card: oklch(0.145 0.011 234.816);
  --card-foreground: oklch(0.992 0.001 236.452);
  --border: oklch(0.27 0.003 236.576);
  --input: oklch(0.27 0.003 236.576);
  --primary: oklch(0.781 0.013 236.669);
  --primary-foreground: oklch(0.237 0.007 236.888);
  --secondary: oklch(0.773 0.02 340.814);
  --secondary-foreground: oklch(0.233 0.012 341.333);
  --accent: oklch(0.795 0.021 124.722);
  --accent-foreground: oklch(0.246 0.012 125.049);
  --destructive: oklch(0.64 0.201 32.376);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.781 0.013 236.669);
  --chart-1: oklch(0.781 0.013 236.669);
  --chart-2: oklch(0.773 0.02 340.814);
  --chart-3: oklch(0.795 0.021 124.722);
  --chart-4: oklch(0.798 0.018 340.733);
  --chart-5: oklch(0.781 0.016 236.741);
}