Prickly is a shadcn/ui theme built around a neutral gray primary color (#8c9688) with neutral gray accents (#96888c). The light mode uses a neutral background (#f9fdf7). Dark mode keeps the neutral gray primary (#8c9688) on a neutral background (#020302).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fdf7mintcream | #020302black |
| Foreground | #040802black | #f9fbf9mintcream |
| Card | #f6fcf3whitesmoke | #040703black |
| Card foreground | #020401black | #fcfdfcwhite |
| Popover | #f6fcf3whitesmoke | #040703black |
| Popover foreground | #020401black | #fcfdfcwhite |
| Primary | #8c9688gray | #8c9688gray |
| Primary foreground | #000000black | #000000black |
| Secondary | #888c96lightslategray | #888c96lightslategray |
| Secondary foreground | #000000black | #000000black |
| Muted | #eaeef5lavender | #0a0d15black |
| Muted foreground | #424752darkslategray | #adb2bddarkgray |
| Accent | #96888cgray | #96888cgray |
| Accent foreground | #000000black | #000000black |
| Destructive | #cb4c15chocolate | #e9672fchocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8c9688gray | #8c9688gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.60:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 6.80:1 | AA |
| Secondary button | 6.25:1 | AA |
| Muted text | 8.00:1 | AAA |
| Accent | 6.19:1 | AA |
| Destructive | 4.58:1 | AA |
| Text on background | 19.82:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 6.80:1 | AA |
| Secondary button | 6.25:1 | AA |
| Muted text | 9.12:1 | AAA |
| Accent | 6.19:1 | AA |
| Destructive | 6.45:1 | AA |
Paste this into your globals.css to use Prickly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.009 135.467);
--foreground: oklch(0.125 0.021 133.844);
--muted: oklch(0.948 0.01 265.956);
--muted-foreground: oklch(0.397 0.02 265.705);
--popover: oklch(0.984 0.014 135.488);
--popover-foreground: oklch(0.099 0.016 133.844);
--card: oklch(0.984 0.014 135.488);
--card-foreground: oklch(0.099 0.016 133.844);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.66 0.022 135.575);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.641 0.015 265.89);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.64 0.017 356.382);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.582 0.173 39.899);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.66 0.022 135.575);
--chart-1: oklch(0.66 0.022 135.575);
--chart-2: oklch(0.641 0.015 265.89);
--chart-3: oklch(0.64 0.017 356.382);
--chart-4: oklch(0.667 0.013 265.905);
--chart-5: oklch(0.666 0.033 135.65);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.01 134.396);
--foreground: oklch(0.987 0.004 135.446);
--muted: oklch(0.161 0.016 265.295);
--muted-foreground: oklch(0.763 0.017 265.894);
--popover: oklch(0.122 0.013 134.396);
--popover-foreground: oklch(0.993 0.002 135.437);
--card: oklch(0.122 0.013 134.396);
--card-foreground: oklch(0.993 0.002 135.437);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.66 0.022 135.575);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.641 0.015 265.89);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.64 0.017 356.382);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.666 0.175 41.58);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.66 0.022 135.575);
--chart-1: oklch(0.66 0.022 135.575);
--chart-2: oklch(0.641 0.015 265.89);
--chart-3: oklch(0.64 0.017 356.382);
--chart-4: oklch(0.667 0.013 265.905);
--chart-5: oklch(0.666 0.033 135.65);
}