Juicy is a shadcn/ui theme built around a green primary color (#a3c897) with green accents (#97c8a5). The light mode uses a neutral background (#f9fdf7). Dark mode keeps the green primary (#a3c897) on a neutral background (#020401).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fdf7mintcream | #020401black |
| Foreground | #091306black | #fcfdfcwhite |
| Card | #f5fbf3whitesmoke | #040703black |
| Card foreground | #070f05black | #ffffffwhite |
| Popover | #f5fbf3whitesmoke | #040703black |
| Popover foreground | #070f05black | #ffffffwhite |
| Primary | #a3c897darkseagreen | #a3c897darkseagreen |
| Primary foreground | #131e10black | #131e10black |
| Secondary | #bbc897tan | #bbc897tan |
| Secondary foreground | #1a1e10black | #1a1e10black |
| Muted | #e4ebd1gainsboro | #272e14black |
| Muted foreground | #595c51dimgray | #abaea3darkgray |
| Accent | #97c8a5darkseagreen | #97c8a5darkseagreen |
| Accent foreground | #101e14black | #101e14black |
| Destructive | #6f2e0bsaddlebrown | #eb7637tomato |
| Destructive foreground | #f8ccb5peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a3c897darkseagreen | #a3c897darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.37:1 | AAA |
| Text on card | 18.54:1 | AAA |
| Primary button | 9.26:1 | AAA |
| Secondary button | 9.60:1 | AAA |
| Muted text | 5.55:1 | AA |
| Accent | 9.17:1 | AAA |
| Destructive | 6.87:1 | AA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 9.26:1 | AAA |
| Secondary button | 9.60:1 | AAA |
| Muted text | 6.25:1 | AA |
| Accent | 9.17:1 | AAA |
| Destructive | 7.20:1 | AAA |
Paste this into your globals.css to use Juicy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.008 138.339);
--foreground: oklch(0.173 0.03 137.937);
--muted: oklch(0.927 0.035 119.229);
--muted-foreground: oklch(0.469 0.017 119.192);
--popover: oklch(0.982 0.012 138.343);
--popover-foreground: oklch(0.158 0.026 137.326);
--card: oklch(0.982 0.012 138.343);
--card-foreground: oklch(0.158 0.026 137.326);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.794 0.079 138.459);
--primary-foreground: oklch(0.22 0.031 138.552);
--secondary: oklch(0.812 0.068 120.049);
--secondary-foreground: oklch(0.227 0.026 120.697);
--accent: oklch(0.79 0.072 152.777);
--accent-foreground: oklch(0.218 0.028 151.921);
--destructive: oklch(0.388 0.103 44.493);
--destructive-foreground: oklch(0.877 0.059 49.869);
--ring: oklch(0.794 0.079 138.459);
--chart-1: oklch(0.794 0.079 138.459);
--chart-2: oklch(0.812 0.068 120.049);
--chart-3: oklch(0.79 0.072 152.777);
--chart-4: oklch(0.83 0.061 119.868);
--chart-5: oklch(0.798 0.086 138.475);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.013 137.011);
--foreground: oklch(0.994 0.003 138.333);
--muted: oklch(0.287 0.044 121.479);
--muted-foreground: oklch(0.744 0.015 118.918);
--popover: oklch(0.122 0.017 137.011);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.122 0.017 137.011);
--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.794 0.079 138.459);
--primary-foreground: oklch(0.22 0.031 138.552);
--secondary: oklch(0.812 0.068 120.049);
--secondary-foreground: oklch(0.227 0.026 120.697);
--accent: oklch(0.79 0.072 152.777);
--accent-foreground: oklch(0.218 0.028 151.921);
--destructive: oklch(0.692 0.163 46.198);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.794 0.079 138.459);
--chart-1: oklch(0.794 0.079 138.459);
--chart-2: oklch(0.812 0.068 120.049);
--chart-3: oklch(0.79 0.072 152.777);
--chart-4: oklch(0.83 0.061 119.868);
--chart-5: oklch(0.798 0.086 138.475);
}