Prickly is a shadcn/ui theme built around a vivid green primary color (#16f883) with vivid orange accents (#f88316). The light mode uses a neutral background (#f7fdfa). Dark mode keeps the vivid green primary (#16f883) on a neutral background (#030705).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfamintcream | #030705black |
| Foreground | #010402black | #ffffffwhite |
| Card | #f7fdfamintcream | #030705black |
| Card foreground | #010402black | #ffffffwhite |
| Popover | #f7fdfamintcream | #030705black |
| Popover foreground | #010402black | #ffffffwhite |
| Primary | #16f883springgreen | #16f883springgreen |
| Primary foreground | #024020darkgreen | #024020darkgreen |
| Secondary | #8316f8blueviolet | #8316f8blueviolet |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d8cde4gainsboro | #261b32darkslategray |
| Muted foreground | #655775dimgray | #988aa8darkgray |
| Accent | #f88316darkorange | #f88316darkorange |
| Accent foreground | #000000black | #000000black |
| Destructive | #a6120cfirebrick | #e41811red |
| Destructive foreground | #fde8e7mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #16f883springgreen | #16f883springgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.98:1 | AAA |
| Text on card | 19.98:1 | AAA |
| Primary button | 8.40:1 | AAA |
| Secondary button | 6.09:1 | AA |
| Muted text | 4.35:1 | AA Large |
| Accent | 8.26:1 | AAA |
| Destructive | 6.59:1 | AA |
| Text on background | 20.25:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 8.40:1 | AAA |
| Secondary button | 6.09:1 | AA |
| Muted text | 5.09:1 | AA |
| Accent | 8.26:1 | AAA |
| Destructive | 4.74:1 | AA |
Paste this into your globals.css to use Prickly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.008 164.086);
--foreground: oklch(0.099 0.014 164.404);
--muted: oklch(0.865 0.033 307.339);
--muted-foreground: oklch(0.482 0.051 306.538);
--popover: oklch(0.988 0.008 164.086);
--popover-foreground: oklch(0.099 0.014 164.404);
--card: oklch(0.988 0.008 164.086);
--card-foreground: oklch(0.099 0.014 164.404);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.858 0.222 152.155);
--primary-foreground: oklch(0.328 0.081 153.769);
--secondary: oklch(0.534 0.281 295.843);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.728 0.175 54.874);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.462 0.18 28.994);
--destructive-foreground: oklch(0.948 0.023 19.958);
--ring: oklch(0.858 0.222 152.155);
--chart-1: oklch(0.858 0.222 152.155);
--chart-2: oklch(0.534 0.281 295.843);
--chart-3: oklch(0.728 0.175 54.874);
--chart-4: oklch(0.551 0.275 297.765);
--chart-5: oklch(0.867 0.226 151.848);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.011 164.363);
--foreground: oklch(1 0 180);
--muted: oklch(0.246 0.045 305.576);
--muted-foreground: oklch(0.656 0.048 306.941);
--popover: oklch(0.121 0.011 164.363);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.121 0.011 164.363);
--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.858 0.222 152.155);
--primary-foreground: oklch(0.328 0.081 153.769);
--secondary: oklch(0.534 0.281 295.843);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.728 0.175 54.874);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.583 0.23 29.124);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.858 0.222 152.155);
--chart-1: oklch(0.858 0.222 152.155);
--chart-2: oklch(0.534 0.281 295.843);
--chart-3: oklch(0.728 0.175 54.874);
--chart-4: oklch(0.551 0.275 297.765);
--chart-5: oklch(0.867 0.226 151.848);
}