Just Autumn Fog for shadcn/ui

Just Autumn Fog is a shadcn/ui theme built around a muted cyan primary color (#afb9bb) with muted green accents (#b9bbaf). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted cyan primary (#afb9bb) on a neutral background (#030607).

Color palette

TokenLightDark
Background
#ffffffwhite
#030607black
Foreground
#020809black
#fcfdfdwhite
Card
#ffffffwhite
#030607black
Card foreground
#020809black
#fcfdfdwhite
Popover
#ffffffwhite
#030607black
Popover foreground
#020809black
#fcfdfdwhite
Primary
#afb9bbsilver
#afb9bbsilver
Primary foreground
#1a1e1eblack
#1a1e1eblack
Secondary
#bbafb9silver
#bbafb9silver
Secondary foreground
#1e1a1eblack
#1e1a1eblack
Muted
#ebd1e7gainsboro
#2e142bblack
Muted foreground
#483d46darkslategray
#c2b7c1silver
Accent
#b9bbafsilver
#b9bbafsilver
Accent foreground
#1e1e1ablack
#1e1e1ablack
Destructive
#a13502saddlebrown
#f14f04orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#edeeeewhitesmoke
#232425darkslategray
Input
#edeeeewhitesmoke
#232425darkslategray
Ring
#afb9bbsilver
#afb9bbsilver

Contrast

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

Light mode
Text on background20.16:1AAA
Text on card20.16:1AAA
Primary button8.42:1AAA
Secondary button8.15:1AAA
Muted text7.28:1AAA
Accent8.59:1AAA
Destructive6.97:1AA
Dark mode
Text on background19.90:1AAA
Text on card19.90:1AAA
Primary button8.42:1AAA
Secondary button8.15:1AAA
Muted text8.65:1AAA
Accent8.59:1AAA
Destructive3.58:1AA Large

CSS variables

Paste this into your globals.css to use Just Autumn Fog in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.123 0.015 204.378);
  --muted: oklch(0.888 0.041 330.241);
  --muted-foreground: oklch(0.374 0.021 330.353);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.123 0.015 204.378);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.123 0.015 204.378);
  --border: oklch(0.947 0.001 207.929);
  --input: oklch(0.947 0.001 207.929);
  --primary: oklch(0.779 0.012 207.876);
  --primary-foreground: oklch(0.23 0.006 207.849);
  --secondary: oklch(0.767 0.02 329.993);
  --secondary-foreground: oklch(0.224 0.01 330.226);
  --accent: oklch(0.787 0.016 112.935);
  --accent-foreground: oklch(0.234 0.008 113.215);
  --destructive: oklch(0.481 0.152 39.305);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.779 0.012 207.876);
  --chart-1: oklch(0.779 0.012 207.876);
  --chart-2: oklch(0.767 0.02 329.993);
  --chart-3: oklch(0.787 0.016 112.935);
  --chart-4: oklch(0.792 0.017 329.951);
  --chart-5: oklch(0.782 0.016 207.861);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.008 205.774);
  --foreground: oklch(0.993 0.001 207.931);
  --muted: oklch(0.24 0.055 332.277);
  --muted-foreground: oklch(0.792 0.017 329.951);
  --popover: oklch(0.12 0.008 205.774);
  --popover-foreground: oklch(0.993 0.001 207.931);
  --card: oklch(0.12 0.008 205.774);
  --card-foreground: oklch(0.993 0.001 207.931);
  --border: oklch(0.261 0.003 207.89);
  --input: oklch(0.261 0.003 207.89);
  --primary: oklch(0.779 0.012 207.876);
  --primary-foreground: oklch(0.23 0.006 207.849);
  --secondary: oklch(0.767 0.02 329.993);
  --secondary-foreground: oklch(0.224 0.01 330.226);
  --accent: oklch(0.787 0.016 112.935);
  --accent-foreground: oklch(0.234 0.008 113.215);
  --destructive: oklch(0.647 0.209 38.319);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.779 0.012 207.876);
  --chart-1: oklch(0.779 0.012 207.876);
  --chart-2: oklch(0.767 0.02 329.993);
  --chart-3: oklch(0.787 0.016 112.935);
  --chart-4: oklch(0.792 0.017 329.951);
  --chart-5: oklch(0.782 0.016 207.861);
}