Memora gift inspi is a shadcn/ui theme built around a muted violet primary color (#70597d) with muted light violet accents (#d6cbdc). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the muted violet primary (#70597d) on a violet-tinted background (#08050b).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #08050bblack |
| Foreground | #0c0212black | #fdfcfdwhite |
| Card | #fdfbfewhite | #08050bblack |
| Card foreground | #0c0212black | #fdfcfdwhite |
| Popover | #fdfbfewhite | #08050bblack |
| Popover foreground | #0c0212black | #fdfcfdwhite |
| Primary | #70597ddimgray | #70597ddimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d6cbdclightgrey | #2c272fdarkslategray |
| Secondary foreground | #3e2f46darkslategray | #c6bfcasilver |
| Muted | #e7e1ealavender | #1b151eblack |
| Muted foreground | #52435bdarkslategray | #b3a4bcdarkgray |
| Accent | #d6cbdclightgrey | #2c272fdarkslategray |
| Accent foreground | #3e2f46darkslategray | #c6bfcasilver |
| Destructive | #9d3606saddlebrown | #f75e18orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e6e5e6gainsboro | #1c1b1dblack |
| Input | #e6e5e6gainsboro | #1c1b1dblack |
| Ring | #70597ddimgray | #70597ddimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.72:1 | AAA |
| Text on card | 19.72:1 | AAA |
| Primary button | 6.15:1 | AA |
| Secondary button | 7.90:1 | AAA |
| Muted text | 7.08:1 | AAA |
| Accent | 7.90:1 | AAA |
| Destructive | 7.07:1 | AAA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 6.15:1 | AA |
| Secondary button | 8.09:1 | AAA |
| Muted text | 7.62:1 | AAA |
| Accent | 8.09:1 | AAA |
| Destructive | 6.56:1 | AA |
Paste this into your globals.css to use Memora gift inspi in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.005 313.576);
--foreground: oklch(0.126 0.043 314.034);
--muted: oklch(0.917 0.012 313.523);
--muted-foreground: oklch(0.408 0.043 312.952);
--popover: oklch(0.99 0.005 313.576);
--popover-foreground: oklch(0.126 0.043 314.034);
--card: oklch(0.99 0.005 313.576);
--card-foreground: oklch(0.126 0.043 314.034);
--border: oklch(0.923 0.002 313.596);
--input: oklch(0.923 0.002 313.596);
--primary: oklch(0.501 0.063 312.824);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.856 0.026 313.416);
--secondary-foreground: oklch(0.332 0.045 312.76);
--accent: oklch(0.856 0.026 313.416);
--accent-foreground: oklch(0.332 0.045 312.76);
--destructive: oklch(0.477 0.147 39.793);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.501 0.063 312.824);
--chart-1: oklch(0.501 0.063 312.824);
--chart-2: oklch(0.856 0.026 313.416);
--chart-3: oklch(0.856 0.026 313.416);
--chart-4: oklch(0.882 0.022 313.455);
--chart-5: oklch(0.497 0.074 312.67);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.019 314.885);
--foreground: oklch(0.991 0.003 313.589);
--muted: oklch(0.208 0.018 313.082);
--muted-foreground: oklch(0.739 0.038 313.295);
--popover: oklch(0.123 0.019 314.885);
--popover-foreground: oklch(0.991 0.003 313.589);
--card: oklch(0.123 0.019 314.885);
--card-foreground: oklch(0.991 0.003 313.589);
--border: oklch(0.225 0.002 313.54);
--input: oklch(0.225 0.002 313.54);
--primary: oklch(0.501 0.063 312.824);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.283 0.016 313.266);
--secondary-foreground: oklch(0.813 0.016 313.482);
--accent: oklch(0.283 0.016 313.266);
--accent-foreground: oklch(0.813 0.016 313.482);
--destructive: oklch(0.674 0.2 40.56);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.501 0.063 312.824);
--chart-1: oklch(0.501 0.063 312.824);
--chart-2: oklch(0.283 0.016 313.266);
--chart-3: oklch(0.283 0.016 313.266);
--chart-4: oklch(0.313 0.018 313.253);
--chart-5: oklch(0.497 0.074 312.67);
}