Everyone for shadcn/ui

Everyone is a shadcn/ui theme built around a muted deep green primary color (#2d3f27) with muted deep red accents (#3f272d). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the muted deep green primary (#2d3f27) on a neutral background (#040802).

Color palette

TokenLightDark
Background
#fcfdfcwhite
#040802black
Foreground
#000000black
#f9fbf9mintcream
Card
#fcfdfcwhite
#040802black
Card foreground
#000000black
#f9fbf9mintcream
Popover
#fcfdfcwhite
#040802black
Popover foreground
#000000black
#f9fbf9mintcream
Primary
#2d3f27darkslategray
#2d3f27darkslategray
Primary foreground
#c6d8c0lightgrey
#c6d8c0lightgrey
Secondary
#272d3fdarkslategray
#272d3fdarkslategray
Secondary foreground
#c0c6d8lightsteelblue
#c0c6d8lightsteelblue
Muted
#d5dbebgainsboro
#14192ablack
Muted foreground
#5c5c5cdimgray
#a3a3a3darkgray
Accent
#3f272ddarkslategray
#3f272ddarkslategray
Accent foreground
#d8c0c6thistle
#d8c0c6thistle
Destructive
#5c250amaroon
#e6611echocolate
Destructive foreground
#f5bea3lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2d3f27darkslategray
#2d3f27darkslategray

Contrast

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

Light mode
Text on background20.62:1AAA
Text on card20.62:1AAA
Primary button7.53:1AAA
Secondary button8.03:1AAA
Muted text4.82:1AA
Accent7.98:1AAA
Destructive7.39:1AAA
Dark mode
Text on background19.40:1AAA
Text on card19.40:1AAA
Primary button7.53:1AAA
Secondary button8.03:1AAA
Muted text6.92:1AA
Accent7.98:1AAA
Destructive6.08:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 137.767);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.892 0.023 271.148);
  --muted-foreground: oklch(0.474 0 198.435);
  --popover: oklch(0.993 0.003 137.767);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.993 0.003 137.767);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.345 0.048 138.074);
  --primary-foreground: oklch(0.862 0.039 137.842);
  --secondary: oklch(0.299 0.035 269.998);
  --secondary-foreground: oklch(0.827 0.027 271.084);
  --accent: oklch(0.304 0.038 3.266);
  --accent-foreground: oklch(0.829 0.029 0.831);
  --destructive: oklch(0.34 0.088 43.823);
  --destructive-foreground: oklch(0.845 0.073 47.837);
  --ring: oklch(0.345 0.048 138.074);
  --chart-1: oklch(0.345 0.048 138.074);
  --chart-2: oklch(0.299 0.035 269.998);
  --chart-3: oklch(0.304 0.038 3.266);
  --chart-4: oklch(0.327 0.039 269.944);
  --chart-5: oklch(0.349 0.053 138.126);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.022 136.043);
  --foreground: oklch(0.986 0.004 137.769);
  --muted: oklch(0.217 0.034 269.395);
  --muted-foreground: oklch(0.716 0 165.964);
  --popover: oklch(0.124 0.022 136.043);
  --popover-foreground: oklch(0.986 0.004 137.769);
  --card: oklch(0.124 0.022 136.043);
  --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.345 0.048 138.074);
  --primary-foreground: oklch(0.862 0.039 137.842);
  --secondary: oklch(0.299 0.035 269.998);
  --secondary-foreground: oklch(0.827 0.027 271.084);
  --accent: oklch(0.304 0.038 3.266);
  --accent-foreground: oklch(0.829 0.029 0.831);
  --destructive: oklch(0.652 0.181 42.709);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.345 0.048 138.074);
  --chart-1: oklch(0.345 0.048 138.074);
  --chart-2: oklch(0.299 0.035 269.998);
  --chart-3: oklch(0.304 0.038 3.266);
  --chart-4: oklch(0.327 0.039 269.944);
  --chart-5: oklch(0.349 0.053 138.126);
}