Jumbo is a shadcn/ui theme built around a muted deep green primary color (#365946) with muted light green accents (#e3e8e5). The light mode uses a neutral background (#f7fdfa). Dark mode keeps the muted deep green primary (#365946) on a neutral background (#030705).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfamintcream | #030705black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #f7fdfamintcream | #030705black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #f7fdfamintcream | #030705black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #365946darkslategray | #365946darkslategray |
| Primary foreground | #d9e8e0gainsboro | #d9e8e0gainsboro |
| Secondary | #e3e8e5gainsboro | #213128darkslategray |
| Secondary foreground | #46534cdarkslategray | #b6cec1silver |
| Muted | #edf2f0whitesmoke | #0d120fblack |
| Muted foreground | #50685bdimgray | #97afa2darkgray |
| Accent | #e3e8e5gainsboro | #213128darkslategray |
| Accent foreground | #46534cdarkslategray | #b6cec1silver |
| Destructive | #8b290esaddlebrown | #d53f15chocolate |
| Destructive foreground | #fadad1bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #365946darkslategray | #365946darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.35:1 | AAA |
| Text on card | 20.35:1 | AAA |
| Primary button | 6.22:1 | AA |
| Secondary button | 6.50:1 | AA |
| Muted text | 5.35:1 | AA |
| Accent | 6.50:1 | AA |
| Destructive | 6.60:1 | AA |
| Text on background | 19.85:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 6.22:1 | AA |
| Secondary button | 8.21:1 | AAA |
| Muted text | 8.08:1 | AAA |
| Accent | 8.21:1 | AAA |
| Destructive | 4.60:1 | AA |
Paste this into your globals.css to use Jumbo in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.007 163.259);
--foreground: oklch(0 0 0);
--muted: oklch(0.957 0.006 163.279);
--muted-foreground: oklch(0.493 0.035 161.508);
--popover: oklch(0.988 0.007 163.259);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.988 0.007 163.259);
--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.43 0.05 159.999);
--primary-foreground: oklch(0.917 0.019 162.917);
--secondary: oklch(0.926 0.006 163.283);
--secondary-foreground: oklch(0.429 0.021 162.14);
--accent: oklch(0.926 0.006 163.283);
--accent-foreground: oklch(0.429 0.021 162.14);
--destructive: oklch(0.43 0.138 35.326);
--destructive-foreground: oklch(0.912 0.039 35.944);
--ring: oklch(0.43 0.05 159.999);
--chart-1: oklch(0.43 0.05 159.999);
--chart-2: oklch(0.926 0.006 163.283);
--chart-3: oklch(0.926 0.006 163.283);
--chart-4: oklch(0.948 0.004 163.335);
--chart-5: oklch(0.435 0.056 159.57);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.013 163.498);
--foreground: oklch(0.993 0.002 163.403);
--muted: oklch(0.175 0.009 162.012);
--muted-foreground: oklch(0.732 0.032 162.29);
--popover: oklch(0.122 0.013 163.498);
--popover-foreground: oklch(0.993 0.002 163.403);
--card: oklch(0.122 0.013 163.498);
--card-foreground: oklch(0.993 0.002 163.403);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.43 0.05 159.999);
--primary-foreground: oklch(0.917 0.019 162.917);
--secondary: oklch(0.295 0.027 160.888);
--secondary-foreground: oklch(0.83 0.032 162.435);
--accent: oklch(0.295 0.027 160.888);
--accent-foreground: oklch(0.83 0.032 162.435);
--destructive: oklch(0.584 0.194 34.966);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.43 0.05 159.999);
--chart-1: oklch(0.43 0.05 159.999);
--chart-2: oklch(0.295 0.027 160.888);
--chart-3: oklch(0.295 0.027 160.888);
--chart-4: oklch(0.329 0.031 160.78);
--chart-5: oklch(0.435 0.056 159.57);
}