Auditorium is a shadcn/ui theme built around a muted teal primary color (#7eb4a1) with muted cyan accents (#7eacb4). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted teal primary (#7eb4a1) on a teal-tinted background (#070d0b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070d0bblack |
| Foreground | #030d09black | #fcfdfdwhite |
| Card | #ffffffwhite | #070d0bblack |
| Card foreground | #030d09black | #fcfdfdwhite |
| Popover | #ffffffwhite | #070d0bblack |
| Popover foreground | #030d09black | #fcfdfdwhite |
| Primary | #7eb4a1darkseagreen | #7eb4a1darkseagreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #7eb486darkseagreen | #7eb486darkseagreen |
| Secondary foreground | #000000black | #000000black |
| Muted | #e9ecealavender | #131614black |
| Muted foreground | #445a47darkslategray | #a5bba8darkgray |
| Accent | #7eacb4cadetblue | #7eacb4cadetblue |
| Accent foreground | #000000black | #000000black |
| Destructive | #761c0amaroon | #ef5334tomato |
| Destructive foreground | #f9c3b8lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7eb4a1darkseagreen | #7eb4a1darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.71:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 8.89:1 | AAA |
| Secondary button | 8.73:1 | AAA |
| Muted text | 6.30:1 | AA |
| Accent | 8.41:1 | AAA |
| Destructive | 6.98:1 | AA |
| Text on background | 19.19:1 | AAA |
| Text on card | 19.19:1 | AAA |
| Primary button | 8.89:1 | AAA |
| Secondary button | 8.73:1 | AAA |
| Muted text | 8.93:1 | AAA |
| Accent | 8.41:1 | AAA |
| Destructive | 3.53:1 | AA Large |
Paste this into your globals.css to use Auditorium in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.144 0.02 173.14);
--muted: oklch(0.94 0.004 150.194);
--muted-foreground: oklch(0.444 0.041 148.97);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.144 0.02 173.14);
--card: oklch(1 0 180);
--card-foreground: oklch(0.144 0.02 173.14);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.726 0.062 170.762);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.719 0.086 148.547);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.713 0.05 209.583);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.375 0.127 32.953);
--destructive-foreground: oklch(0.863 0.064 31.379);
--ring: oklch(0.726 0.062 170.762);
--chart-1: oklch(0.726 0.062 170.762);
--chart-2: oklch(0.719 0.086 148.547);
--chart-3: oklch(0.713 0.05 209.583);
--chart-4: oklch(0.74 0.079 148.741);
--chart-5: oklch(0.731 0.069 170.441);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.153 0.012 172.094);
--foreground: oklch(0.993 0.002 173.519);
--muted: oklch(0.195 0.006 149.865);
--muted-foreground: oklch(0.77 0.036 149.621);
--popover: oklch(0.153 0.012 172.094);
--popover-foreground: oklch(0.993 0.002 173.519);
--card: oklch(0.153 0.012 172.094);
--card-foreground: oklch(0.993 0.002 173.519);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.726 0.062 170.762);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.719 0.086 148.547);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.713 0.05 209.583);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.65 0.197 33.211);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.726 0.062 170.762);
--chart-1: oklch(0.726 0.062 170.762);
--chart-2: oklch(0.719 0.086 148.547);
--chart-3: oklch(0.713 0.05 209.583);
--chart-4: oklch(0.74 0.079 148.741);
--chart-5: oklch(0.731 0.069 170.441);
}