Parsnip is a shadcn/ui theme built around a muted light teal primary color (#d5e1de) with muted light yellow accents (#e1ded5). The light mode uses a neutral background (#f7fdfb). Dark mode keeps the muted light teal primary (#d5e1de) on a teal-tinted background (#05100c).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfbmintcream | #05100cblack |
| Foreground | #010403black | #ffffffwhite |
| Card | #f2fcf9mintcream | #06140fblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7fdfbmintcream | #05100cblack |
| Popover foreground | #010403black | #ffffffwhite |
| Primary | #d5e1degainsboro | #d5e1degainsboro |
| Primary foreground | #374e46darkslategray | #374e46darkslategray |
| Secondary | #ded5e1gainsboro | #ded5e1gainsboro |
| Secondary foreground | #46374edarkslategray | #46374edarkslategray |
| Muted | #e4e0e6gainsboro | #1d191fblack |
| Muted foreground | #443e47darkslategray | #beb8c1silver |
| Accent | #e1ded5gainsboro | #e1ded5gainsboro |
| Accent foreground | #4e4637darkolivegreen | #4e4637darkolivegreen |
| Destructive | #cb1010firebrick | #ef3e3etomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d5e1degainsboro | #d5e1degainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.01:1 | AAA |
| Text on card | 20.13:1 | AAA |
| Primary button | 6.70:1 | AA |
| Secondary button | 7.68:1 | AAA |
| Muted text | 7.94:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 5.80:1 | AA |
| Text on background | 19.36:1 | AAA |
| Text on card | 18.86:1 | AAA |
| Primary button | 6.70:1 | AA |
| Secondary button | 7.68:1 | AAA |
| Muted text | 8.92:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use Parsnip in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.008 175.39);
--foreground: oklch(0.099 0.011 175.824);
--muted: oklch(0.911 0.009 315.384);
--muted-foreground: oklch(0.372 0.018 315.228);
--popover: oklch(0.989 0.008 175.39);
--popover-foreground: oklch(0.099 0.011 175.824);
--card: oklch(0.984 0.011 175.274);
--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.901 0.014 175.156);
--primary-foreground: oklch(0.401 0.03 173.172);
--secondary: oklch(0.884 0.019 315.338);
--secondary-foreground: oklch(0.363 0.043 314.922);
--accent: oklch(0.9 0.012 86.054);
--accent-foreground: oklch(0.398 0.026 86.041);
--destructive: oklch(0.533 0.212 28.531);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.901 0.014 175.156);
--chart-1: oklch(0.901 0.014 175.156);
--chart-2: oklch(0.884 0.019 315.338);
--chart-3: oklch(0.9 0.012 86.054);
--chart-4: oklch(0.909 0.015 315.36);
--chart-5: oklch(0.902 0.016 175.076);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.159 0.02 173.182);
--foreground: oklch(1 0 180);
--muted: oklch(0.221 0.013 315.172);
--muted-foreground: oklch(0.791 0.015 315.349);
--popover: oklch(0.159 0.02 173.182);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.175 0.023 171.819);
--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.901 0.014 175.156);
--primary-foreground: oklch(0.401 0.03 173.172);
--secondary: oklch(0.884 0.019 315.338);
--secondary-foreground: oklch(0.363 0.043 314.922);
--accent: oklch(0.9 0.012 86.054);
--accent-foreground: oklch(0.398 0.026 86.041);
--destructive: oklch(0.631 0.214 25.859);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.901 0.014 175.156);
--chart-1: oklch(0.901 0.014 175.156);
--chart-2: oklch(0.884 0.019 315.338);
--chart-3: oklch(0.9 0.012 86.054);
--chart-4: oklch(0.909 0.015 315.36);
--chart-5: oklch(0.902 0.016 175.076);
}