Juicy is a shadcn/ui theme built around a vivid green primary color (#86f3b9) with neutral gray accents (#e4e7e5). The light mode uses a neutral background (#fbfefc). Dark mode keeps the vivid green primary (#86f3b9) on a green-tinted background (#04100a).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #04100ablack |
| Foreground | #010402black | #fcfdfcwhite |
| Card | #fbfefcwhite | #04100ablack |
| Card foreground | #010402black | #fcfdfcwhite |
| Popover | #fbfefcwhite | #04100ablack |
| Popover foreground | #010402black | #fcfdfcwhite |
| Primary | #86f3b9aquamarine | #86f3b9aquamarine |
| Primary foreground | #064122darkgreen | #064122darkgreen |
| Secondary | #e4e7e5gainsboro | #151e19black |
| Secondary foreground | #49504cdarkslategray | #a6bfb2darkgray |
| Muted | #e3f2eahoneydew | #0d1c14black |
| Muted foreground | #4d5651darkslategray | #a9b2addarkgray |
| Accent | #e4e7e5gainsboro | #151e19black |
| Accent foreground | #49504cdarkslategray | #a6bfb2darkgray |
| Destructive | #862904saddlebrown | #f84f0dorangered |
| Destructive foreground | #fdd0bfpeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #86f3b9aquamarine | #86f3b9aquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.28:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 8.70:1 | AAA |
| Secondary button | 6.63:1 | AA |
| Muted text | 6.56:1 | AA |
| Accent | 6.63:1 | AA |
| Destructive | 6.43:1 | AA |
| Text on background | 18.98:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 8.70:1 | AAA |
| Secondary button | 8.72:1 | AAA |
| Muted text | 8.11:1 | AAA |
| Accent | 8.72:1 | AAA |
| Destructive | 3.44:1 | AA Large |
Paste this into your globals.css to use Juicy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 163.348);
--foreground: oklch(0.098 0.014 163.517);
--muted: oklch(0.948 0.019 162.939);
--muted-foreground: oklch(0.445 0.015 162.567);
--popover: oklch(0.994 0.004 163.348);
--popover-foreground: oklch(0.098 0.014 163.517);
--card: oklch(0.994 0.004 163.348);
--card-foreground: oklch(0.098 0.014 163.517);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.884 0.13 158.847);
--primary-foreground: oklch(0.331 0.079 153.814);
--secondary: oklch(0.925 0.003 163.373);
--secondary-foreground: oklch(0.423 0.01 162.865);
--accent: oklch(0.925 0.003 163.373);
--accent-foreground: oklch(0.423 0.01 162.865);
--destructive: oklch(0.419 0.133 38.098);
--destructive-foreground: oklch(0.893 0.056 42.691);
--ring: oklch(0.884 0.13 158.847);
--chart-1: oklch(0.884 0.13 158.847);
--chart-2: oklch(0.925 0.003 163.373);
--chart-3: oklch(0.925 0.003 163.373);
--chart-4: oklch(0.947 0.002 163.396);
--chart-5: oklch(0.887 0.134 158.681);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.159 0.023 161.44);
--foreground: oklch(0.993 0.001 163.426);
--muted: oklch(0.209 0.026 159.781);
--muted-foreground: oklch(0.755 0.013 162.997);
--popover: oklch(0.159 0.023 161.44);
--popover-foreground: oklch(0.993 0.001 163.426);
--card: oklch(0.159 0.023 161.44);
--card-foreground: oklch(0.993 0.001 163.426);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.884 0.13 158.847);
--primary-foreground: oklch(0.331 0.079 153.814);
--secondary: oklch(0.223 0.015 161.673);
--secondary-foreground: oklch(0.782 0.032 162.354);
--accent: oklch(0.223 0.015 161.673);
--accent-foreground: oklch(0.782 0.032 162.354);
--destructive: oklch(0.658 0.214 37.321);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.884 0.13 158.847);
--chart-1: oklch(0.884 0.13 158.847);
--chart-2: oklch(0.223 0.015 161.673);
--chart-3: oklch(0.223 0.015 161.673);
--chart-4: oklch(0.258 0.018 161.514);
--chart-5: oklch(0.887 0.134 158.681);
}