Mint is a shadcn/ui theme built around a teal primary color (#84dcc5) with deep cyan accents (#1b3136). The light mode uses a teal-tinted background (#061718). Dark mode switches to a deep green primary (#242711) on a green-tinted background (#0a0b05).
| Token | Light | Dark |
|---|---|---|
| Background | #061718black | #0a0b05black |
| Foreground | #f8f9f9ghostwhite | #f8f8f6whitesmoke |
| Card | #061718black | #0a0b05black |
| Card foreground | #f8f9f9ghostwhite | #f8f8f6whitesmoke |
| Popover | #061718black | #0a0b05black |
| Popover foreground | #f8f9f9ghostwhite | #f8f8f6whitesmoke |
| Primary | #84dcc5aquamarine | #242711black |
| Primary foreground | #0b0e0dblack | #a3b253darkkhaki |
| Secondary | #1b3136darkslategray | #191914black |
| Secondary foreground | #f8f9f9ghostwhite | #b6b9a7darkgray |
| Muted | #1b3136darkslategray | #14150eblack |
| Muted foreground | #a4b4b7darkgray | #c5c7b8silver |
| Accent | #1b3136darkslategray | #343626darkslategray |
| Accent foreground | #f8f9f9ghostwhite | #ced1bdsilver |
| Destructive | #d62929crimson | #f9370borangered |
| Destructive foreground | #f8f9f9ghostwhite | #ffffffwhite |
| Border | #1b3136darkslategray | #1b1b18black |
| Input | #1b3136darkslategray | #1b1b18black |
| Ring | #84dcc5aquamarine | #242711black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.38:1 | AAA |
| Text on card | 17.38:1 | AAA |
| Primary button | 12.04:1 | AAA |
| Secondary button | 12.87:1 | AAA |
| Muted text | 6.33:1 | AA |
| Accent | 12.87:1 | AAA |
| Destructive | 4.72:1 | AA |
| Text on background | 18.62:1 | AAA |
| Text on card | 18.62:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 8.78:1 | AAA |
| Muted text | 10.67:1 | AAA |
| Accent | 7.91:1 | AAA |
| Destructive | 3.77:1 | AA Large |
Paste this into your globals.css to use Mint in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.191 0.023 201.431);
--foreground: oklch(0.982 0.001 173.53);
--muted: oklch(0.298 0.029 213.535);
--muted-foreground: oklch(0.759 0.019 209.429);
--popover: oklch(0.191 0.023 201.431);
--popover-foreground: oklch(0.982 0.001 173.53);
--card: oklch(0.191 0.023 201.431);
--card-foreground: oklch(0.982 0.001 173.53);
--border: oklch(0.298 0.029 213.535);
--input: oklch(0.298 0.029 213.535);
--primary: oklch(0.833 0.092 174.948);
--primary-foreground: oklch(0.161 0.005 172.723);
--secondary: oklch(0.298 0.029 213.535);
--secondary-foreground: oklch(0.982 0.001 173.53);
--accent: oklch(0.298 0.029 213.535);
--accent-foreground: oklch(0.982 0.001 173.53);
--destructive: oklch(0.569 0.208 27);
--destructive-foreground: oklch(0.982 0.001 173.53);
--ring: oklch(0.833 0.092 174.948);
--chart-1: oklch(0.833 0.092 174.948);
--chart-2: oklch(0.298 0.029 213.535);
--chart-3: oklch(0.298 0.029 213.535);
--chart-4: oklch(0.332 0.034 213.608);
--chart-5: oklch(0.837 0.097 174.749);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.014 114.024);
--foreground: oklch(0.979 0.002 113.352);
--muted: oklch(0.193 0.013 114.579);
--muted-foreground: oklch(0.823 0.021 113.783);
--popover: oklch(0.144 0.014 114.024);
--popover-foreground: oklch(0.979 0.002 113.352);
--card: oklch(0.144 0.014 114.024);
--card-foreground: oklch(0.979 0.002 113.352);
--border: oklch(0.221 0.006 113.801);
--input: oklch(0.221 0.006 113.801);
--primary: oklch(0.262 0.037 115.972);
--primary-foreground: oklch(0.731 0.121 116.582);
--secondary: oklch(0.213 0.01 114.154);
--secondary-foreground: oklch(0.778 0.024 113.887);
--accent: oklch(0.326 0.028 114.908);
--accent-foreground: oklch(0.853 0.028 113.907);
--destructive: oklch(0.638 0.233 32.704);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.262 0.037 115.972);
--chart-1: oklch(0.262 0.037 115.972);
--chart-2: oklch(0.213 0.01 114.154);
--chart-3: oklch(0.326 0.028 114.908);
--chart-4: oklch(0.248 0.012 114.236);
--chart-5: oklch(0.265 0.039 116.138);
}