Monk for shadcn/ui

Monk is a shadcn/ui theme built around a light blue primary color (#c7d2e6) with light orange accents (#e6dac7). The light mode uses a neutral background (#ffffff). Dark mode keeps the light blue primary (#c7d2e6) on a blue-tinted background (#05070b).

Color palette

TokenLightDark
Background
#ffffffwhite
#05070bblack
Foreground
#02060dblack
#ffffffwhite
Card
#fcfcfcsnow
#06090eblack
Card foreground
#010409black
#ffffffwhite
Popover
#fcfcfcsnow
#06090eblack
Popover foreground
#010409black
#ffffffwhite
Primary
#c7d2e6lightgrey
#c7d2e6lightgrey
Primary foreground
#263754darkslategray
#263754darkslategray
Secondary
#e6dac7gainsboro
#e6dac7gainsboro
Secondary foreground
#544326darkolivegreen
#544326darkolivegreen
Muted
#f2ece4linen
#1b160dblack
Muted foreground
#645e54dimgray
#aba59bdarkgray
Accent
#e6dac7gainsboro
#e6dac7gainsboro
Accent foreground
#544326darkolivegreen
#544326darkolivegreen
Destructive
#d2390ffirebrick
#f05024chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c7d2e6lightgrey
#c7d2e6lightgrey

Contrast

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

Light mode
Text on background20.30:1AAA
Text on card20.09:1AAA
Primary button7.84:1AAA
Secondary button6.90:1AA
Muted text5.48:1AA
Accent6.90:1AA
Destructive4.85:1AA
Dark mode
Text on background20.18:1AAA
Text on card19.92:1AAA
Primary button7.84:1AAA
Secondary button6.90:1AA
Muted text7.33:1AAA
Accent6.90:1AA
Destructive3.58:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.121 0.02 251.548);
  --muted: oklch(0.946 0.013 81.506);
  --muted-foreground: oklch(0.484 0.018 81.445);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.106 0.017 250.796);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.106 0.017 250.796);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.861 0.03 261.467);
  --primary-foreground: oklch(0.337 0.057 260.88);
  --secondary: oklch(0.893 0.029 81.462);
  --secondary-foreground: oklch(0.395 0.05 80.188);
  --accent: oklch(0.893 0.029 81.462);
  --accent-foreground: oklch(0.395 0.05 80.188);
  --destructive: oklch(0.572 0.196 34.545);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.861 0.03 261.467);
  --chart-1: oklch(0.861 0.03 261.467);
  --chart-2: oklch(0.893 0.029 81.462);
  --chart-3: oklch(0.893 0.029 81.462);
  --chart-4: oklch(0.913 0.024 81.483);
  --chart-5: oklch(0.86 0.032 261.46);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.126 0.011 256.018);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.205 0.018 80.993);
  --muted-foreground: oklch(0.725 0.016 81.491);
  --popover: oklch(0.139 0.013 257.9);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.139 0.013 257.9);
  --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.861 0.03 261.467);
  --primary-foreground: oklch(0.337 0.057 260.88);
  --secondary: oklch(0.893 0.029 81.462);
  --secondary-foreground: oklch(0.395 0.05 80.188);
  --accent: oklch(0.893 0.029 81.462);
  --accent-foreground: oklch(0.395 0.05 80.188);
  --destructive: oklch(0.647 0.204 35.493);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.861 0.03 261.467);
  --chart-1: oklch(0.861 0.03 261.467);
  --chart-2: oklch(0.893 0.029 81.462);
  --chart-3: oklch(0.893 0.029 81.462);
  --chart-4: oklch(0.913 0.024 81.483);
  --chart-5: oklch(0.86 0.032 261.46);
}