Deployment for shadcn/ui

Deployment is a shadcn/ui theme built around a muted deep green primary color (#383d2e) with muted deep violet accents (#332e3d). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the muted deep green primary (#383d2e) on a neutral background (#060703).

Color palette

TokenLightDark
Background
#fdfdfcwhite
#060703black
Foreground
#0f1505black
#ffffffwhite
Card
#fafcf8snow
#090b05black
Card foreground
#0c1104black
#ffffffwhite
Popover
#fdfdfcwhite
#060703black
Popover foreground
#0f1505black
#ffffffwhite
Primary
#383d2edarkslategray
#383d2edarkslategray
Primary foreground
#d1d5c8lightgrey
#d1d5c8lightgrey
Secondary
#332e3ddarkslategray
#332e3ddarkslategray
Secondary foreground
#ccc8d5lightgrey
#ccc8d5lightgrey
Muted
#e1dee8gainsboro
#1a1721black
Muted foreground
#656468dimgray
#98979bdarkgray
Accent
#332e3ddarkslategray
#332e3ddarkslategray
Accent foreground
#ccc8d5lightgrey
#ccc8d5lightgrey
Destructive
#a32505firebrick
#f85025orangered
Destructive foreground
#fee3dcmistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#383d2edarkslategray
#383d2edarkslategray

Contrast

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

Light mode
Text on background18.28:1AAA
Text on card18.51:1AAA
Primary button7.49:1AAA
Secondary button7.99:1AAA
Muted text4.42:1AA Large
Accent7.99:1AAA
Destructive6.09:1AA
Dark mode
Text on background20.19:1AAA
Text on card19.81:1AAA
Primary button7.49:1AAA
Secondary button7.99:1AAA
Muted text6.08:1AA
Accent7.99:1AAA
Destructive3.40:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 121.532);
  --foreground: oklch(0.184 0.032 123.88);
  --muted: oklch(0.906 0.014 301.243);
  --muted-foreground: oklch(0.506 0.007 301.284);
  --popover: oklch(0.994 0.002 121.532);
  --popover-foreground: oklch(0.184 0.032 123.88);
  --card: oklch(0.988 0.005 121.572);
  --card-foreground: oklch(0.167 0.028 122.97);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.351 0.026 122.714);
  --primary-foreground: oklch(0.867 0.019 121.847);
  --secondary: oklch(0.313 0.027 300.078);
  --secondary-foreground: oklch(0.84 0.019 301.124);
  --accent: oklch(0.313 0.027 300.078);
  --accent-foreground: oklch(0.84 0.019 301.124);
  --destructive: oklch(0.469 0.167 33.603);
  --destructive-foreground: oklch(0.936 0.031 34.304);
  --ring: oklch(0.351 0.026 122.714);
  --chart-1: oklch(0.351 0.026 122.714);
  --chart-2: oklch(0.313 0.027 300.078);
  --chart-3: oklch(0.313 0.027 300.078);
  --chart-4: oklch(0.341 0.03 300.037);
  --chart-5: oklch(0.355 0.031 122.959);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.014 121.242);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.213 0.02 299.951);
  --muted-foreground: oklch(0.679 0.006 301.348);
  --popover: oklch(0.125 0.014 121.242);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.143 0.016 121.29);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.351 0.026 122.714);
  --primary-foreground: oklch(0.867 0.019 121.847);
  --secondary: oklch(0.313 0.027 300.078);
  --secondary-foreground: oklch(0.84 0.019 301.124);
  --accent: oklch(0.313 0.027 300.078);
  --accent-foreground: oklch(0.84 0.019 301.124);
  --destructive: oklch(0.661 0.212 34.628);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.351 0.026 122.714);
  --chart-1: oklch(0.351 0.026 122.714);
  --chart-2: oklch(0.313 0.027 300.078);
  --chart-3: oklch(0.313 0.027 300.078);
  --chart-4: oklch(0.341 0.03 300.037);
  --chart-5: oklch(0.355 0.031 122.959);
}