Voluminous is a shadcn/ui theme built around a deep green primary color (#0c0d07) with deep purple accents (#0d070c). The light mode uses a neutral background (#fdfefb). Dark mode keeps the deep green primary (#0c0d07) on a neutral background (#070802).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #070802black |
| Foreground | #0f1103black | #fdfdfcwhite |
| Card | #fdfefbwhite | #070802black |
| Card foreground | #0f1103black | #fdfdfcwhite |
| Popover | #fdfefbwhite | #070802black |
| Popover foreground | #0f1103black | #fdfdfcwhite |
| Primary | #0c0d07black | #0c0d07black |
| Primary foreground | #b7c186darkkhaki | #b7c186darkkhaki |
| Secondary | #070c0dblack | #070c0dblack |
| Secondary foreground | #86b7c1darkgray | #86b7c1darkgray |
| Muted | #e8f1f3lavender | #0c1517black |
| Muted foreground | #434646darkslategray | #b9bbbcsilver |
| Accent | #0d070cblack | #0d070cblack |
| Accent foreground | #c186b7rosybrown | #c186b7rosybrown |
| Destructive | #a32d0ffirebrick | #ee6644tomato |
| Destructive foreground | #fdece8linen | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0c0d07black | #0c0d07black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.80:1 | AAA |
| Text on card | 18.80:1 | AAA |
| Primary button | 10.17:1 | AAA |
| Secondary button | 8.93:1 | AAA |
| Muted text | 8.28:1 | AAA |
| Accent | 6.98:1 | AA |
| Destructive | 6.23:1 | AA |
| Text on background | 19.74:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 10.17:1 | AAA |
| Secondary button | 8.93:1 | AAA |
| Muted text | 9.56:1 | AAA |
| Accent | 6.98:1 | AA |
| Destructive | 6.61:1 | AA |
Paste this into your globals.css to use Voluminous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 114.125);
--foreground: oklch(0.172 0.03 116.463);
--muted: oklch(0.951 0.01 211.038);
--muted-foreground: oklch(0.391 0.003 211.038);
--popover: oklch(0.995 0.003 114.125);
--popover-foreground: oklch(0.172 0.03 116.463);
--card: oklch(0.995 0.003 114.125);
--card-foreground: oklch(0.172 0.03 116.463);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.157 0.014 115.352);
--primary-foreground: oklch(0.788 0.079 115.952);
--secondary: oklch(0.15 0.009 210.413);
--secondary-foreground: oklch(0.748 0.053 211.319);
--accent: oklch(0.141 0.017 332.049);
--accent-foreground: oklch(0.694 0.097 332.594);
--destructive: oklch(0.478 0.159 34.307);
--destructive-foreground: oklch(0.955 0.019 34.297);
--ring: oklch(0.157 0.014 115.352);
--chart-1: oklch(0.157 0.014 115.352);
--chart-2: oklch(0.15 0.009 210.413);
--chart-3: oklch(0.141 0.017 332.049);
--chart-4: oklch(0.19 0.015 211.375);
--chart-5: oklch(0.159 0.015 115.452);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.13 0.019 114.897);
--foreground: oklch(0.994 0.001 114.094);
--muted: oklch(0.19 0.014 211.328);
--muted-foreground: oklch(0.791 0.003 211.041);
--popover: oklch(0.13 0.019 114.897);
--popover-foreground: oklch(0.994 0.001 114.094);
--card: oklch(0.13 0.019 114.897);
--card-foreground: oklch(0.994 0.001 114.094);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.157 0.014 115.352);
--primary-foreground: oklch(0.788 0.079 115.952);
--secondary: oklch(0.15 0.009 210.413);
--secondary-foreground: oklch(0.748 0.053 211.319);
--accent: oklch(0.141 0.017 332.049);
--accent-foreground: oklch(0.694 0.097 332.594);
--destructive: oklch(0.674 0.175 35.205);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.157 0.014 115.352);
--chart-1: oklch(0.157 0.014 115.352);
--chart-2: oklch(0.15 0.009 210.413);
--chart-3: oklch(0.141 0.017 332.049);
--chart-4: oklch(0.19 0.015 211.375);
--chart-5: oklch(0.159 0.015 115.452);
}