Coastal Malted Mint Madness for shadcn/ui

Coastal Malted Mint Madness is a shadcn/ui theme built around a vivid teal primary color (#00e0ac) with vivid teal accents (#00e0ac). The light mode uses a neutral background (#f7fdfc). Dark mode keeps the vivid teal primary (#00e0ac) on a teal-tinted background (#060e0c).

Color palette

TokenLightDark
Background
#f7fdfcmintcream
#060e0cblack
Foreground
#04110eblack
#ffffffwhite
Card
#f7fdfcmintcream
#060e0cblack
Card foreground
#04110eblack
#ffffffwhite
Popover
#f7fdfcmintcream
#060e0cblack
Popover foreground
#04110eblack
#ffffffwhite
Primary
#00e0acmediumspringgreen
#00e0acmediumspringgreen
Primary foreground
#001410black
#001410black
Secondary
#eff1f0whitesmoke
#191a21black
Secondary foreground
#001405black
#ffffffwhite
Muted
#ecf1edwhitesmoke
#2a2f2cdarkslategray
Muted foreground
#5d5f5edimgray
#a0a2a0darkgray
Accent
#00e0acmediumspringgreen
#0da16cdarkcyan
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#b6402bbrown
#f25b40tomato
Destructive foreground
#e7c4bepink
#000000black
Border
#e8edeclavender
#1f2926darkslategray
Input
#e8edeclavender
#1f2926darkslategray
Ring
#00e0acmediumspringgreen
#00e0acmediumspringgreen

Contrast

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

Light mode
Text on background18.69:1AAA
Text on card18.69:1AAA
Primary button11.10:1AAA
Secondary button16.82:1AAA
Muted text5.63:1AA
Accent1.71:1Fail
Destructive3.45:1AA Large
Dark mode
Text on background19.47:1AAA
Text on card19.47:1AAA
Primary button11.10:1AAA
Secondary button17.37:1AAA
Muted text5.29:1AA
Accent3.32:1AA Large
Destructive6.33:1AA

CSS variables

Paste this into your globals.css to use Coastal Malted Mint Madness in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.007 180.762);
  --foreground: oklch(0.161 0.021 178.284);
  --muted: oklch(0.954 0.008 154.386);
  --muted-foreground: oklch(0.484 0.003 154.41);
  --popover: oklch(0.989 0.007 180.762);
  --popover-foreground: oklch(0.161 0.021 178.284);
  --card: oklch(0.989 0.007 180.762);
  --card-foreground: oklch(0.161 0.021 178.284);
  --border: oklch(0.943 0.006 180.771);
  --input: oklch(0.943 0.006 180.771);
  --primary: oklch(0.806 0.163 168.264);
  --primary-foreground: oklch(0.173 0.032 176.922);
  --secondary: oklch(0.957 0.003 154.471);
  --secondary-foreground: oklch(0.169 0.045 151.794);
  --accent: oklch(0.805 0.162 168.372);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.535 0.157 32.289);
  --destructive-foreground: oklch(0.849 0.041 29.718);
  --ring: oklch(0.806 0.163 168.264);
  --chart-1: oklch(0.806 0.163 168.264);
  --chart-2: oklch(0.957 0.003 154.471);
  --chart-3: oklch(0.805 0.162 168.372);
  --chart-4: oklch(0.979 0.001 154.501);
  --chart-5: oklch(0.815 0.165 167.969);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.156 0.014 179.099);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.3 0.009 153.981);
  --muted-foreground: oklch(0.709 0.003 154.455);
  --popover: oklch(0.156 0.014 179.099);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.156 0.014 179.099);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.269 0.015 179.338);
  --input: oklch(0.269 0.015 179.338);
  --primary: oklch(0.806 0.163 168.264);
  --primary-foreground: oklch(0.173 0.032 176.922);
  --secondary: oklch(0.219 0.015 283.313);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.627 0.138 160.71);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.665 0.191 32.239);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.806 0.163 168.264);
  --chart-1: oklch(0.806 0.163 168.264);
  --chart-2: oklch(0.219 0.015 283.313);
  --chart-3: oklch(0.627 0.138 160.71);
  --chart-4: oklch(0.249 0.018 283.207);
  --chart-5: oklch(0.815 0.165 167.969);
}