Good Mint Leaf is a shadcn/ui theme built around a vivid teal primary color (#19cca8) with vivid orange accents (#f89f53). The light mode uses a neutral background (#f7fdfc). Dark mode keeps the vivid teal primary (#19cca8) on a teal-tinted background (#050b09).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfcmintcream | #050b09black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f7fdfcmintcream | #050b09black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7fdfcmintcream | #050b09black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #19cca8lightseagreen | #19cca8lightseagreen |
| Primary foreground | #031713black | #031713black |
| Secondary | #95a3b2darkgray | #a819ccdarkorchid |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f2ecf4whitesmoke | #120b13black |
| Muted foreground | #434243darkslategray | #bdbcbdsilver |
| Accent | #f89f53sandybrown | #cca819goldenrod |
| Accent foreground | #171303black | #171303black |
| Destructive | #831702maroon | #f62c04orangered |
| Destructive foreground | #fec4b9lightpink | #ffffffwhite |
| Border | #ebefeewhitesmoke | #1f2826darkslategray |
| Input | #ebefeewhitesmoke | #1f2826darkslategray |
| Ring | #19cca8lightseagreen | #19cca8lightseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.38:1 | AAA |
| Text on card | 20.38:1 | AAA |
| Primary button | 9.04:1 | AAA |
| Secondary button | 2.58:1 | Fail |
| Muted text | 8.59:1 | AAA |
| Accent | 8.90:1 | AAA |
| Destructive | 6.62:1 | AA |
| Text on background | 19.87:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 9.04:1 | AAA |
| Secondary button | 5.69:1 | AA |
| Muted text | 10.23:1 | AAA |
| Accent | 8.15:1 | AAA |
| Destructive | 3.97:1 | AA Large |
Paste this into your globals.css to use Good Mint Leaf in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 183.01);
--foreground: oklch(0 0 0);
--muted: oklch(0.949 0.013 319.448);
--muted-foreground: oklch(0.379 0.003 319.446);
--popover: oklch(0.989 0.006 183.01);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.989 0.006 183.01);
--card-foreground: oklch(0 0 0);
--border: oklch(0.95 0.005 183.049);
--input: oklch(0.95 0.005 183.049);
--primary: oklch(0.756 0.141 173.653);
--primary-foreground: oklch(0.184 0.029 178.854);
--secondary: oklch(0.708 0.027 249.993);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.778 0.14 58.956);
--accent-foreground: oklch(0.185 0.031 97.088);
--destructive: oklch(0.395 0.145 32.755);
--destructive-foreground: oklch(0.87 0.068 31.409);
--ring: oklch(0.756 0.141 173.653);
--chart-1: oklch(0.756 0.141 173.653);
--chart-2: oklch(0.708 0.027 249.993);
--chart-3: oklch(0.778 0.14 58.956);
--chart-4: oklch(0.734 0.025 249.953);
--chart-5: oklch(0.765 0.144 173.327);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.012 182.998);
--foreground: oklch(1 0 180);
--muted: oklch(0.163 0.02 319.463);
--muted-foreground: oklch(0.797 0.002 319.445);
--popover: oklch(0.14 0.012 182.998);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.14 0.012 182.998);
--card-foreground: oklch(1 0 180);
--border: oklch(0.268 0.012 181.856);
--input: oklch(0.268 0.012 181.856);
--primary: oklch(0.756 0.141 173.653);
--primary-foreground: oklch(0.184 0.029 178.854);
--secondary: oklch(0.546 0.252 317.756);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.744 0.147 92.846);
--accent-foreground: oklch(0.185 0.031 97.088);
--destructive: oklch(0.626 0.237 31.806);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.756 0.141 173.653);
--chart-1: oklch(0.756 0.141 173.653);
--chart-2: oklch(0.546 0.252 317.756);
--chart-3: oklch(0.744 0.147 92.846);
--chart-4: oklch(0.573 0.265 317.727);
--chart-5: oklch(0.765 0.144 173.327);
}