Antechamber is a shadcn/ui theme built around a muted green primary color (#a6c398) with neutral gray accents (#dbdbdb). The light mode uses a neutral background (#fcfefb). Dark mode keeps the muted green primary (#a6c398) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #000000black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f9fdf7mintcream | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f9fdf7mintcream | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #a6c398darkseagreen | #a6c398darkseagreen |
| Primary foreground | #131a0fblack | #131a0fblack |
| Secondary | #dbdbdbgainsboro | #2e3829darkslategray |
| Secondary foreground | #424242darkslategray | #c7d2c1silver |
| Muted | #f4e6e6linen | #0f190bblack |
| Muted foreground | #594646darkolivegreen | #adb9a6darkgray |
| Accent | #dbdbdbgainsboro | #2e3829darkslategray |
| Accent foreground | #424242darkslategray | #c7d2c1silver |
| Destructive | #c70f0ffirebrick | #f14141tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a6c398darkseagreen | #a6c398darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.69:1 | AAA |
| Text on card | 20.38:1 | AAA |
| Primary button | 9.18:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 7.24:1 | AAA |
| Accent | 7.27:1 | AAA |
| Destructive | 5.98:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 9.18:1 | AAA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 8.81:1 | AAA |
| Accent | 7.81:1 | AAA |
| Destructive | 3.77:1 | AA Large |
Paste this into your globals.css to use Antechamber in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 134.848);
--foreground: oklch(0 0 0);
--muted: oklch(0.936 0.016 17.435);
--muted-foreground: oklch(0.413 0.026 18.265);
--popover: oklch(0.989 0.008 134.87);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.989 0.008 134.87);
--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.784 0.066 135.277);
--primary-foreground: oklch(0.206 0.023 135.447);
--secondary: oklch(0.892 0 180);
--secondary-foreground: oklch(0.38 0 180);
--accent: oklch(0.892 0 180);
--accent-foreground: oklch(0.38 0 180);
--destructive: oklch(0.526 0.209 28.58);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.784 0.066 135.277);
--chart-1: oklch(0.784 0.066 135.277);
--chart-2: oklch(0.892 0 180);
--chart-3: oklch(0.892 0 180);
--chart-4: oklch(0.916 0 180);
--chart-5: oklch(0.788 0.074 135.33);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.199 0.031 135.757);
--muted-foreground: oklch(0.772 0.03 135.023);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.784 0.066 135.277);
--primary-foreground: oklch(0.206 0.023 135.447);
--secondary: oklch(0.327 0.03 135.321);
--secondary-foreground: oklch(0.85 0.026 134.983);
--accent: oklch(0.327 0.03 135.321);
--accent-foreground: oklch(0.85 0.026 134.983);
--destructive: oklch(0.637 0.212 25.596);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.784 0.066 135.277);
--chart-1: oklch(0.784 0.066 135.277);
--chart-2: oklch(0.327 0.03 135.321);
--chart-3: oklch(0.327 0.03 135.321);
--chart-4: oklch(0.359 0.034 135.338);
--chart-5: oklch(0.788 0.074 135.33);
}