Chairperson for shadcn/ui

Chairperson is a shadcn/ui theme built around a green primary color (#78d99f) with neutral gray accents (#d6d7d6). The light mode uses a neutral background (#fbfefc). Dark mode keeps the green primary (#78d99f) on a neutral background (#030705).

Color palette

TokenLightDark
Background
#fbfefcwhite
#030705black
Foreground
#010904black
#f9fafaghostwhite
Card
#f7fdf9mintcream
#040b07black
Card foreground
#010402black
#fcfdfcwhite
Popover
#fbfefcwhite
#030705black
Popover foreground
#010904black
#f9fafaghostwhite
Primary
#78d99fmediumaquamarine
#78d99fmediumaquamarine
Primary foreground
#07180eblack
#07180eblack
Secondary
#d6d7d6lightgrey
#2a372fdarkslategray
Secondary foreground
#3d3e3ddarkslategray
#c2d1c8silver
Muted
#d4e7dcgainsboro
#182b1fblack
Muted foreground
#616161dimgray
#9e9e9edarkgray
Accent
#d6d7d6lightgrey
#2a372fdarkslategray
Accent foreground
#3d3e3ddarkslategray
#c2d1c8silver
Destructive
#c31404firebrick
#f01805red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#78d99fmediumaquamarine
#78d99fmediumaquamarine

Contrast

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

Light mode
Text on background19.82:1AAA
Text on card19.94:1AAA
Primary button10.64:1AAA
Secondary button7.42:1AAA
Muted text4.81:1AA
Accent7.42:1AAA
Destructive6.14:1AA
Dark mode
Text on background19.35:1AAA
Text on card19.49:1AAA
Primary button10.64:1AAA
Secondary button7.84:1AAA
Muted text5.59:1AA
Accent7.84:1AAA
Destructive4.34:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 160.151);
  --foreground: oklch(0.125 0.022 160.085);
  --muted: oklch(0.912 0.026 159.574);
  --muted-foreground: oklch(0.492 0 180);
  --popover: oklch(0.994 0.004 160.151);
  --popover-foreground: oklch(0.125 0.022 160.085);
  --card: oklch(0.988 0.007 160.068);
  --card-foreground: oklch(0.099 0.017 160.085);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.81 0.125 155.924);
  --primary-foreground: oklch(0.19 0.032 155.925);
  --secondary: oklch(0.877 0.001 160.204);
  --secondary-foreground: oklch(0.362 0.002 160.102);
  --accent: oklch(0.877 0.001 160.204);
  --accent-foreground: oklch(0.362 0.002 160.102);
  --destructive: oklch(0.519 0.205 30.117);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.81 0.125 155.924);
  --chart-1: oklch(0.81 0.125 155.924);
  --chart-2: oklch(0.877 0.001 160.204);
  --chart-3: oklch(0.877 0.001 160.204);
  --chart-4: oklch(0.901 0.001 160.211);
  --chart-5: oklch(0.815 0.131 155.697);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.014 160.14);
  --foreground: oklch(0.985 0.001 160.202);
  --muted: oklch(0.267 0.033 156.927);
  --muted-foreground: oklch(0.7 0 180);
  --popover: oklch(0.122 0.014 160.14);
  --popover-foreground: oklch(0.985 0.001 160.202);
  --card: oklch(0.139 0.016 160.074);
  --card-foreground: oklch(0.993 0.001 160.218);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.81 0.125 155.924);
  --primary-foreground: oklch(0.19 0.032 155.925);
  --secondary: oklch(0.323 0.023 158.473);
  --secondary-foreground: oklch(0.847 0.02 159.671);
  --accent: oklch(0.323 0.023 158.473);
  --accent-foreground: oklch(0.847 0.02 159.671);
  --destructive: oklch(0.606 0.24 30.014);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.81 0.125 155.924);
  --chart-1: oklch(0.81 0.125 155.924);
  --chart-2: oklch(0.323 0.023 158.473);
  --chart-3: oklch(0.323 0.023 158.473);
  --chart-4: oklch(0.354 0.026 158.417);
  --chart-5: oklch(0.815 0.131 155.697);
}