Cemetery is a shadcn/ui theme built around a deep red primary color (#2a0e11) with deep indigo accents (#0e112a). The light mode uses a neutral background (#fefbfb). Dark mode keeps the deep red primary (#2a0e11) on a neutral background (#040202).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #040202black |
| Foreground | #100506black | #ffffffwhite |
| Card | #fcf7f8snow | #070303black |
| Card foreground | #0c0404black | #ffffffwhite |
| Popover | #fcf7f8snow | #070303black |
| Popover foreground | #0c0404black | #ffffffwhite |
| Primary | #2a0e11black | #2a0e11black |
| Primary foreground | #d99197rosybrown | #d99197rosybrown |
| Secondary | #112a0eblack | #112a0eblack |
| Secondary foreground | #4fbf45limegreen | #4fbf45limegreen |
| Muted | #dcebdbgainsboro | #152414black |
| Muted foreground | #4f5b4ddarkslategray | #a5b2a4darkgray |
| Accent | #0e112ablack | #0e112ablack |
| Accent foreground | #9197d9mediumpurple | #9197d9mediumpurple |
| Destructive | #b72110firebrick | #eb321eorangered |
| Destructive foreground | #fffbfasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2a0e11black | #2a0e11black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.51:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 7.22:1 | AAA |
| Secondary button | 6.53:1 | AA |
| Muted text | 5.78:1 | AA |
| Accent | 6.75:1 | AA |
| Destructive | 6.31:1 | AA |
| Text on background | 20.75:1 | AAA |
| Text on card | 20.51:1 | AAA |
| Primary button | 7.22:1 | AAA |
| Secondary button | 6.53:1 | AA |
| Muted text | 7.31:1 | AAA |
| Accent | 6.75:1 | AA |
| Destructive | 4.17:1 | AA Large |
Paste this into your globals.css to use Cemetery in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 11.31);
--foreground: oklch(0.133 0.022 13.51);
--muted: oklch(0.925 0.028 142.993);
--muted-foreground: oklch(0.456 0.026 142.86);
--popover: oklch(0.981 0.005 11.372);
--popover-foreground: oklch(0.12 0.019 12.922);
--card: oklch(0.981 0.005 11.372);
--card-foreground: oklch(0.12 0.019 12.922);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.21 0.046 16.735);
--primary-foreground: oklch(0.73 0.088 14.006);
--secondary: oklch(0.256 0.058 142.083);
--secondary-foreground: oklch(0.715 0.191 141.955);
--accent: oklch(0.19 0.05 276.552);
--accent-foreground: oklch(0.697 0.097 279.543);
--destructive: oklch(0.504 0.187 30.52);
--destructive-foreground: oklch(0.99 0.004 25.024);
--ring: oklch(0.21 0.046 16.735);
--chart-1: oklch(0.21 0.046 16.735);
--chart-2: oklch(0.256 0.058 142.083);
--chart-3: oklch(0.19 0.05 276.552);
--chart-4: oklch(0.296 0.071 142.04);
--chart-5: oklch(0.209 0.049 17.165);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.085 0.01 12.366);
--foreground: oklch(1 0 180);
--muted: oklch(0.243 0.038 142.393);
--muted-foreground: oklch(0.749 0.023 142.987);
--popover: oklch(0.108 0.013 12.366);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.108 0.013 12.366);
--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.21 0.046 16.735);
--primary-foreground: oklch(0.73 0.088 14.006);
--secondary: oklch(0.256 0.058 142.083);
--secondary-foreground: oklch(0.715 0.191 141.955);
--accent: oklch(0.19 0.05 276.552);
--accent-foreground: oklch(0.697 0.097 279.543);
--destructive: oklch(0.612 0.222 30.499);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.21 0.046 16.735);
--chart-1: oklch(0.21 0.046 16.735);
--chart-2: oklch(0.256 0.058 142.083);
--chart-3: oklch(0.19 0.05 276.552);
--chart-4: oklch(0.296 0.071 142.04);
--chart-5: oklch(0.209 0.049 17.165);
}