Cellar is a shadcn/ui theme built around a deep orange primary color (#24190a) with deep violet accents (#190a24). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep orange primary (#24190a) on a neutral background (#080602).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080602black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fcfcfcsnow | #0c0804black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #0c0804black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #24190ablack | #24190ablack |
| Primary foreground | #dbb784burlywood | #dbb784burlywood |
| Secondary | #0a2419black | #0a2419black |
| Secondary foreground | #38c288mediumseagreen | #38c288mediumseagreen |
| Muted | #ebefeewhitesmoke | #101412black |
| Muted foreground | #4c6158dimgray | #9eb3aadarkgray |
| Accent | #190a24black | #190a24black |
| Accent foreground | #b784dborchid | #b784dborchid |
| Destructive | #9e2d00saddlebrown | #ff5b19orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #24190ablack | #24190ablack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 9.13:1 | AAA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 5.74:1 | AA |
| Accent | 6.60:1 | AA |
| Destructive | 7.42:1 | AAA |
| Text on background | 20.28:1 | AAA |
| Text on card | 19.94:1 | AAA |
| Primary button | 9.13:1 | AAA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 8.38:1 | AAA |
| Accent | 6.60:1 | AA |
| Destructive | 6.74:1 | AA |
Paste this into your globals.css to use Cellar in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.949 0.005 169.517);
--muted-foreground: oklch(0.473 0.029 167.816);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.223 0.03 74.46);
--primary-foreground: oklch(0.8 0.079 75.58);
--secondary: oklch(0.235 0.038 163.59);
--secondary-foreground: oklch(0.726 0.144 160.977);
--accent: oklch(0.183 0.053 309.064);
--accent-foreground: oklch(0.697 0.134 310.101);
--destructive: oklch(0.468 0.156 37.181);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.223 0.03 74.46);
--chart-1: oklch(0.223 0.03 74.46);
--chart-2: oklch(0.235 0.038 163.59);
--chart-3: oklch(0.183 0.053 309.064);
--chart-4: oklch(0.277 0.047 162.969);
--chart-5: oklch(0.224 0.032 74.232);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.013 83.486);
--foreground: oklch(1 0 180);
--muted: oklch(0.186 0.008 168.463);
--muted-foreground: oklch(0.747 0.026 168.645);
--popover: oklch(0.139 0.015 82.964);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.139 0.015 82.964);
--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.223 0.03 74.46);
--primary-foreground: oklch(0.8 0.079 75.58);
--secondary: oklch(0.235 0.038 163.59);
--secondary-foreground: oklch(0.726 0.144 160.977);
--accent: oklch(0.183 0.053 309.064);
--accent-foreground: oklch(0.697 0.134 310.101);
--destructive: oklch(0.683 0.211 38.464);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.223 0.03 74.46);
--chart-1: oklch(0.223 0.03 74.46);
--chart-2: oklch(0.235 0.038 163.59);
--chart-3: oklch(0.183 0.053 309.064);
--chart-4: oklch(0.277 0.047 162.969);
--chart-5: oklch(0.224 0.032 74.232);
}