Mailman is a shadcn/ui theme built around a vivid light cyan primary color (#92e6f6) with vivid light green accents (#e6f692). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the vivid light cyan primary (#92e6f6) on a neutral background (#040607).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbfcghostwhite | #040607black |
| Foreground | #020b0dblack | #f9fafbghostwhite |
| Card | #f8fbfcghostwhite | #040607black |
| Card foreground | #020b0dblack | #f9fafbghostwhite |
| Popover | #f8fbfcghostwhite | #040607black |
| Popover foreground | #020b0dblack | #f9fafbghostwhite |
| Primary | #92e6f6lightskyblue | #92e6f6lightskyblue |
| Primary foreground | #074450darkslategray | #074450darkslategray |
| Secondary | #f692e6violet | #f692e6violet |
| Secondary foreground | #500744indigo | #500744indigo |
| Muted | #e2d5e0gainsboro | #2a1d28darkslategray |
| Muted foreground | #5f585edimgray | #a7a0a6darkgray |
| Accent | #e6f692khaki | #e6f692khaki |
| Accent foreground | #445007darkolivegreen | #445007darkolivegreen |
| Destructive | #a22f02saddlebrown | #fd6a30tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #92e6f6lightskyblue | #92e6f6lightskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.13:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 7.60:1 | AAA |
| Secondary button | 7.01:1 | AAA |
| Muted text | 4.86:1 | AA |
| Accent | 7.50:1 | AAA |
| Destructive | 7.15:1 | AAA |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 7.60:1 | AAA |
| Secondary button | 7.01:1 | AAA |
| Muted text | 6.28:1 | AA |
| Accent | 7.50:1 | AAA |
| Destructive | 7.27:1 | AAA |
Paste this into your globals.css to use Mailman in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.003 211.041);
--foreground: oklch(0.141 0.018 208.076);
--muted: oklch(0.886 0.02 331.125);
--muted-foreground: oklch(0.47 0.013 331.204);
--popover: oklch(0.986 0.003 211.041);
--popover-foreground: oklch(0.141 0.018 208.076);
--card: oklch(0.986 0.003 211.041);
--card-foreground: oklch(0.141 0.018 208.076);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.876 0.084 211.667);
--primary-foreground: oklch(0.357 0.06 215.649);
--secondary: oklch(0.792 0.157 333.298);
--secondary-foreground: oklch(0.3 0.123 336.546);
--accent: oklch(0.94 0.125 116.614);
--accent-foreground: oklch(0.407 0.092 119.56);
--destructive: oklch(0.476 0.157 37.259);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.876 0.084 211.667);
--chart-1: oklch(0.876 0.084 211.667);
--chart-2: oklch(0.792 0.157 333.298);
--chart-3: oklch(0.94 0.125 116.614);
--chart-4: oklch(0.816 0.137 332.926);
--chart-5: oklch(0.879 0.086 211.717);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.119 0.007 208.876);
--foreground: oklch(0.986 0.002 211.043);
--muted: oklch(0.252 0.027 332.218);
--muted-foreground: oklch(0.712 0.012 331.05);
--popover: oklch(0.119 0.007 208.876);
--popover-foreground: oklch(0.986 0.002 211.043);
--card: oklch(0.119 0.007 208.876);
--card-foreground: oklch(0.986 0.002 211.043);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.876 0.084 211.667);
--primary-foreground: oklch(0.357 0.06 215.649);
--secondary: oklch(0.792 0.157 333.298);
--secondary-foreground: oklch(0.3 0.123 336.546);
--accent: oklch(0.94 0.125 116.614);
--accent-foreground: oklch(0.407 0.092 119.56);
--destructive: oklch(0.7 0.192 40.114);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.876 0.084 211.667);
--chart-1: oklch(0.876 0.084 211.667);
--chart-2: oklch(0.792 0.157 333.298);
--chart-3: oklch(0.94 0.125 116.614);
--chart-4: oklch(0.816 0.137 332.926);
--chart-5: oklch(0.879 0.086 211.717);
}