Being for shadcn/ui

Being is a shadcn/ui theme built around a muted green primary color (#667a62) with muted red accents (#7a6266). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#667a62) on a neutral background (#040703).

Color palette

TokenLightDark
Background
#ffffffwhite
#040703black
Foreground
#081505black
#f9fbf9mintcream
Card
#fcfcfcsnow
#060b05black
Card foreground
#061004black
#fcfdfcwhite
Popover
#fcfcfcsnow
#060b05black
Popover foreground
#061004black
#fcfdfcwhite
Primary
#667a62dimgray
#667a62dimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#62667adimgray
#62667adimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e4e6eclavender
#13151bblack
Muted foreground
#414249darkslategray
#b6b8besilver
Accent
#7a6266dimgray
#7a6266dimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#9c3611saddlebrown
#e14e19chocolate
Destructive foreground
#fceae3linen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#667a62dimgray
#667a62dimgray

Contrast

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

Light mode
Text on background18.75:1AAA
Text on card18.96:1AAA
Primary button4.65:1AA
Secondary button5.68:1AA
Muted text8.00:1AAA
Accent5.60:1AA
Destructive6.09:1AA
Dark mode
Text on background19.46:1AAA
Text on card19.50:1AAA
Primary button4.65:1AA
Secondary button5.68:1AA
Muted text9.22:1AAA
Accent5.60:1AA
Destructive3.95:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.176 0.037 139.02);
  --muted: oklch(0.925 0.008 276.049);
  --muted-foreground: oklch(0.381 0.012 275.75);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.16 0.032 138.573);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.16 0.032 138.573);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.555 0.043 139.927);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.514 0.032 275.277);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.52 0.032 5.9);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.476 0.143 38.21);
  --destructive-foreground: oklch(0.95 0.022 41.144);
  --ring: oklch(0.555 0.043 139.927);
  --chart-1: oklch(0.555 0.043 139.927);
  --chart-2: oklch(0.514 0.032 275.277);
  --chart-3: oklch(0.52 0.032 5.9);
  --chart-4: oklch(0.539 0.033 275.269);
  --chart-5: oklch(0.561 0.055 139.917);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.016 138.75);
  --foreground: oklch(0.986 0.002 139.989);
  --muted: oklch(0.195 0.012 275.258);
  --muted-foreground: oklch(0.782 0.01 276.003);
  --popover: oklch(0.139 0.018 138.76);
  --popover-foreground: oklch(0.993 0.001 139.99);
  --card: oklch(0.139 0.018 138.76);
  --card-foreground: oklch(0.993 0.001 139.99);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.555 0.043 139.927);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.514 0.032 275.277);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.52 0.032 5.9);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.62 0.192 37.813);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.555 0.043 139.927);
  --chart-1: oklch(0.555 0.043 139.927);
  --chart-2: oklch(0.514 0.032 275.277);
  --chart-3: oklch(0.52 0.032 5.9);
  --chart-4: oklch(0.539 0.033 275.269);
  --chart-5: oklch(0.561 0.055 139.917);
}