Shutdown for shadcn/ui

Shutdown is a shadcn/ui theme built around a muted green primary color (#85b177) with muted light green accents (#c2d2bc). The light mode uses a neutral background (#fcfefb). Dark mode keeps the muted green primary (#85b177) on a green-tinted background (#080e06).

Color palette

TokenLightDark
Background
#fcfefbwhite
#080e06black
Foreground
#030901black
#f6f9f6whitesmoke
Card
#f9fcf8mintcream
#0a1207black
Card foreground
#020501black
#f9fbf9mintcream
Popover
#f9fcf8mintcream
#0a1207black
Popover foreground
#020501black
#f9fbf9mintcream
Primary
#85b177darkseagreen
#85b177darkseagreen
Primary foreground
#000000black
#000000black
Secondary
#d1d9celightgrey
#21291eblack
Secondary foreground
#374233darkslategray
#b7c7b2silver
Muted
#dee6dbgainsboro
#1c2419black
Muted foreground
#595959dimgray
#a6a6a6darkgray
Accent
#c2d2bcsilver
#30412adarkslategray
Accent foreground
#2a3725darkslategray
#c9d9c4lightgrey
Destructive
#9c1402darkred
#f62004red
Destructive foreground
#fed7d2bisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#85b177darkseagreen
#85b177darkseagreen

Contrast

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

Light mode
Text on background19.79:1AAA
Text on card19.82:1AAA
Primary button8.54:1AAA
Secondary button7.31:1AAA
Muted text5.47:1AA
Accent7.88:1AAA
Destructive6.31:1AA
Dark mode
Text on background18.35:1AAA
Text on card18.30:1AAA
Primary button8.54:1AAA
Secondary button8.41:1AAA
Muted text6.56:1AA
Accent7.39:1AAA
Destructive4.09:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 137.769);
  --foreground: oklch(0.128 0.03 135.408);
  --muted: oklch(0.915 0.016 137.793);
  --muted-foreground: oklch(0.465 0 180);
  --popover: oklch(0.988 0.007 137.775);
  --popover-foreground: oklch(0.101 0.024 135.408);
  --card: oklch(0.988 0.007 137.775);
  --card-foreground: oklch(0.101 0.024 135.408);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.714 0.094 138.054);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.877 0.018 137.798);
  --secondary-foreground: oklch(0.365 0.03 137.918);
  --accent: oklch(0.844 0.034 137.833);
  --accent-foreground: oklch(0.318 0.035 137.989);
  --destructive: oklch(0.443 0.17 31.024);
  --destructive-foreground: oklch(0.911 0.045 26.845);
  --ring: oklch(0.714 0.094 138.054);
  --chart-1: oklch(0.714 0.094 138.054);
  --chart-2: oklch(0.877 0.018 137.798);
  --chart-3: oklch(0.844 0.034 137.833);
  --chart-4: oklch(0.899 0.015 137.791);
  --chart-5: oklch(0.719 0.104 138.096);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.156 0.021 136.974);
  --foreground: oklch(0.979 0.005 137.772);
  --muted: oklch(0.248 0.022 137.937);
  --muted-foreground: oklch(0.724 0 180);
  --popover: oklch(0.171 0.025 137.657);
  --popover-foreground: oklch(0.986 0.004 137.769);
  --card: oklch(0.171 0.025 137.657);
  --card-foreground: oklch(0.986 0.004 137.769);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.714 0.094 138.054);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.27 0.024 137.934);
  --secondary-foreground: oklch(0.813 0.034 137.836);
  --accent: oklch(0.354 0.046 138.045);
  --accent-foreground: oklch(0.868 0.034 137.831);
  --destructive: oklch(0.62 0.243 30.595);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.714 0.094 138.054);
  --chart-1: oklch(0.714 0.094 138.054);
  --chart-2: oklch(0.27 0.024 137.934);
  --chart-3: oklch(0.354 0.046 138.045);
  --chart-4: oklch(0.304 0.028 137.945);
  --chart-5: oklch(0.719 0.104 138.096);
}