Marvelous is a shadcn/ui theme built around a muted light orange primary color (#e2ddd9) with muted light blue accents (#d9dfe2). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the muted light orange primary (#e2ddd9) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #000000black |
| Foreground | #000000black | #f9f7f6whitesmoke |
| Card | #fcfaf8snow | #030303black |
| Card foreground | #000000black | #fbfaf9snow |
| Popover | #fcfaf8snow | #030303black |
| Popover foreground | #000000black | #fbfaf9snow |
| Primary | #e2ddd9gainsboro | #e2ddd9gainsboro |
| Primary foreground | #4e433bdarkslategray | #4e433bdarkslategray |
| Secondary | #d9dfe2gainsboro | #d9dfe2gainsboro |
| Secondary foreground | #3b464edarkslategray | #3b464edarkslategray |
| Muted | #e7ebeelavender | #111518black |
| Muted foreground | #39444cdarkslategray | #b3bec6silver |
| Accent | #d9dfe2gainsboro | #d9dfe2gainsboro |
| Accent foreground | #3b464edarkslategray | #3b464edarkslategray |
| Destructive | #762505maroon | #eb4a0aorangered |
| Destructive foreground | #fcc6b1peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e2ddd9gainsboro | #e2ddd9gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.55:1 | AAA |
| Text on card | 20.10:1 | AAA |
| Primary button | 7.12:1 | AAA |
| Secondary button | 7.17:1 | AAA |
| Muted text | 8.33:1 | AAA |
| Accent | 7.17:1 | AAA |
| Destructive | 6.83:1 | AA |
| Text on background | 19.66:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 7.12:1 | AAA |
| Secondary button | 7.17:1 | AAA |
| Muted text | 9.70:1 | AAA |
| Accent | 7.17:1 | AAA |
| Destructive | 3.81:1 | AA Large |
Paste this into your globals.css to use Marvelous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.001 58.342);
--foreground: oklch(0 0 0);
--muted: oklch(0.938 0.006 238.456);
--muted-foreground: oklch(0.379 0.019 239.136);
--popover: oklch(0.985 0.003 58.321);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.985 0.003 58.321);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.901 0.008 58.24);
--primary-foreground: oklch(0.393 0.02 57.632);
--secondary: oklch(0.899 0.008 238.487);
--secondary-foreground: oklch(0.389 0.02 239.141);
--accent: oklch(0.899 0.008 238.487);
--accent-foreground: oklch(0.389 0.02 239.141);
--destructive: oklch(0.385 0.12 38.607);
--destructive-foreground: oklch(0.869 0.068 42.613);
--ring: oklch(0.901 0.008 58.24);
--chart-1: oklch(0.901 0.008 58.24);
--chart-2: oklch(0.899 0.008 238.487);
--chart-3: oklch(0.899 0.008 238.487);
--chart-4: oklch(0.923 0.006 238.455);
--chart-5: oklch(0.901 0.01 58.213);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.977 0.002 58.33);
--muted: oklch(0.193 0.009 239.072);
--muted-foreground: oklch(0.796 0.016 238.656);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.985 0.002 58.341);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.985 0.002 58.341);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.901 0.008 58.24);
--primary-foreground: oklch(0.393 0.02 57.632);
--secondary: oklch(0.899 0.008 238.487);
--secondary-foreground: oklch(0.389 0.02 239.141);
--accent: oklch(0.899 0.008 238.487);
--accent-foreground: oklch(0.389 0.02 239.141);
--destructive: oklch(0.631 0.207 37.151);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.901 0.008 58.24);
--chart-1: oklch(0.901 0.008 58.24);
--chart-2: oklch(0.899 0.008 238.487);
--chart-3: oklch(0.899 0.008 238.487);
--chart-4: oklch(0.923 0.006 238.455);
--chart-5: oklch(0.901 0.01 58.213);
}