Meek for shadcn/ui

Meek is a shadcn/ui theme built around a light orange primary color (#f6d1c1) with muted light orange accents (#dbcdc7). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the light orange primary (#f6d1c1) on an orange-tinted background (#0b0604).

Color palette

TokenLightDark
Background
#fdfcfcsnow
#0b0604black
Foreground
#0c0603black
#fdfcfcsnow
Card
#fbf9f8snow
#0f0805black
Card foreground
#080402black
#ffffffwhite
Popover
#fdfcfcsnow
#0b0604black
Popover foreground
#0c0603black
#fdfcfcsnow
Primary
#f6d1c1peachpuff
#f6d1c1peachpuff
Primary foreground
#742e11saddlebrown
#742e11saddlebrown
Secondary
#e9e4e2gainsboro
#222120black
Secondary foreground
#584841darkolivegreen
#bcbab9silver
Muted
#f5eeealinen
#150d0ablack
Muted foreground
#5e504adarkolivegreen
#b5a7a1darkgray
Accent
#dbcdc7lightgrey
#3f3531darkslategray
Accent foreground
#44332cdarkslategray
#d7cfcclightgrey
Destructive
#752b00saddlebrown
#ff6e19darkorange
Destructive foreground
#ffc8a8navajowhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f6d1c1peachpuff
#f6d1c1peachpuff

Contrast

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

Light mode
Text on background19.68:1AAA
Text on card19.50:1AAA
Primary button6.89:1AA
Secondary button6.89:1AA
Muted text6.70:1AA
Accent7.73:1AAA
Destructive6.68:1AA
Dark mode
Text on background19.65:1AAA
Text on card19.83:1AAA
Primary button6.89:1AA
Secondary button8.32:1AAA
Muted text8.23:1AAA
Accent7.72:1AAA
Destructive7.48:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.001 44.969);
  --foreground: oklch(0.13 0.016 53.17);
  --muted: oklch(0.953 0.009 44.886);
  --muted-foreground: oklch(0.444 0.021 44.56);
  --popover: oklch(0.992 0.001 44.969);
  --popover-foreground: oklch(0.13 0.016 53.17);
  --card: oklch(0.984 0.003 44.955);
  --card-foreground: oklch(0.113 0.014 53.657);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.887 0.048 44.519);
  --primary-foreground: oklch(0.397 0.106 41.369);
  --secondary: oklch(0.922 0.007 44.908);
  --secondary-foreground: oklch(0.416 0.025 44.479);
  --accent: oklch(0.858 0.017 44.787);
  --accent-foreground: oklch(0.339 0.027 44.347);
  --destructive: oklch(0.393 0.115 43.745);
  --destructive-foreground: oklch(0.874 0.076 51.47);
  --ring: oklch(0.887 0.048 44.519);
  --chart-1: oklch(0.887 0.048 44.519);
  --chart-2: oklch(0.922 0.007 44.908);
  --chart-3: oklch(0.858 0.017 44.787);
  --chart-4: oklch(0.946 0.005 44.932);
  --chart-5: oklch(0.887 0.05 44.504);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.13 0.013 51.678);
  --foreground: oklch(0.992 0.001 44.972);
  --muted: oklch(0.169 0.014 44.301);
  --muted-foreground: oklch(0.738 0.019 44.74);
  --popover: oklch(0.13 0.013 51.678);
  --popover-foreground: oklch(0.992 0.001 44.972);
  --card: oklch(0.144 0.015 49.529);
  --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.887 0.048 44.519);
  --primary-foreground: oklch(0.397 0.106 41.369);
  --secondary: oklch(0.248 0.002 44.916);
  --secondary-foreground: oklch(0.789 0.002 44.95);
  --accent: oklch(0.339 0.015 44.584);
  --accent-foreground: oklch(0.859 0.01 44.867);
  --destructive: oklch(0.706 0.196 44.321);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.887 0.048 44.519);
  --chart-1: oklch(0.887 0.048 44.519);
  --chart-2: oklch(0.248 0.002 44.916);
  --chart-3: oklch(0.339 0.015 44.584);
  --chart-4: oklch(0.28 0.002 44.912);
  --chart-5: oklch(0.887 0.05 44.504);
}