Antechamber is a shadcn/ui theme built around a near-white primary color (#ffffff) with muted light red accents (#d9c9c9). The light mode uses a neutral background (#fdf7f7). Dark mode keeps the near-white primary (#ffffff) on a neutral background (#040101).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f7snow | #040101black |
| Foreground | #0d0202black | #fbf9f9snow |
| Card | #fdf7f7snow | #040101black |
| Card foreground | #0d0202black | #fbf9f9snow |
| Popover | #fdf7f7snow | #040101black |
| Popover foreground | #0d0202black | #fbf9f9snow |
| Primary | #ffffffwhite | #ffffffwhite |
| Primary foreground | #333333darkslategray | #333333darkslategray |
| Secondary | #d9c9c9lightgrey | #1c1717black |
| Secondary foreground | #422f2fdarkslategray | #bbaaaadarkgray |
| Muted | #dbd6d6gainsboro | #292424darkslategray |
| Muted foreground | #4a4a4adarkslategray | #b5b5b5silver |
| Accent | #d9c9c9lightgrey | #1c1717black |
| Accent foreground | #422f2fdarkslategray | #bbaaaadarkgray |
| Destructive | #d41f08firebrick | #f12409orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ffffffwhite | #ffffffwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.30:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 7.84:1 | AAA |
| Muted text | 6.17:1 | AA |
| Accent | 7.84:1 | AAA |
| Destructive | 5.25:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 7.49:1 | AAA |
| Accent | 7.98:1 | AAA |
| Destructive | 4.19:1 | AA Large |
Paste this into your globals.css to use Antechamber in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 17.263);
--foreground: oklch(0.114 0.029 22.864);
--muted: oklch(0.881 0.006 17.269);
--muted-foreground: oklch(0.409 0 190.305);
--popover: oklch(0.981 0.006 17.263);
--popover-foreground: oklch(0.114 0.029 22.864);
--card: oklch(0.981 0.006 17.263);
--card-foreground: oklch(0.114 0.029 22.864);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(0.85 0.017 17.502);
--secondary-foreground: oklch(0.326 0.028 18.708);
--accent: oklch(0.85 0.017 17.502);
--accent-foreground: oklch(0.326 0.028 18.708);
--destructive: oklch(0.556 0.214 30.766);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(0.85 0.017 17.502);
--chart-3: oklch(0.85 0.017 17.502);
--chart-4: oklch(0.875 0.014 17.433);
--chart-5: oklch(1 0 180);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.082 0.015 20.998);
--foreground: oklch(0.983 0.003 17.206);
--muted: oklch(0.265 0.008 17.675);
--muted-foreground: oklch(0.773 0 180);
--popover: oklch(0.082 0.015 20.998);
--popover-foreground: oklch(0.983 0.003 17.206);
--card: oklch(0.082 0.015 20.998);
--card-foreground: oklch(0.983 0.003 17.206);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(0.21 0.009 17.895);
--secondary-foreground: oklch(0.753 0.02 17.594);
--accent: oklch(0.21 0.009 17.895);
--accent-foreground: oklch(0.753 0.02 17.594);
--destructive: oklch(0.613 0.237 30.706);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(0.21 0.009 17.895);
--chart-3: oklch(0.21 0.009 17.895);
--chart-4: oklch(0.241 0.011 17.968);
--chart-5: oklch(1 0 180);
}