Voluminous is a shadcn/ui theme built around a red primary color (#c73d38) with indigo accents (#3d38c7). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#c73d38) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #100505black | #fdfcfcsnow |
| Card | #ffffffwhite | #000000black |
| Card foreground | #100505black | #fdfcfcsnow |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #100505black | #fdfcfcsnow |
| Primary | #c73d38firebrick | #c73d38firebrick |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #38c73dlimegreen | #38c73dlimegreen |
| Secondary foreground | #0b280cblack | #0b280cblack |
| Muted | #d9e2dagainsboro | #1d261dblack |
| Muted foreground | #5b675bdimgray | #98a499darkgray |
| Accent | #3d38c7royalblue | #3d38c7royalblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #5e1108maroon | #eb2a14orangered |
| Destructive foreground | #f7aaa1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c73d38firebrick | #c73d38firebrick |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.07:1 | AAA |
| Text on card | 20.07:1 | AAA |
| Primary button | 5.06:1 | AA |
| Secondary button | 7.10:1 | AAA |
| Muted text | 4.49:1 | AA Large |
| Accent | 8.11:1 | AAA |
| Destructive | 7.20:1 | AAA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.50:1 | AAA |
| Primary button | 5.06:1 | AA |
| Secondary button | 7.10:1 | AAA |
| Muted text | 6.03:1 | AA |
| Accent | 8.11:1 | AAA |
| Destructive | 4.32:1 | AA Large |
Paste this into your globals.css to use Voluminous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.134 0.022 23.326);
--muted: oklch(0.905 0.016 146.39);
--muted-foreground: oklch(0.499 0.023 146.137);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.134 0.022 23.326);
--card: oklch(1 0 180);
--card-foreground: oklch(0.134 0.022 23.326);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.561 0.176 26.495);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.728 0.214 143.387);
--secondary-foreground: oklch(0.246 0.06 144.037);
--accent: oklch(0.45 0.212 275.145);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.316 0.111 30.453);
--destructive-foreground: oklch(0.809 0.092 26.321);
--ring: oklch(0.561 0.176 26.495);
--chart-1: oklch(0.561 0.176 26.495);
--chart-2: oklch(0.728 0.214 143.387);
--chart-3: oklch(0.45 0.212 275.145);
--chart-4: oklch(0.741 0.206 143.607);
--chart-5: oklch(0.563 0.183 26.891);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.991 0.002 19.631);
--muted: oklch(0.256 0.021 145.785);
--muted-foreground: oklch(0.706 0.021 146.281);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.991 0.002 19.631);
--card: oklch(0 0 0);
--card-foreground: oklch(0.991 0.002 19.631);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.561 0.176 26.495);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.728 0.214 143.387);
--secondary-foreground: oklch(0.246 0.06 144.037);
--accent: oklch(0.45 0.212 275.145);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.605 0.227 30.51);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.561 0.176 26.495);
--chart-1: oklch(0.561 0.176 26.495);
--chart-2: oklch(0.728 0.214 143.387);
--chart-3: oklch(0.45 0.212 275.145);
--chart-4: oklch(0.741 0.206 143.607);
--chart-5: oklch(0.563 0.183 26.891);
}