Jam-packed is a shadcn/ui theme built around a yellow primary color (#6f5f2f) with green accents (#5f6f2f). The light mode uses a neutral background (#fdfcf7). Dark mode keeps the yellow primary (#6f5f2f) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcf7snow | #040301black |
| Foreground | #040301black | #ffffffwhite |
| Card | #fcfaf2floralwhite | #080603black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fdfcf7snow | #040301black |
| Popover foreground | #040301black | #ffffffwhite |
| Primary | #6f5f2fdarkolivegreen | #6f5f2fdarkolivegreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #6f3f2fsaddlebrown | #6f3f2fsaddlebrown |
| Secondary foreground | #f1e3dfmistyrose | #f1e3dfmistyrose |
| Muted | #f4f1f0whitesmoke | #0f0c0bblack |
| Muted foreground | #6c6360dimgray | #9f9693rosybrown |
| Accent | #5f6f2fdarkolivegreen | #5f6f2fdarkolivegreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ad3400firebrick | #ff621ftomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6f5f2fdarkolivegreen | #6f5f2fdarkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.02:1 | AAA |
| Text on card | 20.09:1 | AAA |
| Primary button | 6.23:1 | AA |
| Secondary button | 6.91:1 | AA |
| Muted text | 5.21:1 | AA |
| Accent | 5.49:1 | AA |
| Destructive | 6.40:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 6.23:1 | AA |
| Secondary button | 6.91:1 | AA |
| Muted text | 6.74:1 | AA |
| Accent | 5.49:1 | AA |
| Destructive | 7.01:1 | AAA |
Paste this into your globals.css to use Jam-packed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.007 91.47);
--foreground: oklch(0.101 0.014 96.967);
--muted: oklch(0.961 0.004 39.482);
--muted-foreground: oklch(0.507 0.013 39.369);
--popover: oklch(0.99 0.007 91.47);
--popover-foreground: oklch(0.101 0.014 96.967);
--card: oklch(0.985 0.01 91.499);
--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.491 0.07 91.252);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.422 0.073 39.142);
--secondary-foreground: oklch(0.927 0.017 39.402);
--accent: oklch(0.515 0.092 121.412);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.503 0.165 37.813);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.491 0.07 91.252);
--chart-1: oklch(0.491 0.07 91.252);
--chart-2: oklch(0.422 0.073 39.142);
--chart-3: oklch(0.515 0.092 121.412);
--chart-4: oklch(0.45 0.079 39.137);
--chart-5: oklch(0.496 0.074 91.089);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.011 95.854);
--foreground: oklch(1 0 180);
--muted: oklch(0.156 0.006 39.317);
--muted-foreground: oklch(0.68 0.012 39.405);
--popover: oklch(0.099 0.011 95.854);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.124 0.013 95.854);
--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.491 0.07 91.252);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.422 0.073 39.142);
--secondary-foreground: oklch(0.927 0.017 39.402);
--accent: oklch(0.515 0.092 121.412);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.692 0.204 39.972);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.491 0.07 91.252);
--chart-1: oklch(0.491 0.07 91.252);
--chart-2: oklch(0.422 0.073 39.142);
--chart-3: oklch(0.515 0.092 121.412);
--chart-4: oklch(0.45 0.079 39.137);
--chart-5: oklch(0.496 0.074 91.089);
}