Magic Mint is a shadcn/ui theme built around a light teal primary color (#9df0d1) with light orange accents (#f0d19d). The light mode uses a neutral background (#ffffff). Dark mode keeps the light teal primary (#9df0d1) on a teal-tinted background (#070e0b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070e0bblack |
| Foreground | #000000black | #fcfdfdwhite |
| Card | #fcfcfcsnow | #09110eblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #070e0bblack |
| Popover foreground | #000000black | #fcfdfdwhite |
| Primary | #9df0d1powderblue | #9df0d1powderblue |
| Primary foreground | #0c5036darkslategray | #0c5036darkslategray |
| Secondary | #d19df0plum | #d19df0plum |
| Secondary foreground | #360c50midnightblue | #360c50midnightblue |
| Muted | #ebe7eelavender | #151118black |
| Muted foreground | #514856darkslategray | #b2a9b7darkgray |
| Accent | #f0d19dnavajowhite | #f0d19dnavajowhite |
| Accent foreground | #50360csaddlebrown | #50360csaddlebrown |
| Destructive | #d62105firebrick | #f93415orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #ebefeewhitesmoke | #191f1dblack |
| Input | #ebefeewhitesmoke | #191f1dblack |
| Ring | #9df0d1powderblue | #9df0d1powderblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.16:1 | AAA |
| Secondary button | 7.40:1 | AAA |
| Muted text | 7.14:1 | AAA |
| Accent | 7.62:1 | AAA |
| Destructive | 5.15:1 | AA |
| Text on background | 19.18:1 | AAA |
| Text on card | 19.14:1 | AAA |
| Primary button | 7.16:1 | AAA |
| Secondary button | 7.40:1 | AAA |
| Muted text | 8.22:1 | AAA |
| Accent | 7.62:1 | AAA |
| Destructive | 3.80:1 | AA Large |
Paste this into your globals.css to use Magic Mint in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.934 0.01 312.91);
--muted-foreground: oklch(0.415 0.026 312.564);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.949 0.005 171.451);
--input: oklch(0.949 0.005 171.451);
--primary: oklch(0.894 0.093 168.109);
--primary-foreground: oklch(0.383 0.079 161.743);
--secondary: oklch(0.774 0.127 311.838);
--secondary-foreground: oklch(0.268 0.116 308.252);
--accent: oklch(0.874 0.075 79.331);
--accent-foreground: oklch(0.354 0.066 74.603);
--destructive: oklch(0.561 0.215 31.117);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.894 0.093 168.109);
--chart-1: oklch(0.894 0.093 168.109);
--chart-2: oklch(0.774 0.127 311.838);
--chart-3: oklch(0.874 0.075 79.331);
--chart-4: oklch(0.804 0.109 312.049);
--chart-5: oklch(0.897 0.096 167.969);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.153 0.012 170.103);
--foreground: oklch(0.993 0.002 171.533);
--muted: oklch(0.186 0.015 312.424);
--muted-foreground: oklch(0.746 0.022 312.782);
--popover: oklch(0.153 0.012 170.103);
--popover-foreground: oklch(0.993 0.002 171.533);
--card: oklch(0.168 0.015 168.933);
--card-foreground: oklch(1 0 180);
--border: oklch(0.233 0.01 170.275);
--input: oklch(0.233 0.01 170.275);
--primary: oklch(0.894 0.093 168.109);
--primary-foreground: oklch(0.383 0.079 161.743);
--secondary: oklch(0.774 0.127 311.838);
--secondary-foreground: oklch(0.268 0.116 308.252);
--accent: oklch(0.874 0.075 79.331);
--accent-foreground: oklch(0.354 0.066 74.603);
--destructive: oklch(0.637 0.234 31.456);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.894 0.093 168.109);
--chart-1: oklch(0.894 0.093 168.109);
--chart-2: oklch(0.774 0.127 311.838);
--chart-3: oklch(0.874 0.075 79.331);
--chart-4: oklch(0.804 0.109 312.049);
--chart-5: oklch(0.897 0.096 167.969);
}