Mink for shadcn/ui

Mink is a shadcn/ui theme built around a vivid light teal primary color (#97f7e4) with vivid light red accents (#f797aa). The light mode uses a neutral background (#fbfefd). Dark mode keeps the vivid light teal primary (#97f7e4) on a neutral background (#040706).

Color palette

TokenLightDark
Background
#fbfefdwhite
#040706black
Foreground
#000000black
#f6f9f8whitesmoke
Card
#f7fdfcmintcream
#050a09black
Card foreground
#000000black
#f9fbfbghostwhite
Popover
#fbfefdwhite
#040706black
Popover foreground
#000000black
#f6f9f8whitesmoke
Primary
#97f7e4paleturquoise
#97f7e4paleturquoise
Primary foreground
#065546darkslategray
#065546darkslategray
Secondary
#f797aalightpink
#f797aalightpink
Secondary foreground
#550616maroon
#550616maroon
Muted
#ebd6dagainsboro
#291418black
Muted foreground
#493c3edarkslategray
#c3b6b9silver
Accent
#f797aalightpink
#f797aalightpink
Accent foreground
#550616maroon
#550616maroon
Destructive
#bc3a0bfirebrick
#e7480dorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#97f7e4paleturquoise
#97f7e4paleturquoise

Contrast

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

Light mode
Text on background20.71:1AAA
Text on card20.42:1AAA
Primary button6.99:1AA
Secondary button6.98:1AA
Muted text7.57:1AAA
Accent6.98:1AA
Destructive5.59:1AA
Dark mode
Text on background19.13:1AAA
Text on card19.18:1AAA
Primary button6.99:1AA
Secondary button6.98:1AA
Muted text8.86:1AAA
Accent6.98:1AA
Destructive3.93:1AA Large

CSS variables

Paste this into your globals.css to use Mink in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.004 183.084);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.894 0.024 3.913);
  --muted-foreground: oklch(0.37 0.019 4.546);
  --popover: oklch(0.995 0.004 183.084);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.989 0.007 182.982);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.911 0.096 179.825);
  --primary-foreground: oklch(0.403 0.074 174.128);
  --secondary: oklch(0.78 0.118 7.218);
  --secondary-foreground: oklch(0.292 0.109 17.696);
  --accent: oklch(0.78 0.118 7.218);
  --accent-foreground: oklch(0.292 0.109 17.696);
  --destructive: oklch(0.535 0.174 36.954);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.911 0.096 179.825);
  --chart-1: oklch(0.911 0.096 179.825);
  --chart-2: oklch(0.78 0.118 7.218);
  --chart-3: oklch(0.78 0.118 7.218);
  --chart-4: oklch(0.808 0.1 6.477);
  --chart-5: oklch(0.915 0.099 179.714);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.008 183.093);
  --foreground: oklch(0.979 0.004 183.082);
  --muted: oklch(0.223 0.036 7.49);
  --muted-foreground: oklch(0.788 0.016 3.712);
  --popover: oklch(0.121 0.008 183.093);
  --popover-foreground: oklch(0.979 0.004 183.082);
  --card: oklch(0.138 0.009 183.093);
  --card-foreground: oklch(0.986 0.002 183.117);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.911 0.096 179.825);
  --primary-foreground: oklch(0.403 0.074 174.128);
  --secondary: oklch(0.78 0.118 7.218);
  --secondary-foreground: oklch(0.292 0.109 17.696);
  --accent: oklch(0.78 0.118 7.218);
  --accent-foreground: oklch(0.292 0.109 17.696);
  --destructive: oklch(0.623 0.205 36.677);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.911 0.096 179.825);
  --chart-1: oklch(0.911 0.096 179.825);
  --chart-2: oklch(0.78 0.118 7.218);
  --chart-3: oklch(0.78 0.118 7.218);
  --chart-4: oklch(0.808 0.1 6.477);
  --chart-5: oklch(0.915 0.099 179.714);
}