Personnel is a shadcn/ui theme built around a light green primary color (#b4f09e) with light green accents (#9ef0b1). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#b4f09e) on a green-tinted background (#060b04).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #060b04black |
| Foreground | #091406black | #f7f9f6whitesmoke |
| Card | #fcfcfcsnow | #080f05black |
| Card foreground | #081005black | #f9fbf9mintcream |
| Popover | #fcfcfcsnow | #080f05black |
| Popover foreground | #081005black | #f9fbf9mintcream |
| Primary | #b4f09epalegreen | #b4f09epalegreen |
| Primary foreground | #1e4f0cdarkgreen | #1e4f0cdarkgreen |
| Secondary | #ddf09epalegoldenrod | #ddf09epalegoldenrod |
| Secondary foreground | #404f0cdarkolivegreen | #404f0cdarkolivegreen |
| Muted | #dee1d6gainsboro | #27291edarkslategray |
| Muted foreground | #5d634bdarkolivegreen | #afb49cdarkgray |
| Accent | #9ef0b1palegreen | #9ef0b1palegreen |
| Accent foreground | #0c4f1cdarkgreen | #0c4f1cdarkgreen |
| Destructive | #7d1b08maroon | #f2593atomato |
| Destructive foreground | #fbc6bcpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b4f09epalegreen | #b4f09epalegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.84:1 | AAA |
| Text on card | 18.90:1 | AAA |
| Primary button | 7.28:1 | AAA |
| Secondary button | 7.26:1 | AAA |
| Muted text | 4.71:1 | AA |
| Accent | 7.22:1 | AAA |
| Destructive | 6.84:1 | AA |
| Text on background | 18.72:1 | AAA |
| Text on card | 18.65:1 | AAA |
| Primary button | 7.28:1 | AAA |
| Secondary button | 7.26:1 | AAA |
| Muted text | 6.91:1 | AA |
| Accent | 7.22:1 | AAA |
| Destructive | 6.28:1 | AA |
Paste this into your globals.css to use Personnel in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.175 0.032 136.927);
--muted: oklch(0.904 0.015 117.37);
--muted-foreground: oklch(0.487 0.038 118.493);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.159 0.028 136.213);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.159 0.028 136.213);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.894 0.125 137.606);
--primary-foreground: oklch(0.381 0.109 139.045);
--secondary: oklch(0.922 0.107 119.229);
--secondary-foreground: oklch(0.402 0.09 122.395);
--accent: oklch(0.886 0.118 150.786);
--accent-foreground: oklch(0.377 0.104 146.681);
--destructive: oklch(0.388 0.135 32.839);
--destructive-foreground: oklch(0.871 0.062 31.355);
--ring: oklch(0.894 0.125 137.606);
--chart-1: oklch(0.894 0.125 137.606);
--chart-2: oklch(0.922 0.107 119.229);
--chart-3: oklch(0.886 0.118 150.786);
--chart-4: oklch(0.932 0.093 118.909);
--chart-5: oklch(0.897 0.129 137.627);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.022 135.75);
--foreground: oklch(0.98 0.005 137.202);
--muted: oklch(0.275 0.019 118.354);
--muted-foreground: oklch(0.76 0.034 117.892);
--popover: oklch(0.158 0.025 136.304);
--popover-foreground: oklch(0.986 0.004 137.198);
--card: oklch(0.158 0.025 136.304);
--card-foreground: oklch(0.986 0.004 137.198);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.894 0.125 137.606);
--primary-foreground: oklch(0.381 0.109 139.045);
--secondary: oklch(0.922 0.107 119.229);
--secondary-foreground: oklch(0.402 0.09 122.395);
--accent: oklch(0.886 0.118 150.786);
--accent-foreground: oklch(0.377 0.104 146.681);
--destructive: oklch(0.664 0.194 33.205);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.894 0.125 137.606);
--chart-1: oklch(0.894 0.125 137.606);
--chart-2: oklch(0.922 0.107 119.229);
--chart-3: oklch(0.886 0.118 150.786);
--chart-4: oklch(0.932 0.093 118.909);
--chart-5: oklch(0.897 0.129 137.627);
}