Retail Jagger is a shadcn/ui theme built around a muted deep violet primary color (#433154) with muted deep purple accents (#543152). The light mode uses a neutral background (#faf8fc). Dark mode keeps the muted deep violet primary (#433154) on a violet-tinted background (#0a070d).
| Token | Light | Dark |
|---|---|---|
| Background | #faf8fcghostwhite | #0a070dblack |
| Foreground | #08030cblack | #fcfcfdwhite |
| Card | #faf8fcghostwhite | #0a070dblack |
| Card foreground | #08030cblack | #fcfcfdwhite |
| Popover | #faf8fcghostwhite | #0a070dblack |
| Popover foreground | #08030cblack | #fcfcfdwhite |
| Primary | #433154darkslategray | #433154darkslategray |
| Primary foreground | #dcd2e5gainsboro | #dcd2e5gainsboro |
| Secondary | #323154darkslategray | #323154darkslategray |
| Secondary foreground | #d3d2e5gainsboro | #d3d2e5gainsboro |
| Muted | #d9d9edgainsboro | #121226black |
| Muted foreground | #525266dimgray | #9a99addarkgray |
| Accent | #543152darkslategray | #543152darkslategray |
| Accent foreground | #e5d2e4gainsboro | #e5d2e4gainsboro |
| Destructive | #ab0b03darkred | #fb1f13red |
| Destructive foreground | #ffe2e1mistyrose | #ffffffwhite |
| Border | #edecefwhitesmoke | #1f1c21black |
| Input | #edecefwhitesmoke | #1f1c21black |
| Ring | #433154darkslategray | #433154darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.31:1 | AAA |
| Text on card | 19.31:1 | AAA |
| Primary button | 7.95:1 | AAA |
| Secondary button | 8.28:1 | AAA |
| Muted text | 5.46:1 | AA |
| Accent | 7.57:1 | AAA |
| Destructive | 6.20:1 | AA |
| Text on background | 19.49:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 7.95:1 | AAA |
| Secondary button | 8.28:1 | AAA |
| Muted text | 6.61:1 | AA |
| Accent | 7.57:1 | AAA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Retail Jagger in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 309.723);
--foreground: oklch(0.118 0.025 311.195);
--muted: oklch(0.891 0.028 287.342);
--muted-foreground: oklch(0.446 0.033 286.513);
--popover: oklch(0.981 0.006 309.723);
--popover-foreground: oklch(0.118 0.025 311.195);
--card: oklch(0.981 0.006 309.723);
--card-foreground: oklch(0.118 0.025 311.195);
--border: oklch(0.944 0.005 309.736);
--input: oklch(0.944 0.005 309.736);
--primary: oklch(0.35 0.063 307.947);
--primary-foreground: oklch(0.877 0.027 309.477);
--secondary: oklch(0.332 0.06 284.133);
--secondary-foreground: oklch(0.87 0.025 287.39);
--accent: oklch(0.369 0.071 328.068);
--accent-foreground: oklch(0.884 0.031 326.844);
--destructive: oklch(0.469 0.187 29.711);
--destructive-foreground: oklch(0.936 0.031 21.334);
--ring: oklch(0.35 0.063 307.947);
--chart-1: oklch(0.35 0.063 307.947);
--chart-2: oklch(0.332 0.06 284.133);
--chart-3: oklch(0.369 0.071 328.068);
--chart-4: oklch(0.356 0.066 284.041);
--chart-5: oklch(0.347 0.07 307.697);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.015 309.594);
--foreground: oklch(0.992 0.001 309.771);
--muted: oklch(0.194 0.041 283.362);
--muted-foreground: oklch(0.69 0.029 287.133);
--popover: oklch(0.138 0.015 309.594);
--popover-foreground: oklch(0.992 0.001 309.771);
--card: oklch(0.138 0.015 309.594);
--card-foreground: oklch(0.992 0.001 309.771);
--border: oklch(0.231 0.011 309.302);
--input: oklch(0.231 0.011 309.302);
--primary: oklch(0.35 0.063 307.947);
--primary-foreground: oklch(0.877 0.027 309.477);
--secondary: oklch(0.332 0.06 284.133);
--secondary-foreground: oklch(0.87 0.025 287.39);
--accent: oklch(0.369 0.071 328.068);
--accent-foreground: oklch(0.884 0.031 326.844);
--destructive: oklch(0.629 0.247 29.429);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.35 0.063 307.947);
--chart-1: oklch(0.35 0.063 307.947);
--chart-2: oklch(0.332 0.06 284.133);
--chart-3: oklch(0.369 0.071 328.068);
--chart-4: oklch(0.356 0.066 284.041);
--chart-5: oklch(0.347 0.07 307.697);
}