Pilot is a shadcn/ui theme built around a muted green primary color (#bdc8ac) with muted green accents (#b0c8ac). The light mode uses a neutral background (#fdfdfb). Dark mode keeps the muted green primary (#bdc8ac) on a green-tinted background (#0b0f05).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfbsnow | #0b0f05black |
| Foreground | #030401black | #fdfdfcwhite |
| Card | #fafcf8snow | #0e1307black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fdfdfbsnow | #0b0f05black |
| Popover foreground | #030401black | #fdfdfcwhite |
| Primary | #bdc8acsilver | #bdc8acsilver |
| Primary foreground | #23281bblack | #23281bblack |
| Secondary | #c8c5acsilver | #c8c5acsilver |
| Secondary foreground | #28261bblack | #28261bblack |
| Muted | #f7f6eewhitesmoke | #111008black |
| Muted foreground | #595745darkolivegreen | #bab8a6darkgray |
| Accent | #b0c8acsilver | #b0c8acsilver |
| Accent foreground | #1c281bblack | #1c281bblack |
| Destructive | #722509maroon | #ee531borangered |
| Destructive foreground | #f9c6b3peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bdc8acsilver | #bdc8acsilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.34:1 | AAA |
| Primary button | 8.64:1 | AAA |
| Secondary button | 8.68:1 | AAA |
| Muted text | 6.72:1 | AA |
| Accent | 8.54:1 | AAA |
| Destructive | 6.95:1 | AA |
| Text on background | 19.01:1 | AAA |
| Text on card | 18.86:1 | AAA |
| Primary button | 8.64:1 | AAA |
| Secondary button | 8.68:1 | AAA |
| Muted text | 9.51:1 | AAA |
| Accent | 8.54:1 | AAA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use Pilot in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 123.681);
--foreground: oklch(0.101 0.015 123.037);
--muted: oklch(0.971 0.01 100.495);
--muted-foreground: oklch(0.453 0.028 101.2);
--popover: oklch(0.994 0.003 123.681);
--popover-foreground: oklch(0.101 0.015 123.037);
--card: oklch(0.989 0.006 123.724);
--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.817 0.039 124.365);
--primary-foreground: oklch(0.266 0.025 125.077);
--secondary: oklch(0.819 0.033 100.919);
--secondary-foreground: oklch(0.267 0.021 101.369);
--accent: oklch(0.807 0.046 141.914);
--accent-foreground: oklch(0.26 0.029 141.726);
--destructive: oklch(0.378 0.115 38.088);
--destructive-foreground: oklch(0.867 0.064 40.92);
--ring: oklch(0.817 0.039 124.365);
--chart-1: oklch(0.817 0.039 124.365);
--chart-2: oklch(0.819 0.033 100.919);
--chart-3: oklch(0.807 0.046 141.914);
--chart-4: oklch(0.839 0.029 100.844);
--chart-5: oklch(0.821 0.045 124.47);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.161 0.021 124.583);
--foreground: oklch(0.994 0.002 123.671);
--muted: oklch(0.172 0.016 101.579);
--muted-foreground: oklch(0.779 0.025 100.807);
--popover: oklch(0.161 0.021 124.583);
--popover-foreground: oklch(0.994 0.002 123.671);
--card: oklch(0.176 0.025 125.484);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.817 0.039 124.365);
--primary-foreground: oklch(0.266 0.025 125.077);
--secondary: oklch(0.819 0.033 100.919);
--secondary-foreground: oklch(0.267 0.021 101.369);
--accent: oklch(0.807 0.046 141.914);
--accent-foreground: oklch(0.26 0.029 141.726);
--destructive: oklch(0.647 0.2 37.831);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.817 0.039 124.365);
--chart-1: oklch(0.817 0.039 124.365);
--chart-2: oklch(0.819 0.033 100.919);
--chart-3: oklch(0.807 0.046 141.914);
--chart-4: oklch(0.839 0.029 100.844);
--chart-5: oklch(0.821 0.045 124.47);
}