Chairperson is a shadcn/ui theme built around a muted deep green primary color (#0c0e0c) with neutral gray accents (#e4e7e4). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the muted deep green primary (#0c0e0c) on a green-tinted background (#050f06).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #050f06black |
| Foreground | #040c04black | #f9fbf9mintcream |
| Card | #fcfdfcwhite | #050f06black |
| Card foreground | #040c04black | #f9fbf9mintcream |
| Popover | #fcfdfcwhite | #050f06black |
| Popover foreground | #040c04black | #f9fbf9mintcream |
| Primary | #0c0e0cblack | #0c0e0cblack |
| Primary foreground | #9fad9fdarkgray | #9fad9fdarkgray |
| Secondary | #e4e7e4gainsboro | #253126darkslategray |
| Secondary foreground | #485148darkslategray | #bccdbdsilver |
| Muted | #eaf1eawhitesmoke | #0e150fblack |
| Muted foreground | #556856dimgray | #97aa98darkseagreen |
| Accent | #e4e7e4gainsboro | #253126darkslategray |
| Accent foreground | #485148darkslategray | #bccdbdsilver |
| Destructive | #d43002orangered | #fd5c30tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0c0e0cblack | #0c0e0cblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.45:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 8.27:1 | AAA |
| Secondary button | 6.61:1 | AA |
| Muted text | 5.20:1 | AA |
| Accent | 6.61:1 | AA |
| Destructive | 4.97:1 | AA |
| Text on background | 18.73:1 | AAA |
| Text on card | 18.73:1 | AAA |
| Primary button | 8.27:1 | AAA |
| Secondary button | 8.11:1 | AAA |
| Muted text | 7.49:1 | AAA |
| Accent | 8.11:1 | AAA |
| Destructive | 6.76:1 | AA |
Paste this into your globals.css to use Chairperson in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 146.517);
--foreground: oklch(0.139 0.025 145.116);
--muted: oklch(0.95 0.012 146.432);
--muted-foreground: oklch(0.495 0.037 145.871);
--popover: oklch(0.993 0.003 146.517);
--popover-foreground: oklch(0.139 0.025 145.116);
--card: oklch(0.993 0.003 146.517);
--card-foreground: oklch(0.139 0.025 145.116);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.159 0.005 146.248);
--primary-foreground: oklch(0.732 0.025 146.235);
--secondary: oklch(0.925 0.005 146.493);
--secondary-foreground: oklch(0.424 0.019 146.15);
--accent: oklch(0.925 0.005 146.493);
--accent-foreground: oklch(0.424 0.019 146.15);
--destructive: oklch(0.568 0.205 33.601);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.159 0.005 146.248);
--chart-1: oklch(0.159 0.005 146.248);
--chart-2: oklch(0.925 0.005 146.493);
--chart-3: oklch(0.925 0.005 146.493);
--chart-4: oklch(0.948 0.004 146.508);
--chart-5: oklch(0.16 0.007 146.138);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.026 145.142);
--foreground: oklch(0.986 0.004 146.505);
--muted: oklch(0.188 0.018 145.682);
--muted-foreground: oklch(0.718 0.034 146.125);
--popover: oklch(0.155 0.026 145.142);
--popover-foreground: oklch(0.986 0.004 146.505);
--card: oklch(0.155 0.026 145.142);
--card-foreground: oklch(0.986 0.004 146.505);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.159 0.005 146.248);
--primary-foreground: oklch(0.732 0.025 146.235);
--secondary: oklch(0.3 0.027 145.729);
--secondary-foreground: oklch(0.83 0.028 146.24);
--accent: oklch(0.3 0.027 145.729);
--accent-foreground: oklch(0.83 0.028 146.24);
--destructive: oklch(0.683 0.204 35.841);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.159 0.005 146.248);
--chart-1: oklch(0.159 0.005 146.248);
--chart-2: oklch(0.3 0.027 145.729);
--chart-3: oklch(0.3 0.027 145.729);
--chart-4: oklch(0.332 0.031 145.699);
--chart-5: oklch(0.16 0.007 146.138);
}