Massive is a shadcn/ui theme built around a vivid teal primary color (#77fef2) with neutral gray accents (#e2e4e4). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#77fef2) on a neutral background (#020807).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020807black |
| Foreground | #041514black | #ffffffwhite |
| Card | #ffffffwhite | #020807black |
| Card foreground | #041514black | #ffffffwhite |
| Popover | #ffffffwhite | #020807black |
| Popover foreground | #041514black | #ffffffwhite |
| Primary | #77fef2aquamarine | #77fef2aquamarine |
| Primary foreground | #01423cdarkslategray | #01423cdarkslategray |
| Secondary | #e2e4e4gainsboro | #191a1ablack |
| Secondary foreground | #484c4cdarkslategray | #b0b5b4darkgray |
| Muted | #eef1f1whitesmoke | #0e1111black |
| Muted foreground | #394746darkslategray | #b8c6c5silver |
| Accent | #e2e4e4gainsboro | #191a1ablack |
| Accent foreground | #484c4cdarkslategray | #b0b5b4darkgray |
| Destructive | #671504maroon | #dc2c09orangered |
| Destructive foreground | #fbb1a2lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #77fef2aquamarine | #77fef2aquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.70:1 | AAA |
| Text on card | 18.70:1 | AAA |
| Primary button | 9.31:1 | AAA |
| Secondary button | 6.80:1 | AA |
| Muted text | 8.55:1 | AAA |
| Accent | 6.80:1 | AA |
| Destructive | 7.08:1 | AAA |
| Text on background | 20.18:1 | AAA |
| Text on card | 20.18:1 | AAA |
| Primary button | 9.31:1 | AAA |
| Secondary button | 8.38:1 | AAA |
| Muted text | 10.78:1 | AAA |
| Accent | 8.38:1 | AAA |
| Destructive | 4.74:1 | AA |
Paste this into your globals.css to use Massive in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.182 0.025 188.348);
--muted: oklch(0.956 0.003 191.175);
--muted-foreground: oklch(0.384 0.018 190.203);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.182 0.025 188.348);
--card: oklch(1 0 180);
--card-foreground: oklch(0.182 0.025 188.348);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.917 0.12 187.947);
--primary-foreground: oklch(0.34 0.059 185.595);
--secondary: oklch(0.917 0.002 191.206);
--secondary-foreground: oklch(0.413 0.006 190.941);
--accent: oklch(0.917 0.002 191.206);
--accent-foreground: oklch(0.413 0.006 190.941);
--destructive: oklch(0.338 0.118 33.153);
--destructive-foreground: oklch(0.826 0.09 31.653);
--ring: oklch(0.917 0.12 187.947);
--chart-1: oklch(0.917 0.12 187.947);
--chart-2: oklch(0.917 0.002 191.206);
--chart-3: oklch(0.917 0.002 191.206);
--chart-4: oklch(0.94 0.001 191.219);
--chart-5: oklch(0.922 0.123 187.866);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.013 190.391);
--foreground: oklch(1 0 180);
--muted: oklch(0.173 0.005 190.625);
--muted-foreground: oklch(0.816 0.015 190.835);
--popover: oklch(0.125 0.013 190.391);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.125 0.013 190.391);
--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.917 0.12 187.947);
--primary-foreground: oklch(0.34 0.059 185.595);
--secondary: oklch(0.217 0.002 191.012);
--secondary-foreground: oklch(0.769 0.005 191.102);
--accent: oklch(0.217 0.002 191.012);
--accent-foreground: oklch(0.769 0.005 191.102);
--destructive: oklch(0.58 0.214 32.18);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.917 0.12 187.947);
--chart-1: oklch(0.917 0.12 187.947);
--chart-2: oklch(0.217 0.002 191.012);
--chart-3: oklch(0.217 0.002 191.012);
--chart-4: oklch(0.25 0.003 190.991);
--chart-5: oklch(0.922 0.123 187.866);
}