Prickly is a shadcn/ui theme built around a deep cyan primary color (#1a3a47) with deep orange accents (#47271a). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the deep cyan primary (#1a3a47) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fbfdghostwhite | #000000black |
| Foreground | #000000black | #f9fafbghostwhite |
| Card | #f2fafcaliceblue | #030303black |
| Card foreground | #000000black | #fcfdfdwhite |
| Popover | #f2fafcaliceblue | #030303black |
| Popover foreground | #000000black | #fcfdfdwhite |
| Primary | #1a3a47darkslategray | #1a3a47darkslategray |
| Primary foreground | #b1d4e2lightblue | #b1d4e2lightblue |
| Secondary | #47271adarkslategray | #47271adarkslategray |
| Secondary foreground | #e2bfb1lightpink | #e2bfb1lightpink |
| Muted | #e4dfddgainsboro | #221d1bblack |
| Muted foreground | #65544edimgray | #b1a19adarkgray |
| Accent | #47271adarkslategray | #47271adarkslategray |
| Accent foreground | #e2bfb1lightpink | #e2bfb1lightpink |
| Destructive | #6f1d06maroon | #f4663etomato |
| Destructive foreground | #fabeadlightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1a3a47darkslategray | #1a3a47darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.20:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 7.68:1 | AAA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 5.41:1 | AA |
| Accent | 7.85:1 | AAA |
| Destructive | 7.03:1 | AAA |
| Text on background | 20.09:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 7.68:1 | AAA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 6.69:1 | AA |
| Accent | 7.85:1 | AAA |
| Destructive | 6.79:1 | AA |
Paste this into your globals.css to use Prickly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.006 223.188);
--foreground: oklch(0 0 0);
--muted: oklch(0.907 0.006 43.066);
--muted-foreground: oklch(0.461 0.025 42.743);
--popover: oklch(0.979 0.009 223.219);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.979 0.009 223.219);
--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.331 0.044 226.246);
--primary-foreground: oklch(0.849 0.042 223.775);
--secondary: oklch(0.31 0.053 42.101);
--secondary-foreground: oklch(0.831 0.045 42.738);
--accent: oklch(0.31 0.053 42.101);
--accent-foreground: oklch(0.831 0.045 42.738);
--destructive: oklch(0.363 0.119 35.219);
--destructive-foreground: oklch(0.851 0.074 36.014);
--ring: oklch(0.331 0.044 226.246);
--chart-1: oklch(0.331 0.044 226.246);
--chart-2: oklch(0.31 0.053 42.101);
--chart-3: oklch(0.31 0.053 42.101);
--chart-4: oklch(0.341 0.06 42.058);
--chart-5: oklch(0.332 0.046 226.564);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.985 0.001 223.143);
--muted: oklch(0.236 0.009 42.829);
--muted-foreground: oklch(0.721 0.022 42.885);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.993 0.001 223.137);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.001 223.137);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.331 0.044 226.246);
--primary-foreground: oklch(0.849 0.042 223.775);
--secondary: oklch(0.31 0.053 42.101);
--secondary-foreground: oklch(0.831 0.045 42.738);
--accent: oklch(0.31 0.053 42.101);
--accent-foreground: oklch(0.831 0.045 42.738);
--destructive: oklch(0.682 0.184 36.216);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.331 0.044 226.246);
--chart-1: oklch(0.331 0.044 226.246);
--chart-2: oklch(0.31 0.053 42.101);
--chart-3: oklch(0.31 0.053 42.101);
--chart-4: oklch(0.341 0.06 42.058);
--chart-5: oklch(0.332 0.046 226.564);
}