Meek for shadcn/ui

Meek is a shadcn/ui theme built around a neutral gray primary color (#858683) with neutral gray accents (#c4c6be). The light mode uses a neutral background (#fdfefb). Dark mode keeps the neutral gray primary (#858683) on a green-tinted background (#090a05).

Color palette

TokenLightDark
Background
#fdfefbwhite
#090a05black
Foreground
#070902black
#fafbf9snow
Card
#fdfefbwhite
#090a05black
Card foreground
#070902black
#fafbf9snow
Popover
#fdfefbwhite
#090a05black
Popover foreground
#070902black
#fafbf9snow
Primary
#858683gray
#858683gray
Primary foreground
#000000black
#000000black
Secondary
#d6d7d6lightgrey
#2d2f22darkslategray
Secondary foreground
#3e3e3ddarkslategray
#c8ccb8silver
Muted
#e9eae6linen
#181915black
Muted foreground
#5f634fdimgray
#acb09cdarkgray
Accent
#c4c6besilver
#3d4229darkslategray
Accent foreground
#2b2c26darkslategray
#d5dac3lightgrey
Destructive
#cd110efirebrick
#f13a37crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#858683gray
#858683gray

Contrast

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

Light mode
Text on background19.81:1AAA
Text on card19.81:1AAA
Primary button5.73:1AA
Secondary button7.40:1AAA
Muted text5.12:1AA
Accent8.17:1AAA
Destructive5.69:1AA
Dark mode
Text on background19.10:1AAA
Text on card19.10:1AAA
Primary button5.73:1AA
Secondary button8.27:1AAA
Muted text7.96:1AAA
Accent7.29:1AAA
Destructive3.88:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.996 0.005 115.663);
  --foreground: oklch(0.132 0.022 116.225);
  --muted: oklch(0.935 0.004 115.664);
  --muted-foreground: oklch(0.491 0.031 116.726);
  --popover: oklch(0.996 0.005 115.663);
  --popover-foreground: oklch(0.132 0.022 116.225);
  --card: oklch(0.996 0.005 115.663);
  --card-foreground: oklch(0.132 0.022 116.225);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.618 0.004 115.687);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.878 0.001 115.602);
  --secondary-foreground: oklch(0.362 0.002 115.684);
  --accent: oklch(0.823 0.012 115.844);
  --accent-foreground: oklch(0.289 0.01 116.231);
  --destructive: oklch(0.538 0.214 28.872);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.618 0.004 115.687);
  --chart-1: oklch(0.618 0.004 115.687);
  --chart-2: oklch(0.878 0.001 115.602);
  --chart-3: oklch(0.823 0.012 115.844);
  --chart-4: oklch(0.901 0.001 115.597);
  --chart-5: oklch(0.627 0.015 116.004);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.143 0.013 115.954);
  --foreground: oklch(0.987 0.002 115.624);
  --muted: oklch(0.21 0.006 116.127);
  --muted-foreground: oklch(0.747 0.028 116.261);
  --popover: oklch(0.143 0.013 115.954);
  --popover-foreground: oklch(0.987 0.002 115.624);
  --card: oklch(0.143 0.013 115.954);
  --card-foreground: oklch(0.987 0.002 115.624);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.618 0.004 115.687);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.3 0.023 116.988);
  --secondary-foreground: oklch(0.835 0.027 116.171);
  --accent: oklch(0.367 0.04 117.635);
  --accent-foreground: oklch(0.878 0.03 116.212);
  --destructive: oklch(0.63 0.219 26.943);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.618 0.004 115.687);
  --chart-1: oklch(0.618 0.004 115.687);
  --chart-2: oklch(0.3 0.023 116.988);
  --chart-3: oklch(0.367 0.04 117.635);
  --chart-4: oklch(0.334 0.026 117.041);
  --chart-5: oklch(0.627 0.015 116.004);
}