Archives is a shadcn/ui theme built around a muted deep yellow primary color (#3a3b26) with muted deep green accents (#2f3b26). The light mode uses a neutral background (#fcfdf7). Dark mode keeps the muted deep yellow primary (#3a3b26) on a neutral background (#070703).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdf7snow | #070703black |
| Foreground | #0b0c03black | #ffffffwhite |
| Card | #fcfdf7snow | #070703black |
| Card foreground | #0b0c03black | #ffffffwhite |
| Popover | #fcfdf7snow | #070703black |
| Popover foreground | #0b0c03black | #ffffffwhite |
| Primary | #3a3b26darkslategray | #3a3b26darkslategray |
| Primary foreground | #d4d5belightgrey | #d4d5belightgrey |
| Secondary | #3b3226darkslategray | #3b3226darkslategray |
| Secondary foreground | #d5cbbelightgrey | #d5cbbelightgrey |
| Muted | #f3eee8linen | #17130cblack |
| Muted foreground | #646462dimgray | #9d9c9bdarkgray |
| Accent | #2f3b26darkslategray | #2f3b26darkslategray |
| Accent foreground | #c8d5besilver | #c8d5besilver |
| Destructive | #d92202firebrick | #fd4a2btomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3a3b26darkslategray | #3a3b26darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.21:1 | AAA |
| Text on card | 19.21:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 5.13:1 | AA |
| Accent | 7.72:1 | AAA |
| Destructive | 5.01:1 | AA |
| Text on background | 20.18:1 | AAA |
| Text on card | 20.18:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 6.76:1 | AA |
| Accent | 7.72:1 | AAA |
| Destructive | 3.38:1 | AA Large |
Paste this into your globals.css to use Archives in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.008 109.622);
--foreground: oklch(0.149 0.02 111.294);
--muted: oklch(0.951 0.01 74.89);
--muted-foreground: oklch(0.502 0.002 74.929);
--popover: oklch(0.992 0.008 109.622);
--popover-foreground: oklch(0.149 0.02 111.294);
--card: oklch(0.992 0.008 109.622);
--card-foreground: oklch(0.149 0.02 111.294);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.345 0.035 111.302);
--primary-foreground: oklch(0.866 0.032 110.152);
--secondary: oklch(0.323 0.024 74.202);
--secondary-foreground: oklch(0.847 0.022 74.781);
--accent: oklch(0.335 0.039 132.219);
--accent-foreground: oklch(0.857 0.035 131.45);
--destructive: oklch(0.568 0.217 31.45);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.345 0.035 111.302);
--chart-1: oklch(0.345 0.035 111.302);
--chart-2: oklch(0.323 0.024 74.202);
--chart-3: oklch(0.335 0.039 132.219);
--chart-4: oklch(0.355 0.027 74.166);
--chart-5: oklch(0.35 0.039 111.495);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.012 110.649);
--foreground: oklch(1 0 180);
--muted: oklch(0.189 0.014 74.182);
--muted-foreground: oklch(0.692 0.002 74.937);
--popover: oklch(0.126 0.012 110.649);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.126 0.012 110.649);
--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.345 0.035 111.302);
--primary-foreground: oklch(0.866 0.032 110.152);
--secondary: oklch(0.323 0.024 74.202);
--secondary-foreground: oklch(0.847 0.022 74.781);
--accent: oklch(0.335 0.039 132.219);
--accent-foreground: oklch(0.857 0.035 131.45);
--destructive: oklch(0.663 0.219 32.367);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.345 0.035 111.302);
--chart-1: oklch(0.345 0.035 111.302);
--chart-2: oklch(0.323 0.024 74.202);
--chart-3: oklch(0.335 0.039 132.219);
--chart-4: oklch(0.355 0.027 74.166);
--chart-5: oklch(0.35 0.039 111.495);
}