Monkey for shadcn/ui

Monkey is a shadcn/ui theme built around a deep teal primary color (#185856) with deep blue accents (#183a58). The light mode uses a neutral background (#fbfefe). Dark mode keeps the deep teal primary (#185856) on a teal-tinted background (#040b0b).

Color palette

TokenLightDark
Background
#fbfefewhite
#040b0bblack
Foreground
#030c0cblack
#fcfdfdwhite
Card
#fbfefewhite
#040b0bblack
Card foreground
#030c0cblack
#fcfdfdwhite
Popover
#fbfefewhite
#040b0bblack
Popover foreground
#030c0cblack
#fcfdfdwhite
Primary
#185856darkslategray
#185856darkslategray
Primary foreground
#b7ebeapaleturquoise
#b7ebeapaleturquoise
Secondary
#185836darkslategray
#185836darkslategray
Secondary foreground
#b7ebcfpowderblue
#b7ebcfpowderblue
Muted
#f0f4f2whitesmoke
#0b0f0dblack
Muted foreground
#525654darkslategray
#a9adabdarkgray
Accent
#183a58darkslategray
#183a58darkslategray
Accent foreground
#b7d3eblightblue
#b7d3eblightblue
Destructive
#ac0702darkred
#fd1a12red
Destructive foreground
#ffe2e1mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#185856darkslategray
#185856darkslategray

Contrast

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

Light mode
Text on background19.47:1AAA
Text on card19.47:1AAA
Primary button6.25:1AA
Secondary button6.34:1AA
Muted text6.73:1AA
Accent7.55:1AAA
Destructive6.19:1AA
Dark mode
Text on background19.45:1AAA
Text on card19.45:1AAA
Primary button6.25:1AA
Secondary button6.34:1AA
Muted text8.51:1AAA
Accent7.55:1AAA
Destructive3.95:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 194.738);
  --foreground: oklch(0.144 0.016 193.321);
  --muted: oklch(0.964 0.005 163.308);
  --muted-foreground: oklch(0.449 0.005 163.151);
  --popover: oklch(0.994 0.003 194.738);
  --popover-foreground: oklch(0.144 0.016 193.321);
  --card: oklch(0.994 0.003 194.738);
  --card-foreground: oklch(0.144 0.016 193.321);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.421 0.063 191.81);
  --primary-foreground: oklch(0.904 0.053 193.704);
  --secondary: oklch(0.411 0.086 155.759);
  --secondary-foreground: oklch(0.897 0.066 161.431);
  --accent: oklch(0.34 0.066 247.58);
  --accent-foreground: oklch(0.854 0.045 244.758);
  --destructive: oklch(0.469 0.189 29.55);
  --destructive-foreground: oklch(0.935 0.032 20.107);
  --ring: oklch(0.421 0.063 191.81);
  --chart-1: oklch(0.421 0.063 191.81);
  --chart-2: oklch(0.411 0.086 155.759);
  --chart-3: oklch(0.34 0.066 247.58);
  --chart-4: oklch(0.449 0.095 155.582);
  --chart-5: oklch(0.426 0.065 191.717);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.142 0.013 193.526);
  --foreground: oklch(0.993 0.001 194.778);
  --muted: oklch(0.162 0.008 162.138);
  --muted-foreground: oklch(0.743 0.005 163.289);
  --popover: oklch(0.142 0.013 193.526);
  --popover-foreground: oklch(0.993 0.001 194.778);
  --card: oklch(0.142 0.013 193.526);
  --card-foreground: oklch(0.993 0.001 194.778);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.421 0.063 191.81);
  --primary-foreground: oklch(0.904 0.053 193.704);
  --secondary: oklch(0.411 0.086 155.759);
  --secondary-foreground: oklch(0.897 0.066 161.431);
  --accent: oklch(0.34 0.066 247.58);
  --accent-foreground: oklch(0.854 0.045 244.758);
  --destructive: oklch(0.63 0.25 29.181);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.421 0.063 191.81);
  --chart-1: oklch(0.421 0.063 191.81);
  --chart-2: oklch(0.411 0.086 155.759);
  --chart-3: oklch(0.34 0.066 247.58);
  --chart-4: oklch(0.449 0.095 155.582);
  --chart-5: oklch(0.426 0.065 191.717);
}