Marketer is a shadcn/ui theme built around a deep red primary color (#51101c) with deep orange accents (#512510). The light mode uses a neutral background (#fefbfb). Dark mode keeps the deep red primary (#51101c) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #000000black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fefbfbsnow | #000000black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefbfbsnow | #000000black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #51101cmaroon | #51101cmaroon |
| Primary foreground | #eda6b3lightpink | #eda6b3lightpink |
| Secondary | #51103cindigo | #51103cindigo |
| Secondary foreground | #eda6d7plum | #eda6d7plum |
| Muted | #ded9dcgainsboro | #262125black |
| Muted foreground | #675160dimgray | #ae98a7darkgray |
| Accent | #512510maroon | #512510maroon |
| Accent foreground | #edbca6lightpink | #edbca6lightpink |
| Destructive | #732402maroon | #f04b05orangered |
| Destructive foreground | #fdc3aalightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #51101cmaroon | #51101cmaroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.38:1 | AAA |
| Text on card | 20.38:1 | AAA |
| Primary button | 7.43:1 | AAA |
| Secondary button | 7.41:1 | AAA |
| Muted text | 5.14:1 | AA |
| Accent | 7.64:1 | AAA |
| Destructive | 6.83:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 7.43:1 | AAA |
| Secondary button | 7.41:1 | AAA |
| Muted text | 5.90:1 | AA |
| Accent | 7.64:1 | AAA |
| Destructive | 3.67:1 | AA Large |
Paste this into your globals.css to use Marketer in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 4.412);
--foreground: oklch(0 0 0);
--muted: oklch(0.89 0.007 336.715);
--muted-foreground: oklch(0.462 0.037 338.054);
--popover: oklch(0.99 0.004 4.412);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.99 0.004 4.412);
--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.292 0.095 15.151);
--primary-foreground: oklch(0.796 0.086 7.131);
--secondary: oklch(0.305 0.108 343.582);
--secondary-foreground: oklch(0.807 0.105 338.927);
--accent: oklch(0.321 0.074 43.887);
--accent-foreground: oklch(0.834 0.065 46.127);
--destructive: oklch(0.379 0.118 39.491);
--destructive-foreground: oklch(0.863 0.075 44.296);
--ring: oklch(0.292 0.095 15.151);
--chart-1: oklch(0.292 0.095 15.151);
--chart-2: oklch(0.305 0.108 343.582);
--chart-3: oklch(0.321 0.074 43.887);
--chart-4: oklch(0.335 0.121 343.793);
--chart-5: oklch(0.293 0.098 15.762);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.256 0.01 337.286);
--muted-foreground: oklch(0.704 0.033 337.457);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.292 0.095 15.151);
--primary-foreground: oklch(0.796 0.086 7.131);
--secondary: oklch(0.305 0.108 343.582);
--secondary-foreground: oklch(0.807 0.105 338.927);
--accent: oklch(0.321 0.074 43.887);
--accent-foreground: oklch(0.834 0.065 46.127);
--destructive: oklch(0.641 0.21 37.498);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.292 0.095 15.151);
--chart-1: oklch(0.292 0.095 15.151);
--chart-2: oklch(0.305 0.108 343.582);
--chart-3: oklch(0.321 0.074 43.887);
--chart-4: oklch(0.335 0.121 343.793);
--chart-5: oklch(0.293 0.098 15.762);
}