ArchiveBox Red is a shadcn/ui theme built around a pink primary color (#9b3659) with blue accents (#36599b). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#9b3659) on a pink-tinted background (#0d0709).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0d0709black |
| Foreground | #110308black | #fdfcfcsnow |
| Card | #ffffffwhite | #0d0709black |
| Card foreground | #110308black | #fdfcfcsnow |
| Popover | #ffffffwhite | #0d0709black |
| Popover foreground | #110308black | #fdfcfcsnow |
| Primary | #9b3659brown | #9b3659brown |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #599b36olivedrab | #599b36olivedrab |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ecf1ealinen | #11150eblack |
| Muted foreground | #616c5adimgray | #99a593darkseagreen |
| Accent | #36599bdarkslateblue | #36599bdarkslateblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #aa3f0esaddlebrown | #ed6221chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #f1efefwhitesmoke | #211c1eblack |
| Input | #f1efefwhitesmoke | #211c1eblack |
| Ring | #9b3659brown | #9b3659brown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.18:1 | AAA |
| Text on card | 20.18:1 | AAA |
| Primary button | 6.84:1 | AA |
| Secondary button | 3.41:1 | AA Large |
| Muted text | 4.81:1 | AA |
| Accent | 6.82:1 | AA |
| Destructive | 6.12:1 | AA |
| Text on background | 19.49:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 6.84:1 | AA |
| Secondary button | 3.41:1 | AA Large |
| Muted text | 7.15:1 | AAA |
| Accent | 6.82:1 | AA |
| Destructive | 6.36:1 | AA |
Paste this into your globals.css to use ArchiveBox Red in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.132 0.031 355.224);
--muted: oklch(0.952 0.011 134.283);
--muted-foreground: oklch(0.517 0.031 134.568);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.132 0.031 355.224);
--card: oklch(1 0 180);
--card-foreground: oklch(0.132 0.031 355.224);
--border: oklch(0.953 0.002 353.65);
--input: oklch(0.953 0.002 353.65);
--primary: oklch(0.487 0.137 2.009);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.623 0.15 136.363);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.473 0.113 261.697);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.511 0.151 40.734);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.487 0.137 2.009);
--chart-1: oklch(0.487 0.137 2.009);
--chart-2: oklch(0.623 0.15 136.363);
--chart-3: oklch(0.473 0.113 261.697);
--chart-4: oklch(0.656 0.159 136.384);
--chart-5: oklch(0.488 0.144 2.625);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.013 354.465);
--foreground: oklch(0.992 0.001 353.605);
--muted: oklch(0.19 0.016 134.717);
--muted-foreground: oklch(0.706 0.029 134.453);
--popover: oklch(0.139 0.013 354.465);
--popover-foreground: oklch(0.992 0.001 353.605);
--card: oklch(0.139 0.013 354.465);
--card-foreground: oklch(0.992 0.001 353.605);
--border: oklch(0.234 0.007 354.44);
--input: oklch(0.234 0.007 354.44);
--primary: oklch(0.487 0.137 2.009);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.623 0.15 136.363);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.473 0.113 261.697);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.664 0.186 41.658);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.487 0.137 2.009);
--chart-1: oklch(0.487 0.137 2.009);
--chart-2: oklch(0.623 0.15 136.363);
--chart-3: oklch(0.473 0.113 261.697);
--chart-4: oklch(0.656 0.159 136.384);
--chart-5: oklch(0.488 0.144 2.625);
}