Volcano is a shadcn/ui theme built around a muted blue primary color (#586d7e) with muted orange accents (#7e6958). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted blue primary (#586d7e) on a blue-tinted background (#03080c).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #03080cblack |
| Foreground | #040e16black | #ffffffwhite |
| Card | #ffffffwhite | #03080cblack |
| Card foreground | #040e16black | #ffffffwhite |
| Popover | #ffffffwhite | #03080cblack |
| Popover foreground | #040e16black | #ffffffwhite |
| Primary | #586d7edimgray | #586d7edimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #7e6958dimgray | #7e6958dimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f4f2f1whitesmoke | #0e0d0bblack |
| Muted foreground | #4c4743darkslategray | #bcb7b3silver |
| Accent | #7e6958dimgray | #7e6958dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #771b08maroon | #f04e2dtomato |
| Destructive foreground | #fac3b7lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #586d7edimgray | #586d7edimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.45:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 5.37:1 | AA |
| Secondary button | 5.17:1 | AA |
| Muted text | 8.21:1 | AAA |
| Accent | 5.17:1 | AA |
| Destructive | 6.96:1 | AA |
| Text on background | 20.10:1 | AAA |
| Text on card | 20.10:1 | AAA |
| Primary button | 5.37:1 | AA |
| Secondary button | 5.17:1 | AA |
| Muted text | 9.78:1 | AAA |
| Accent | 5.17:1 | AA |
| Destructive | 3.59:1 | AA Large |
Paste this into your globals.css to use Volcano in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.156 0.025 240.806);
--muted: oklch(0.962 0.002 62.164);
--muted-foreground: oklch(0.401 0.009 61.892);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.156 0.025 240.806);
--card: oklch(1 0 180);
--card-foreground: oklch(0.156 0.025 240.806);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.524 0.037 243.19);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.537 0.038 61.171);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.537 0.038 61.171);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.377 0.13 32.9);
--destructive-foreground: oklch(0.862 0.066 31.392);
--ring: oklch(0.524 0.037 243.19);
--chart-1: oklch(0.524 0.037 243.19);
--chart-2: oklch(0.537 0.038 61.171);
--chart-3: oklch(0.537 0.038 61.171);
--chart-4: oklch(0.564 0.04 61.162);
--chart-5: oklch(0.524 0.043 243.379);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.13 0.014 235.401);
--foreground: oklch(1 0 180);
--muted: oklch(0.159 0.003 61.908);
--muted-foreground: oklch(0.783 0.008 62.064);
--popover: oklch(0.13 0.014 235.401);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.13 0.014 235.401);
--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.524 0.037 243.19);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.537 0.038 61.171);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.537 0.038 61.171);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.646 0.204 33.176);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.524 0.037 243.19);
--chart-1: oklch(0.524 0.037 243.19);
--chart-2: oklch(0.537 0.038 61.171);
--chart-3: oklch(0.537 0.038 61.171);
--chart-4: oklch(0.564 0.04 61.162);
--chart-5: oklch(0.524 0.043 243.379);
}