Pickle is a shadcn/ui theme built around a yellow primary color (#b6ad49) with neutral gray accents (#d6d6d1). The light mode uses a neutral background (#fcfcf7). Dark mode keeps the yellow primary (#b6ad49) on a yellow-tinted background (#0b0b04).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcf7snow | #0b0b04black |
| Foreground | #0c0c03black | #fcfbf8snow |
| Card | #fbfaf4floralwhite | #0f0e05black |
| Card foreground | #080802black | #fdfdfcwhite |
| Popover | #fbfaf4floralwhite | #0f0e05black |
| Popover foreground | #080802black | #fdfdfcwhite |
| Primary | #b6ad49darkkhaki | #b6ad49darkkhaki |
| Primary foreground | #24230fblack | #24230fblack |
| Secondary | #d6d6d1lightgrey | #181816black |
| Secondary foreground | #3e3e37darkslategray | #b3b3addarkgray |
| Muted | #e9e7d3antiquewhite | #2c2b16black |
| Muted foreground | #686864dimgray | #9b9b97darkgray |
| Accent | #d6d6d1lightgrey | #181816black |
| Accent foreground | #3e3e37darkslategray | #b3b3addarkgray |
| Destructive | #b84a0asienna | #f36e20chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b6ad49darkkhaki | #b6ad49darkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.09:1 | AAA |
| Text on card | 19.25:1 | AAA |
| Primary button | 6.86:1 | AA |
| Secondary button | 7.38:1 | AAA |
| Muted text | 4.49:1 | AA Large |
| Accent | 7.38:1 | AAA |
| Destructive | 5.23:1 | AA |
| Text on background | 19.09:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 6.86:1 | AA |
| Secondary button | 8.45:1 | AAA |
| Muted text | 5.15:1 | AA |
| Accent | 8.45:1 | AAA |
| Destructive | 7.05:1 | AAA |
Paste this into your globals.css to use Pickle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.006 102.312);
--foreground: oklch(0.15 0.021 105.076);
--muted: oklch(0.925 0.027 102.684);
--muted-foreground: oklch(0.515 0.006 102.395);
--popover: oklch(0.985 0.009 102.362);
--popover-foreground: oklch(0.13 0.018 105.409);
--card: oklch(0.985 0.009 102.362);
--card-foreground: oklch(0.13 0.018 105.409);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.736 0.122 104.119);
--primary-foreground: oklch(0.251 0.034 103.964);
--secondary: oklch(0.875 0.006 102.333);
--secondary-foreground: oklch(0.361 0.011 102.689);
--accent: oklch(0.875 0.006 102.333);
--accent-foreground: oklch(0.361 0.011 102.689);
--destructive: oklch(0.548 0.157 43.409);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.736 0.122 104.119);
--chart-1: oklch(0.736 0.122 104.119);
--chart-2: oklch(0.875 0.006 102.333);
--chart-3: oklch(0.875 0.006 102.333);
--chart-4: oklch(0.897 0.005 102.309);
--chart-5: oklch(0.746 0.128 104.122);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.146 0.016 104.632);
--foreground: oklch(0.989 0.004 102.286);
--muted: oklch(0.283 0.034 103.849);
--muted-foreground: oklch(0.688 0.005 102.34);
--popover: oklch(0.162 0.019 104.176);
--popover-foreground: oklch(0.994 0.002 102.249);
--card: oklch(0.162 0.019 104.176);
--card-foreground: oklch(0.994 0.002 102.249);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.736 0.122 104.119);
--primary-foreground: oklch(0.251 0.034 103.964);
--secondary: oklch(0.207 0.003 102.467);
--secondary-foreground: oklch(0.764 0.008 102.385);
--accent: oklch(0.207 0.003 102.467);
--accent-foreground: oklch(0.764 0.008 102.385);
--destructive: oklch(0.689 0.184 45.31);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.736 0.122 104.119);
--chart-1: oklch(0.736 0.122 104.119);
--chart-2: oklch(0.207 0.003 102.467);
--chart-3: oklch(0.207 0.003 102.467);
--chart-4: oklch(0.241 0.004 102.492);
--chart-5: oklch(0.746 0.128 104.122);
}