Pole is a shadcn/ui theme built around a vivid green primary color (#4ef14b) with vivid green accents (#4bf19b). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#4ef14b) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #031103black | #fcfdfcwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #030d02black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #031103black | #fcfdfcwhite |
| Primary | #4ef14blimegreen | #4ef14blimegreen |
| Primary foreground | #010901black | #010901black |
| Secondary | #a1f14bgreenyellow | #a1f14bgreenyellow |
| Secondary foreground | #050901black | #050901black |
| Muted | #deebd1gainsboro | #222e14black |
| Muted foreground | #5a6151dimgray | #a6ae9edarkgray |
| Accent | #4bf19bmediumaquamarine | #4bf19bmediumaquamarine |
| Accent foreground | #010905black | #010905black |
| Destructive | #740d01maroon | #fd250dorangered |
| Destructive foreground | #feb2a9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4ef14blimegreen | #4ef14blimegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.34:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 13.50:1 | AAA |
| Secondary button | 14.57:1 | AAA |
| Muted text | 5.17:1 | AA |
| Accent | 13.81:1 | AAA |
| Destructive | 6.75:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 13.50:1 | AAA |
| Secondary button | 14.57:1 | AAA |
| Muted text | 6.24:1 | AA |
| Accent | 13.81:1 | AAA |
| Destructive | 3.87:1 | AA Large |
Paste this into your globals.css to use Pole in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.159 0.039 143.039);
--muted: oklch(0.923 0.037 128.265);
--muted-foreground: oklch(0.482 0.027 128.46);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.159 0.039 143.039);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.142 0.033 143.056);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.844 0.246 142.798);
--primary-foreground: oklch(0.125 0.037 142.477);
--secondary: oklch(0.876 0.21 131.878);
--secondary-foreground: oklch(0.132 0.03 126.242);
--accent: oklch(0.854 0.182 156.062);
--accent-foreground: oklch(0.127 0.024 164.444);
--destructive: oklch(0.358 0.137 31.131);
--destructive-foreground: oklch(0.833 0.091 26.245);
--ring: oklch(0.844 0.246 142.798);
--chart-1: oklch(0.844 0.246 142.798);
--chart-2: oklch(0.876 0.21 131.878);
--chart-3: oklch(0.854 0.182 156.062);
--chart-4: oklch(0.884 0.198 131.382);
--chart-5: oklch(0.85 0.252 142.761);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 145.091);
--muted: oklch(0.282 0.047 130.088);
--muted-foreground: oklch(0.739 0.024 128.179);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.001 145.091);
--card: oklch(0.092 0 180);
--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.844 0.246 142.798);
--primary-foreground: oklch(0.125 0.037 142.477);
--secondary: oklch(0.876 0.21 131.878);
--secondary-foreground: oklch(0.132 0.03 126.242);
--accent: oklch(0.854 0.182 156.062);
--accent-foreground: oklch(0.127 0.024 164.444);
--destructive: oklch(0.634 0.246 30.398);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.844 0.246 142.798);
--chart-1: oklch(0.844 0.246 142.798);
--chart-2: oklch(0.876 0.21 131.878);
--chart-3: oklch(0.854 0.182 156.062);
--chart-4: oklch(0.884 0.198 131.382);
--chart-5: oklch(0.85 0.252 142.761);
}