Archeology is a shadcn/ui theme built around a neutral gray primary color (#4a4046) with neutral gray accents (#40464a). The light mode uses a neutral background (#fefbfd). Dark mode keeps the neutral gray primary (#4a4046) on a neutral background (#030203).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfdsnow | #030203black |
| Foreground | #16030eblack | #faf5f8whitesmoke |
| Card | #fefbfdsnow | #030203black |
| Card foreground | #16030eblack | #faf5f8whitesmoke |
| Popover | #fefbfdsnow | #030203black |
| Popover foreground | #16030eblack | #faf5f8whitesmoke |
| Primary | #4a4046darkslategray | #4a4046darkslategray |
| Primary foreground | #e0dcdegainsboro | #e0dcdegainsboro |
| Secondary | #464a40darkslategray | #464a40darkslategray |
| Secondary foreground | #dee0dcgainsboro | #dee0dcgainsboro |
| Muted | #e4e7degainsboro | #1d2118black |
| Muted foreground | #50554adarkslategray | #b1b5aadarkgray |
| Accent | #40464adarkslategray | #40464adarkslategray |
| Accent foreground | #dcdee0gainsboro | #dcdee0gainsboro |
| Destructive | #602106maroon | #f4753etomato |
| Destructive foreground | #f9ba9flightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4a4046darkslategray | #4a4046darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.36:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 6.86:1 | AA |
| Muted text | 6.14:1 | AA |
| Accent | 7.12:1 | AAA |
| Destructive | 7.29:1 | AAA |
| Text on background | 19.22:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 6.86:1 | AA |
| Muted text | 7.87:1 | AAA |
| Accent | 7.12:1 | AAA |
| Destructive | 7.43:1 | AAA |
Paste this into your globals.css to use Archeology in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.005 341.121);
--foreground: oklch(0.146 0.044 345.243);
--muted: oklch(0.924 0.013 125.235);
--muted-foreground: oklch(0.44 0.019 125.64);
--popover: oklch(0.99 0.005 341.121);
--popover-foreground: oklch(0.146 0.044 345.243);
--card: oklch(0.99 0.005 341.121);
--card-foreground: oklch(0.146 0.044 345.243);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.383 0.016 341.962);
--primary-foreground: oklch(0.897 0.006 341.174);
--secondary: oklch(0.401 0.017 125.628);
--secondary-foreground: oklch(0.904 0.007 125.146);
--accent: oklch(0.389 0.01 238.737);
--accent-foreground: oklch(0.9 0.004 238.425);
--destructive: oklch(0.341 0.099 40.481);
--destructive-foreground: oklch(0.84 0.083 44.221);
--ring: oklch(0.383 0.016 341.962);
--chart-1: oklch(0.383 0.016 341.962);
--chart-2: oklch(0.401 0.017 125.628);
--chart-3: oklch(0.389 0.01 238.737);
--chart-4: oklch(0.431 0.018 125.637);
--chart-5: oklch(0.381 0.023 342.366);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.088 0.009 341.056);
--foreground: oklch(0.974 0.007 341.19);
--muted: oklch(0.239 0.017 126.094);
--muted-foreground: oklch(0.768 0.016 125.341);
--popover: oklch(0.088 0.009 341.056);
--popover-foreground: oklch(0.974 0.007 341.19);
--card: oklch(0.088 0.009 341.056);
--card-foreground: oklch(0.974 0.007 341.19);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.383 0.016 341.962);
--primary-foreground: oklch(0.897 0.006 341.174);
--secondary: oklch(0.401 0.017 125.628);
--secondary-foreground: oklch(0.904 0.007 125.146);
--accent: oklch(0.389 0.01 238.737);
--accent-foreground: oklch(0.9 0.004 238.425);
--destructive: oklch(0.702 0.171 42.254);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.383 0.016 341.962);
--chart-1: oklch(0.383 0.016 341.962);
--chart-2: oklch(0.401 0.017 125.628);
--chart-3: oklch(0.389 0.01 238.737);
--chart-4: oklch(0.431 0.018 125.637);
--chart-5: oklch(0.381 0.023 342.366);
}