Jam-packed is a shadcn/ui theme built around a near-black primary color (#0a0a0b) with near-black accents (#0a0b0a). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#0a0a0b) on a neutral background (#030307).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030307black |
| Foreground | #050714black | #fcfcfdwhite |
| Card | #fcfcfcsnow | #04050bblack |
| Card foreground | #040510black | #ffffffwhite |
| Popover | #ffffffwhite | #030307black |
| Popover foreground | #050714black | #fcfcfdwhite |
| Primary | #0a0a0bblack | #0a0a0bblack |
| Primary foreground | #9e9fa9darkgray | #9e9fa9darkgray |
| Secondary | #0b0a0ablack | #0b0a0ablack |
| Secondary foreground | #a99e9fdarkgray | #a99e9fdarkgray |
| Muted | #e7dadbgainsboro | #251819black |
| Muted foreground | #4c3d3fdarkslategray | #c2b3b4silver |
| Accent | #0a0b0ablack | #0a0b0ablack |
| Accent foreground | #9fa99edarkgray | #9fa99edarkgray |
| Destructive | #601c0bmaroon | #e85530chocolate |
| Destructive foreground | #f5b7a8lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0a0a0bblack | #0a0a0bblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.05:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 7.54:1 | AAA |
| Accent | 8.12:1 | AAA |
| Destructive | 7.31:1 | AAA |
| Text on background | 20.05:1 | AAA |
| Text on card | 20.35:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 8.48:1 | AAA |
| Accent | 8.12:1 | AAA |
| Destructive | 3.63:1 | AA Large |
Paste this into your globals.css to use Jam-packed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.133 0.031 274.987);
--muted: oklch(0.899 0.014 10.438);
--muted-foreground: oklch(0.378 0.021 11.366);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.133 0.031 274.987);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.123 0.027 274.842);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.144 0.002 280.906);
--primary-foreground: oklch(0.704 0.014 280.951);
--secondary: oklch(0.144 0.002 10.279);
--secondary-foreground: oklch(0.708 0.013 10.494);
--accent: oklch(0.147 0.003 142.48);
--accent-foreground: oklch(0.723 0.019 142.518);
--destructive: oklch(0.334 0.103 34.849);
--destructive-foreground: oklch(0.833 0.076 34.481);
--ring: oklch(0.144 0.002 280.906);
--chart-1: oklch(0.144 0.002 280.906);
--chart-2: oklch(0.144 0.002 10.279);
--chart-3: oklch(0.147 0.003 142.48);
--chart-4: oklch(0.179 0.004 10.529);
--chart-5: oklch(0.143 0.004 280.693);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.102 0.015 276.918);
--foreground: oklch(0.991 0.002 281.259);
--muted: oklch(0.227 0.021 12.202);
--muted-foreground: oklch(0.779 0.017 10.588);
--popover: oklch(0.102 0.015 276.918);
--popover-foreground: oklch(0.991 0.002 281.259);
--card: oklch(0.117 0.017 276.933);
--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.144 0.002 280.906);
--primary-foreground: oklch(0.704 0.014 280.951);
--secondary: oklch(0.144 0.002 10.279);
--secondary-foreground: oklch(0.708 0.013 10.494);
--accent: oklch(0.147 0.003 142.48);
--accent-foreground: oklch(0.723 0.019 142.518);
--destructive: oklch(0.642 0.189 35.019);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.144 0.002 280.906);
--chart-1: oklch(0.144 0.002 280.906);
--chart-2: oklch(0.144 0.002 10.279);
--chart-3: oklch(0.147 0.003 142.48);
--chart-4: oklch(0.179 0.004 10.529);
--chart-5: oklch(0.143 0.004 280.693);
}