menta light for shadcn/ui

menta light is a shadcn/ui theme built around a teal primary color (#84dcc5) with muted light teal accents (#dce5e3). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#84dcc5) on a teal-tinted background (#050b09).

Color palette

TokenLightDark
Background
#ffffffwhite
#050b09black
Foreground
#010403black
#ffffffwhite
Card
#fcfcfcsnow
#060e0cblack
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#050b09black
Popover foreground
#010403black
#ffffffwhite
Primary
#84dcc5aquamarine
#84dcc5aquamarine
Primary foreground
#0a241dblack
#0a241dblack
Secondary
#dce5e3gainsboro
#191a1ablack
Secondary foreground
#3d524cdarkslategray
#b2b3b3darkgray
Muted
#e3e8e7gainsboro
#171c1bblack
Muted foreground
#42524edarkslategray
#adbdb9silver
Accent
#dce5e3gainsboro
#191a1ablack
Accent foreground
#3d524cdarkslategray
#b2b3b3darkgray
Destructive
#aa4513sienna
#d35617chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e7e9e9lavender
#1f2322black
Input
#e7e9e9lavender
#1f2322black
Ring
#84dcc5aquamarine
#84dcc5aquamarine

Contrast

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

Light mode
Text on background20.58:1AAA
Text on card20.54:1AAA
Primary button10.16:1AAA
Secondary button6.51:1AA
Muted text6.64:1AA
Accent6.51:1AA
Destructive5.88:1AA
Dark mode
Text on background19.87:1AAA
Text on card19.47:1AAA
Primary button10.16:1AAA
Secondary button8.31:1AAA
Muted text8.84:1AAA
Accent8.31:1AAA
Destructive4.10:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.1 0.013 178.893);
  --muted: oklch(0.927 0.005 178.622);
  --muted-foreground: oklch(0.424 0.022 177.229);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.1 0.013 178.893);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.933 0.003 178.704);
  --input: oklch(0.933 0.003 178.704);
  --primary: oklch(0.833 0.092 174.948);
  --primary-foreground: oklch(0.237 0.034 173.134);
  --secondary: oklch(0.914 0.01 178.455);
  --secondary-foreground: oklch(0.419 0.028 176.688);
  --accent: oklch(0.914 0.01 178.455);
  --accent-foreground: oklch(0.419 0.028 176.688);
  --destructive: oklch(0.519 0.145 42.661);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.833 0.092 174.948);
  --chart-1: oklch(0.833 0.092 174.948);
  --chart-2: oklch(0.914 0.01 178.455);
  --chart-3: oklch(0.914 0.01 178.455);
  --chart-4: oklch(0.936 0.008 178.544);
  --chart-5: oklch(0.837 0.097 174.749);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.012 178.754);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.22 0.007 177.801);
  --muted-foreground: oklch(0.785 0.019 178.075);
  --popover: oklch(0.14 0.012 178.754);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.156 0.014 176.906);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.252 0.005 178.186);
  --input: oklch(0.252 0.005 178.186);
  --primary: oklch(0.833 0.092 174.948);
  --primary-foreground: oklch(0.237 0.034 173.134);
  --secondary: oklch(0.216 0.001 178.673);
  --secondary-foreground: oklch(0.766 0.002 178.716);
  --accent: oklch(0.216 0.001 178.673);
  --accent-foreground: oklch(0.766 0.002 178.716);
  --destructive: oklch(0.608 0.172 42.335);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.833 0.092 174.948);
  --chart-1: oklch(0.833 0.092 174.948);
  --chart-2: oklch(0.216 0.001 178.673);
  --chart-3: oklch(0.216 0.001 178.673);
  --chart-4: oklch(0.249 0.001 178.663);
  --chart-5: oklch(0.837 0.097 174.749);
}