Hurt Hint of Mint for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.21:1AAA
Text on card19.24:1AAA
Primary button13.52:1AAA
Secondary button7.42:1AAA
Muted text5.79:1AA
Accent7.53:1AAA
Destructive5.88:1AA
Dark mode
Text on background19.46:1AAA
Text on card19.49:1AAA
Primary button13.52:1AAA
Secondary button7.42:1AAA
Muted text6.75:1AA
Accent7.53:1AAA
Destructive6.62:1AA

CSS variables

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);
}