Hurt Hint of Mint is a shadcn/ui theme built around a light green primary color (#e3f3d8) with light pink accents (#f3d8e3). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#e3f3d8) on a neutral background (#020302).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020302black |
| Foreground | #091103black | #f7f9f6whitesmoke |
| Card | #fcfcfcsnow | #050703black |
| Card foreground | #070d03black | #fafbf9snow |
| Popover | #ffffffwhite | #020302black |
| Popover foreground | #091103black | #f7f9f6whitesmoke |
| Primary | #e3f3d8beige | #e3f3d8beige |
| Primary foreground | #17270cblack | #17270cblack |
| Secondary | #d8e3f3lavender | #d8e3f3lavender |
| Secondary foreground | #254574darkslategray | #254574darkslategray |
| Muted | #dfe0e2gainsboro | #1d1e20black |
| Muted foreground | #4a5464darkslategray | #9ba6b5darkgray |
| Accent | #f3d8e3mistyrose | #f3d8e3mistyrose |
| Accent foreground | #742545brown | #742545brown |
| Destructive | #bd2f00firebrick | #ff571forangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #edf0ealinen | #23291eblack |
| Input | #edf0ealinen | #23291eblack |
| Ring | #e3f3d8beige | #e3f3d8beige |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.21:1 | AAA |
| Text on card | 19.24:1 | AAA |
| Primary button | 13.52:1 | AAA |
| Secondary button | 7.42:1 | AAA |
| Muted text | 5.79:1 | AA |
| Accent | 7.53:1 | AAA |
| Destructive | 5.88:1 | AA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 13.52:1 | AAA |
| Secondary button | 7.42:1 | AAA |
| Muted text | 6.75:1 | AA |
| Accent | 7.53:1 | AAA |
| Destructive | 6.62:1 | AA |
Paste this into your globals.css to use Hurt Hint of Mint in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.164 0.032 131.964);
--muted: oklch(0.906 0.003 258.322);
--muted-foreground: oklch(0.443 0.029 258.367);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.164 0.032 131.964);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.146 0.028 130.954);
--border: oklch(0.951 0.008 132.421);
--input: oklch(0.951 0.008 132.421);
--primary: oklch(0.944 0.038 132.668);
--primary-foreground: oklch(0.249 0.05 134.347);
--secondary: oklch(0.912 0.024 258.362);
--secondary-foreground: oklch(0.39 0.088 258.328);
--accent: oklch(0.908 0.032 351.59);
--accent-foreground: oklch(0.394 0.114 359.008);
--destructive: oklch(0.525 0.184 35.075);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.944 0.038 132.668);
--chart-1: oklch(0.944 0.038 132.668);
--chart-2: oklch(0.912 0.024 258.362);
--chart-3: oklch(0.908 0.032 351.59);
--chart-4: oklch(0.939 0.017 258.351);
--chart-5: oklch(0.945 0.04 132.687);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.01 131.4);
--foreground: oklch(0.98 0.005 132.396);
--muted: oklch(0.235 0.005 258.354);
--muted-foreground: oklch(0.721 0.026 258.369);
--popover: oklch(0.097 0.01 131.4);
--popover-foreground: oklch(0.98 0.005 132.396);
--card: oklch(0.122 0.013 131.4);
--card-foreground: oklch(0.987 0.003 132.383);
--border: oklch(0.271 0.021 132.983);
--input: oklch(0.271 0.021 132.983);
--primary: oklch(0.944 0.038 132.668);
--primary-foreground: oklch(0.249 0.05 134.347);
--secondary: oklch(0.912 0.024 258.362);
--secondary-foreground: oklch(0.39 0.088 258.328);
--accent: oklch(0.908 0.032 351.59);
--accent-foreground: oklch(0.394 0.114 359.008);
--destructive: oklch(0.679 0.213 36.896);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.944 0.038 132.668);
--chart-1: oklch(0.944 0.038 132.668);
--chart-2: oklch(0.912 0.024 258.362);
--chart-3: oklch(0.908 0.032 351.59);
--chart-4: oklch(0.939 0.017 258.351);
--chart-5: oklch(0.945 0.04 132.687);
}