Mouth for shadcn/ui

Mouth is a shadcn/ui theme built around a light green primary color (#c8ebb7) with light green accents (#b7ebc1). The light mode uses a neutral background (#fcfdfb). Dark mode keeps the light green primary (#c8ebb7) on a green-tinted background (#060b04).

Color palette

TokenLightDark
Background
#fcfdfbsnow
#060b04black
Foreground
#060c03black
#ffffffwhite
Card
#fcfdfbsnow
#060b04black
Card foreground
#060c03black
#ffffffwhite
Popover
#fcfdfbsnow
#060b04black
Popover foreground
#060c03black
#ffffffwhite
Primary
#c8ebb7lightgrey
#c8ebb7lightgrey
Primary foreground
#2d5819darkolivegreen
#2d5819darkolivegreen
Secondary
#e1ebb7palegoldenrod
#e1ebb7palegoldenrod
Secondary foreground
#4c5819darkolivegreen
#4c5819darkolivegreen
Muted
#e0e1dbgainsboro
#23241eblack
Muted foreground
#5c5e55dimgray
#a9aaa1darkgray
Accent
#b7ebc1powderblue
#b7ebc1powderblue
Accent foreground
#195824darkgreen
#195824darkgreen
Destructive
#bf160dfirebrick
#ef291fcrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c8ebb7lightgrey
#c8ebb7lightgrey

Contrast

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

Light mode
Text on background19.45:1AAA
Text on card19.45:1AAA
Primary button6.34:1AA
Secondary button6.16:1AA
Muted text4.99:1AA
Accent6.35:1AA
Destructive6.30:1AA
Dark mode
Text on background19.84:1AAA
Text on card19.84:1AAA
Primary button6.34:1AA
Secondary button6.16:1AA
Muted text6.65:1AA
Accent6.35:1AA
Destructive4.17:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 135.441);
  --foreground: oklch(0.145 0.027 133.808);
  --muted: oklch(0.907 0.008 114.989);
  --muted-foreground: oklch(0.477 0.014 115.371);
  --popover: oklch(0.994 0.003 135.441);
  --popover-foreground: oklch(0.145 0.027 133.808);
  --card: oklch(0.994 0.003 135.441);
  --card-foreground: oklch(0.145 0.027 133.808);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.901 0.078 135.83);
  --primary-foreground: oklch(0.413 0.104 137.352);
  --secondary: oklch(0.92 0.068 116.194);
  --secondary-foreground: oklch(0.435 0.087 119.098);
  --accent: oklch(0.893 0.078 150.074);
  --accent-foreground: oklch(0.406 0.104 146.55);
  --destructive: oklch(0.512 0.2 29.39);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.901 0.078 135.83);
  --chart-1: oklch(0.901 0.078 135.83);
  --chart-2: oklch(0.92 0.068 116.194);
  --chart-3: oklch(0.893 0.078 150.074);
  --chart-4: oklch(0.933 0.057 115.949);
  --chart-5: oklch(0.903 0.082 135.853);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.019 134.164);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.258 0.011 115.611);
  --muted-foreground: oklch(0.735 0.013 115.144);
  --popover: oklch(0.141 0.019 134.164);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.141 0.019 134.164);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.901 0.078 135.83);
  --primary-foreground: oklch(0.413 0.104 137.352);
  --secondary: oklch(0.92 0.068 116.194);
  --secondary-foreground: oklch(0.435 0.087 119.098);
  --accent: oklch(0.893 0.078 150.074);
  --accent-foreground: oklch(0.406 0.104 146.55);
  --destructive: oklch(0.614 0.231 29.107);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.901 0.078 135.83);
  --chart-1: oklch(0.901 0.078 135.83);
  --chart-2: oklch(0.92 0.068 116.194);
  --chart-3: oklch(0.893 0.078 150.074);
  --chart-4: oklch(0.933 0.057 115.949);
  --chart-5: oklch(0.903 0.082 135.853);
}