Prickly is a shadcn/ui theme built around a vivid green primary color (#03c931) with vivid teal accents (#03c994). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#03c931) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #021206black | #f9fbf9mintcream |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #020e04black | #fcfdfcwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #020e04black | #fcfdfcwhite |
| Primary | #03c931limegreen | #03c931limegreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #38c903limegreen | #38c903limegreen |
| Secondary foreground | #000000black | #000000black |
| Muted | #e8e9e7linen | #161816black |
| Muted foreground | #575e55dimgray | #a4aaa1darkgray |
| Accent | #03c994lightseagreen | #03c994lightseagreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #a73601saddlebrown | #fe6620tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #03c931limegreen | #03c931limegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.23:1 | AAA |
| Text on card | 19.25:1 | AAA |
| Primary button | 2.23:1 | Fail |
| Secondary button | 9.51:1 | AAA |
| Muted text | 5.49:1 | AA |
| Accent | 9.78:1 | AAA |
| Destructive | 6.61:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 2.23:1 | Fail |
| Secondary button | 9.51:1 | AAA |
| Muted text | 7.50:1 | AAA |
| Accent | 9.78:1 | AAA |
| Destructive | 7.13:1 | AAA |
Paste this into your globals.css to use Prickly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.163 0.037 151.063);
--muted: oklch(0.933 0.004 137.198);
--muted-foreground: oklch(0.472 0.016 137.272);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.145 0.032 151.896);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.145 0.032 151.896);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.726 0.232 144.426);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.731 0.237 140.543);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.741 0.154 165.815);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.494 0.158 38.986);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.726 0.232 144.426);
--chart-1: oklch(0.726 0.232 144.426);
--chart-2: oklch(0.731 0.237 140.543);
--chart-3: oklch(0.741 0.154 165.815);
--chart-4: oklch(0.771 0.251 140.584);
--chart-5: oklch(0.734 0.236 144.288);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.003 153.184);
--muted: oklch(0.207 0.005 137.248);
--muted-foreground: oklch(0.731 0.015 137.237);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.993 0.002 153.213);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.002 153.213);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.726 0.232 144.426);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.731 0.237 140.543);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.741 0.154 165.815);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.695 0.2 41.237);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.726 0.232 144.426);
--chart-1: oklch(0.726 0.232 144.426);
--chart-2: oklch(0.731 0.237 140.543);
--chart-3: oklch(0.741 0.154 165.815);
--chart-4: oklch(0.771 0.251 140.584);
--chart-5: oklch(0.734 0.236 144.288);
}