Produce is a shadcn/ui theme built around a light green primary color (#f2f6d5) with light green accents (#e1f6d5). The light mode uses a neutral background (#fcfdf6). Dark mode keeps the light green primary (#f2f6d5) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdf6snow | #000000black |
| Foreground | #121406black | #f9f9f6whitesmoke |
| Card | #fbfcf2floralwhite | #030303black |
| Card foreground | #0e1005black | #fbfbf9snow |
| Popover | #fbfcf2floralwhite | #030303black |
| Popover foreground | #0e1005black | #fbfbf9snow |
| Primary | #f2f6d5beige | #f2f6d5beige |
| Primary foreground | #262a09black | #262a09black |
| Secondary | #f6ead5antiquewhite | #f6ead5antiquewhite |
| Secondary foreground | #2a1e09black | #2a1e09black |
| Muted | #f3f1edwhitesmoke | #12100cblack |
| Muted foreground | #474543darkslategray | #bcbbb8silver |
| Accent | #e1f6d5beige | #e1f6d5beige |
| Accent foreground | #152a09black | #152a09black |
| Destructive | #ba4008firebrick | #f55b14orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f2f6d5beige | #f2f6d5beige |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.23:1 | AAA |
| Text on card | 18.60:1 | AAA |
| Primary button | 13.36:1 | AAA |
| Secondary button | 13.70:1 | AAA |
| Muted text | 8.42:1 | AAA |
| Accent | 13.44:1 | AAA |
| Destructive | 5.48:1 | AA |
| Text on background | 19.90:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 13.36:1 | AAA |
| Secondary button | 13.70:1 | AAA |
| Muted text | 9.88:1 | AAA |
| Accent | 13.44:1 | AAA |
| Destructive | 6.40:1 | AA |
Paste this into your globals.css to use Produce in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.009 112.714);
--foreground: oklch(0.183 0.026 115.014);
--muted: oklch(0.957 0.006 81.513);
--muted-foreground: oklch(0.392 0.005 81.508);
--popover: oklch(0.989 0.014 112.8);
--popover-foreground: oklch(0.166 0.023 114.568);
--card: oklch(0.989 0.014 112.8);
--card-foreground: oklch(0.166 0.023 114.568);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.962 0.044 113.4);
--primary-foreground: oklch(0.274 0.052 116.429);
--secondary: oklch(0.941 0.031 81.461);
--secondary-foreground: oklch(0.245 0.039 78.884);
--accent: oklch(0.95 0.05 133.944);
--accent-foreground: oklch(0.259 0.062 135.914);
--destructive: oklch(0.539 0.167 39.539);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.962 0.044 113.4);
--chart-1: oklch(0.962 0.044 113.4);
--chart-2: oklch(0.941 0.031 81.461);
--chart-3: oklch(0.95 0.05 133.944);
--chart-4: oklch(0.959 0.022 81.49);
--chart-5: oklch(0.964 0.046 113.436);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.981 0.005 112.637);
--muted: oklch(0.175 0.009 81.387);
--muted-foreground: oklch(0.792 0.004 81.513);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.988 0.003 112.605);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.988 0.003 112.605);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.962 0.044 113.4);
--primary-foreground: oklch(0.274 0.052 116.429);
--secondary: oklch(0.941 0.031 81.461);
--secondary-foreground: oklch(0.245 0.039 78.884);
--accent: oklch(0.95 0.05 133.944);
--accent-foreground: oklch(0.259 0.062 135.914);
--destructive: oklch(0.668 0.202 40.184);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.962 0.044 113.4);
--chart-1: oklch(0.962 0.044 113.4);
--chart-2: oklch(0.941 0.031 81.461);
--chart-3: oklch(0.95 0.05 133.944);
--chart-4: oklch(0.959 0.022 81.49);
--chart-5: oklch(0.964 0.046 113.436);
}