Monthly is a shadcn/ui theme built around a vivid green primary color (#e0f542) with vivid indigo accents (#5742f5). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#e0f542) on a green-tinted background (#0b0b04).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0b04black |
| Foreground | #040401black | #f9f9f5whitesmoke |
| Card | #fcfcfcsnow | #0e0f05black |
| Card foreground | #000000black | #fbfbf9snow |
| Popover | #ffffffwhite | #0b0b04black |
| Popover foreground | #040401black | #f9f9f5whitesmoke |
| Primary | #e0f542greenyellow | #e0f542greenyellow |
| Primary foreground | #040500black | #040500black |
| Secondary | #5742f5royalblue | #5742f5royalblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e1dff1lavender | #100e20black |
| Muted foreground | #444446darkslategray | #bab9bbsilver |
| Accent | #5742f5royalblue | #5742f5royalblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #7e0c02maroon | #fb220ered |
| Destructive foreground | #febab4lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e0f542greenyellow | #e0f542greenyellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.52:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 16.86:1 | AAA |
| Secondary button | 5.99:1 | AA |
| Muted text | 7.41:1 | AAA |
| Accent | 5.99:1 | AA |
| Destructive | 6.66:1 | AA |
| Text on background | 18.67:1 | AAA |
| Text on card | 18.57:1 | AAA |
| Primary button | 16.86:1 | AAA |
| Secondary button | 5.99:1 | AA |
| Muted text | 9.72:1 | AAA |
| Accent | 5.99:1 | AA |
| Destructive | 3.92:1 | AA Large |
Paste this into your globals.css to use Monthly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.105 0.017 113.137);
--muted: oklch(0.91 0.025 291.259);
--muted-foreground: oklch(0.388 0.002 291.668);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.105 0.017 113.137);
--card: oklch(0.992 0 161.565);
--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.925 0.192 116.17);
--primary-foreground: oklch(0.109 0.022 113.505);
--secondary: oklch(0.526 0.251 278.567);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.526 0.251 278.567);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.378 0.147 30.56);
--destructive-foreground: oklch(0.85 0.08 24.747);
--ring: oklch(0.925 0.192 116.17);
--chart-1: oklch(0.925 0.192 116.17);
--chart-2: oklch(0.526 0.251 278.567);
--chart-3: oklch(0.526 0.251 278.567);
--chart-4: oklch(0.556 0.235 280.802);
--chart-5: oklch(0.933 0.196 116.266);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.148 0.019 113.116);
--foreground: oklch(0.982 0.005 111.88);
--muted: oklch(0.176 0.037 287.281);
--muted-foreground: oklch(0.788 0.002 291.733);
--popover: oklch(0.148 0.019 113.116);
--popover-foreground: oklch(0.982 0.005 111.88);
--card: oklch(0.165 0.022 113.748);
--card-foreground: oklch(0.988 0.004 111.846);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.925 0.192 116.17);
--primary-foreground: oklch(0.109 0.022 113.505);
--secondary: oklch(0.526 0.251 278.567);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.526 0.251 278.567);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.631 0.246 30.068);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.925 0.192 116.17);
--chart-1: oklch(0.925 0.192 116.17);
--chart-2: oklch(0.526 0.251 278.567);
--chart-3: oklch(0.526 0.251 278.567);
--chart-4: oklch(0.556 0.235 280.802);
--chart-5: oklch(0.933 0.196 116.266);
}