Civil Mint Tea for shadcn/ui

Civil Mint Tea is a shadcn/ui theme built around a light teal primary color (#b4f3e2) with light pink accents (#f3b4c5). The light mode uses a neutral background (#ffffff). Dark mode keeps the light teal primary (#b4f3e2) on a neutral background (#020303).

Color palette

TokenLightDark
Background
#ffffffwhite
#020303black
Foreground
#000000black
#ffffffwhite
Card
#fcfcfcsnow
#040706black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#040706black
Popover foreground
#000000black
#ffffffwhite
Primary
#b4f3e2paleturquoise
#b4f3e2paleturquoise
Primary foreground
#020d0ablack
#020d0ablack
Secondary
#f3b4c5lightpink
#f3b4c5lightpink
Secondary foreground
#651027maroon
#651027maroon
Muted
#e0dcddgainsboro
#231f20black
Muted foreground
#4d4245darkslategray
#bdb2b5silver
Accent
#f3b4c5lightpink
#f3b4c5lightpink
Accent foreground
#651027maroon
#651027maroon
Destructive
#da4207orangered
#e44607orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e9eceblavender
#171c1ablack
Input
#e9eceblavender
#171c1ablack
Ring
#b4f3e2paleturquoise
#b4f3e2paleturquoise

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button15.83:1AAA
Secondary button7.34:1AAA
Muted text7.07:1AAA
Accent7.34:1AAA
Destructive4.40:1AA Large
Dark mode
Text on background20.62:1AAA
Text on card20.26:1AAA
Primary button15.83:1AAA
Secondary button7.34:1AAA
Muted text7.90:1AAA
Accent7.34:1AAA
Destructive4.07:1AA Large

CSS variables

Paste this into your globals.css to use Civil Mint Tea in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.897 0.005 358.929);
  --muted-foreground: oklch(0.391 0.016 359.951);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.941 0.004 178.671);
  --input: oklch(0.941 0.004 178.671);
  --primary: oklch(0.917 0.067 176.476);
  --primary-foreground: oklch(0.146 0.021 177.766);
  --secondary: oklch(0.833 0.075 1.256);
  --secondary-foreground: oklch(0.335 0.117 11.441);
  --accent: oklch(0.833 0.075 1.256);
  --accent-foreground: oklch(0.335 0.117 11.441);
  --destructive: oklch(0.595 0.196 37.004);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.917 0.067 176.476);
  --chart-1: oklch(0.917 0.067 176.476);
  --chart-2: oklch(0.833 0.075 1.256);
  --chart-3: oklch(0.833 0.075 1.256);
  --chart-4: oklch(0.862 0.061 0.734);
  --chart-5: oklch(0.919 0.069 176.382);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.007 178.844);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.245 0.006 359.515);
  --muted-foreground: oklch(0.774 0.014 359.283);
  --popover: oklch(0.121 0.008 178.844);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.121 0.008 178.844);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.22 0.006 177.909);
  --input: oklch(0.22 0.006 177.909);
  --primary: oklch(0.917 0.067 176.476);
  --primary-foreground: oklch(0.146 0.021 177.766);
  --secondary: oklch(0.833 0.075 1.256);
  --secondary-foreground: oklch(0.335 0.117 11.441);
  --accent: oklch(0.833 0.075 1.256);
  --accent-foreground: oklch(0.335 0.117 11.441);
  --destructive: oklch(0.615 0.203 36.93);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.917 0.067 176.476);
  --chart-1: oklch(0.917 0.067 176.476);
  --chart-2: oklch(0.833 0.075 1.256);
  --chart-3: oklch(0.833 0.075 1.256);
  --chart-4: oklch(0.862 0.061 0.734);
  --chart-5: oklch(0.919 0.069 176.382);
}