Prow is a shadcn/ui theme built around a muted deep green primary color (#131b15) with muted deep purple accents (#1b1319). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep green primary (#131b15) on a neutral background (#040705).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040705black |
| Foreground | #041008black | #fcfdfcwhite |
| Card | #ffffffwhite | #040705black |
| Card foreground | #041008black | #fcfdfcwhite |
| Popover | #ffffffwhite | #040705black |
| Popover foreground | #041008black | #fcfdfcwhite |
| Primary | #131b15black | #131b15black |
| Primary foreground | #a1bfaadarkgray | #a1bfaadarkgray |
| Secondary | #1b1319black | #1b1319black |
| Secondary foreground | #bfa1b5darkgray | #bfa1b5darkgray |
| Muted | #f2edf1whitesmoke | #120d10black |
| Muted foreground | #565255dimgray | #ada9abdarkgray |
| Accent | #1b1319black | #1b1319black |
| Accent foreground | #bfa1b5darkgray | #bfa1b5darkgray |
| Destructive | #9d0601darkred | #fe2c25orangered |
| Destructive foreground | #ffd3d1pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #131b15black | #131b15black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.39:1 | AAA |
| Text on card | 19.39:1 | AAA |
| Primary button | 8.80:1 | AAA |
| Secondary button | 7.79:1 | AAA |
| Muted text | 6.64:1 | AA |
| Accent | 7.79:1 | AAA |
| Destructive | 6.28:1 | AA |
| Text on background | 19.89:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 8.80:1 | AAA |
| Secondary button | 7.79:1 | AAA |
| Muted text | 8.30:1 | AAA |
| Accent | 7.79:1 | AAA |
| Destructive | 3.75:1 | AA Large |
Paste this into your globals.css to use Prow in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.158 0.025 154.918);
--muted: oklch(0.951 0.008 336.717);
--muted-foreground: oklch(0.444 0.006 336.808);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.158 0.025 154.918);
--card: oklch(1 0 180);
--card-foreground: oklch(0.158 0.025 154.918);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.213 0.017 154.831);
--primary-foreground: oklch(0.776 0.044 155.403);
--secondary: oklch(0.199 0.018 338.249);
--secondary-foreground: oklch(0.742 0.045 337.699);
--accent: oklch(0.199 0.018 338.249);
--accent-foreground: oklch(0.742 0.045 337.699);
--destructive: oklch(0.44 0.178 29.646);
--destructive-foreground: oklch(0.903 0.05 20.435);
--ring: oklch(0.213 0.017 154.831);
--chart-1: oklch(0.213 0.017 154.831);
--chart-2: oklch(0.199 0.018 338.249);
--chart-3: oklch(0.199 0.018 338.249);
--chart-4: oklch(0.23 0.023 338.423);
--chart-5: oklch(0.214 0.02 154.558);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.01 156.335);
--foreground: oklch(0.993 0.001 156.54);
--muted: oklch(0.166 0.012 337.91);
--muted-foreground: oklch(0.739 0.005 336.692);
--popover: oklch(0.12 0.01 156.335);
--popover-foreground: oklch(0.993 0.001 156.54);
--card: oklch(0.12 0.01 156.335);
--card-foreground: oklch(0.993 0.001 156.54);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.213 0.017 154.831);
--primary-foreground: oklch(0.776 0.044 155.403);
--secondary: oklch(0.199 0.018 338.249);
--secondary-foreground: oklch(0.742 0.045 337.699);
--accent: oklch(0.199 0.018 338.249);
--accent-foreground: oklch(0.742 0.045 337.699);
--destructive: oklch(0.642 0.241 28.584);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.213 0.017 154.831);
--chart-1: oklch(0.213 0.017 154.831);
--chart-2: oklch(0.199 0.018 338.249);
--chart-3: oklch(0.199 0.018 338.249);
--chart-4: oklch(0.23 0.023 338.423);
--chart-5: oklch(0.214 0.02 154.558);
}