MInt Green is a shadcn/ui theme built around a vivid deep teal primary color (#05422c) with muted light teal accents (#e6ebe9). The light mode uses a neutral background (#fbfefd). Dark mode keeps the vivid deep teal primary (#05422c) on a teal-tinted background (#040b09).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #040b09black |
| Foreground | #010403black | #ffffffwhite |
| Card | #f7fdfbmintcream | #060f0bblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7fdfbmintcream | #060f0bblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #05422cdarkgreen | #05422cdarkgreen |
| Primary foreground | #25efa5mediumspringgreen | #25efa5mediumspringgreen |
| Secondary | #e6ebe9lavender | #1a1f1dblack |
| Secondary foreground | #465851darkslategray | #aebcb7silver |
| Muted | #dbebe5gainsboro | #14241eblack |
| Muted foreground | #444645darkslategray | #b9bbbasilver |
| Accent | #e6ebe9lavender | #1a1f1dblack |
| Accent foreground | #465851darkslategray | #aebcb7silver |
| Destructive | #7b330asaddlebrown | #ec6313chocolate |
| Destructive foreground | #fad3bdpeachpuff | #000000black |
| Border | #e4e7e6gainsboro | #181b1ablack |
| Input | #e4e7e6gainsboro | #181b1ablack |
| Ring | #05422cdarkgreen | #05422cdarkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.27:1 | AAA |
| Text on card | 20.37:1 | AAA |
| Primary button | 7.62:1 | AAA |
| Secondary button | 6.25:1 | AA |
| Muted text | 7.72:1 | AAA |
| Accent | 6.25:1 | AA |
| Destructive | 6.51:1 | AA |
| Text on background | 19.85:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 7.62:1 | AAA |
| Secondary button | 8.52:1 | AAA |
| Muted text | 8.33:1 | AAA |
| Accent | 8.52:1 | AAA |
| Destructive | 6.34:1 | AA |
Paste this into your globals.css to use MInt Green in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 172.475);
--foreground: oklch(0.1 0.014 172.883);
--muted: oklch(0.927 0.02 171.948);
--muted-foreground: oklch(0.391 0.002 172.426);
--popover: oklch(0.989 0.007 172.373);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.989 0.007 172.373);
--card-foreground: oklch(0 0 0);
--border: oklch(0.926 0.004 172.443);
--input: oklch(0.926 0.004 172.443);
--primary: oklch(0.338 0.071 162.089);
--primary-foreground: oklch(0.843 0.181 161.235);
--secondary: oklch(0.934 0.006 172.39);
--secondary-foreground: oklch(0.443 0.024 170.905);
--accent: oklch(0.934 0.006 172.39);
--accent-foreground: oklch(0.443 0.024 170.905);
--destructive: oklch(0.415 0.111 45.193);
--destructive-foreground: oklch(0.894 0.053 51.83);
--ring: oklch(0.338 0.071 162.089);
--chart-1: oklch(0.338 0.071 162.089);
--chart-2: oklch(0.934 0.006 172.39);
--chart-3: oklch(0.934 0.006 172.39);
--chart-4: oklch(0.956 0.004 172.456);
--chart-5: oklch(0.341 0.073 161.803);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.014 172.624);
--foreground: oklch(1 0 180);
--muted: oklch(0.245 0.026 169.019);
--muted-foreground: oklch(0.79 0.002 172.513);
--popover: oklch(0.156 0.017 170.588);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.156 0.017 170.588);
--card-foreground: oklch(1 0 180);
--border: oklch(0.219 0.006 171.765);
--input: oklch(0.219 0.006 171.765);
--primary: oklch(0.338 0.071 162.089);
--primary-foreground: oklch(0.843 0.181 161.235);
--secondary: oklch(0.232 0.008 171.5);
--secondary-foreground: oklch(0.783 0.016 171.963);
--accent: oklch(0.232 0.008 171.5);
--accent-foreground: oklch(0.783 0.016 171.963);
--destructive: oklch(0.663 0.187 43.852);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.338 0.071 162.089);
--chart-1: oklch(0.338 0.071 162.089);
--chart-2: oklch(0.232 0.008 171.5);
--chart-3: oklch(0.232 0.008 171.5);
--chart-4: oklch(0.265 0.01 171.418);
--chart-5: oklch(0.341 0.073 161.803);
}