Autumn Night Moose for shadcn/ui

Autumn Night Moose is a shadcn/ui theme built around a muted cyan primary color (#375862) with muted cyan accents (#b5c1c4). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the muted cyan primary (#375862) on a cyan-tinted background (#060c0e).

Color palette

TokenLightDark
Background
#f8fbfcghostwhite
#060c0eblack
Foreground
#040a0cblack
#ffffffwhite
Card
#f8fbfcghostwhite
#060c0eblack
Card foreground
#040a0cblack
#ffffffwhite
Popover
#f8fbfcghostwhite
#060c0eblack
Popover foreground
#040a0cblack
#ffffffwhite
Primary
#375862darkslategray
#375862darkslategray
Primary foreground
#dee9edlavender
#dee9edlavender
Secondary
#d3d4d4lightgrey
#1c2427black
Secondary foreground
#3a3b3bdarkslategray
#aec0c6silver
Muted
#d8e9eelavender
#112227black
Muted foreground
#3d4d51darkslategray
#aebdc2silver
Accent
#b5c1c4silver
#293c42darkslategray
Accent foreground
#202628darkslategray
#c3d5dalightgrey
Destructive
#5c1e0amaroon
#e85726chocolate
Destructive foreground
#f5b7a3lightpink
#ffffffwhite
Border
#e1e4e5gainsboro
#1a1d1eblack
Input
#e1e4e5gainsboro
#1a1d1eblack
Ring
#375862darkslategray
#375862darkslategray

Contrast

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

Light mode
Text on background19.14:1AAA
Text on card19.14:1AAA
Primary button6.21:1AA
Secondary button7.56:1AAA
Muted text7.05:1AAA
Accent8.29:1AAA
Destructive7.37:1AAA
Dark mode
Text on background19.65:1AAA
Text on card19.65:1AAA
Primary button6.21:1AA
Secondary button8.37:1AAA
Muted text8.47:1AAA
Accent7.57:1AAA
Destructive3.60:1AA Large

CSS variables

Paste this into your globals.css to use Autumn Night Moose in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.003 217.76);
  --foreground: oklch(0.137 0.013 214.044);
  --muted: oklch(0.922 0.019 217.882);
  --muted-foreground: oklch(0.408 0.021 218.208);
  --popover: oklch(0.986 0.003 217.76);
  --popover-foreground: oklch(0.137 0.013 214.044);
  --card: oklch(0.986 0.003 217.76);
  --card-foreground: oklch(0.137 0.013 214.044);
  --border: oklch(0.917 0.004 217.767);
  --input: oklch(0.917 0.004 217.767);
  --primary: oklch(0.439 0.042 219.066);
  --primary-foreground: oklch(0.928 0.013 217.827);
  --secondary: oklch(0.869 0.001 217.748);
  --secondary-foreground: oklch(0.351 0.001 217.764);
  --accent: oklch(0.802 0.013 217.849);
  --accent-foreground: oklch(0.263 0.009 218.018);
  --destructive: oklch(0.33 0.096 37.757);
  --destructive-foreground: oklch(0.832 0.078 39.22);
  --ring: oklch(0.439 0.042 219.066);
  --chart-1: oklch(0.439 0.042 219.066);
  --chart-2: oklch(0.869 0.001 217.748);
  --chart-3: oklch(0.802 0.013 217.849);
  --chart-4: oklch(0.893 0.001 217.747);
  --chart-5: oklch(0.442 0.045 219.298);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.15 0.011 216.993);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.239 0.024 219.28);
  --muted-foreground: oklch(0.788 0.018 217.901);
  --popover: oklch(0.15 0.011 216.993);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.15 0.011 216.993);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.229 0.006 217.911);
  --input: oklch(0.229 0.006 217.911);
  --primary: oklch(0.439 0.042 219.066);
  --primary-foreground: oklch(0.928 0.013 217.827);
  --secondary: oklch(0.254 0.013 218.222);
  --secondary-foreground: oklch(0.797 0.021 217.931);
  --accent: oklch(0.344 0.027 218.686);
  --accent-foreground: oklch(0.86 0.021 217.909);
  --destructive: oklch(0.643 0.19 37.607);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.439 0.042 219.066);
  --chart-1: oklch(0.439 0.042 219.066);
  --chart-2: oklch(0.254 0.013 218.222);
  --chart-3: oklch(0.344 0.027 218.686);
  --chart-4: oklch(0.287 0.016 218.262);
  --chart-5: oklch(0.442 0.045 219.298);
}