Memo is a shadcn/ui theme built around a vivid green primary color (#48ea4e) with vivid red accents (#ea4e48). The light mode uses a neutral background (#fbfdfb). Dark mode keeps the vivid green primary (#48ea4e) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfbsnow | #000000black |
| Foreground | #000000black | #f8fcf8mintcream |
| Card | #fbfdfbsnow | #000000black |
| Card foreground | #000000black | #f8fcf8mintcream |
| Popover | #fbfdfbsnow | #000000black |
| Popover foreground | #000000black | #f8fcf8mintcream |
| Primary | #48ea4elimegreen | #48ea4elimegreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #4e48earoyalblue | #4e48earoyalblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e9e9f1lavender | #0e0e16black |
| Muted foreground | #585775dimgray | #8b8aa8lightslategray |
| Accent | #ea4e48tomato | #ea4e48tomato |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #c44408chocolate | #f55f19chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #48ea4elimegreen | #48ea4elimegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.62:1 | AAA |
| Text on card | 20.62:1 | AAA |
| Primary button | 13.10:1 | AAA |
| Secondary button | 6.09:1 | AA |
| Muted text | 5.74:1 | AA |
| Accent | 3.70:1 | AA Large |
| Destructive | 5.04:1 | AA |
| Text on background | 20.27:1 | AAA |
| Text on card | 20.27:1 | AAA |
| Primary button | 13.10:1 | AAA |
| Secondary button | 6.09:1 | AA |
| Muted text | 5.76:1 | AA |
| Accent | 3.70:1 | AA Large |
| Destructive | 6.53:1 | AA |
Paste this into your globals.css to use Memo in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 146.512);
--foreground: oklch(0 0 0);
--muted: oklch(0.937 0.011 287.731);
--muted-foreground: oklch(0.469 0.049 285.862);
--popover: oklch(0.993 0.003 146.512);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.993 0.003 146.512);
--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.823 0.237 143.472);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.518 0.233 275.955);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.638 0.193 26.158);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.559 0.174 39.436);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.823 0.237 143.472);
--chart-1: oklch(0.823 0.237 143.472);
--chart-2: oklch(0.518 0.233 275.955);
--chart-3: oklch(0.638 0.193 26.158);
--chart-4: oklch(0.549 0.217 277.945);
--chart-5: oklch(0.83 0.243 143.401);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.987 0.007 146.482);
--muted: oklch(0.168 0.016 286.022);
--muted-foreground: oklch(0.644 0.045 286.577);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.987 0.007 146.482);
--card: oklch(0 0 0);
--card-foreground: oklch(0.987 0.007 146.482);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.823 0.237 143.472);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.518 0.233 275.955);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.638 0.193 26.158);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.673 0.199 40.703);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.823 0.237 143.472);
--chart-1: oklch(0.823 0.237 143.472);
--chart-2: oklch(0.518 0.233 275.955);
--chart-3: oklch(0.638 0.193 26.158);
--chart-4: oklch(0.549 0.217 277.945);
--chart-5: oklch(0.83 0.243 143.401);
}