Lumbering for shadcn/ui

Lumbering is a shadcn/ui theme built around a near-black primary color (#0b030d) with near-black accents (#030d0b). The light mode uses a neutral background (#fbf8fc). Dark mode keeps the near-black primary (#0b030d) on a neutral background (#070307).

Color palette

TokenLightDark
Background
#fbf8fcghostwhite
#070307black
Foreground
#030104black
#faf9fbghostwhite
Card
#fbf8fcghostwhite
#070307black
Card foreground
#030104black
#faf9fbghostwhite
Popover
#fbf8fcghostwhite
#070307black
Popover foreground
#030104black
#faf9fbghostwhite
Primary
#0b030dblack
#0b030dblack
Primary foreground
#ca62dforchid
#ca62dforchid
Secondary
#0d0b03black
#0d0b03black
Secondary foreground
#b69e25darkgoldenrod
#b69e25darkgoldenrod
Muted
#dbdbd6gainsboro
#292824darkslategray
Muted foreground
#48463ddarkslategray
#c2c0b7silver
Accent
#030d0bblack
#030d0bblack
Accent foreground
#25b69elightseagreen
#25b69elightseagreen
Destructive
#c83204firebrick
#fb6537tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0b030dblack
#0b030dblack

Contrast

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

Light mode
Text on background19.73:1AAA
Text on card19.73:1AAA
Primary button6.13:1AA
Secondary button7.41:1AAA
Muted text6.79:1AA
Accent7.76:1AAA
Destructive5.37:1AA
Dark mode
Text on background19.54:1AAA
Text on card19.54:1AAA
Primary button6.13:1AA
Secondary button7.41:1AAA
Muted text8.09:1AAA
Accent7.76:1AAA
Destructive7.00:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.006 320.541);
  --foreground: oklch(0.085 0.018 322.274);
  --muted: oklch(0.889 0.006 97.351);
  --muted-foreground: oklch(0.392 0.015 97.723);
  --popover: oklch(0.983 0.006 320.541);
  --popover-foreground: oklch(0.085 0.018 322.274);
  --card: oklch(0.983 0.006 320.541);
  --card-foreground: oklch(0.085 0.018 322.274);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.12 0.033 322.306);
  --primary-foreground: oklch(0.669 0.202 320.704);
  --secondary: oklch(0.148 0.021 100.975);
  --secondary-foreground: oklch(0.7 0.134 97.043);
  --accent: oklch(0.145 0.019 184.187);
  --accent-foreground: oklch(0.698 0.121 178.031);
  --destructive: oklch(0.548 0.192 34.517);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.12 0.033 322.306);
  --chart-1: oklch(0.12 0.033 322.306);
  --chart-2: oklch(0.148 0.021 100.975);
  --chart-3: oklch(0.145 0.019 184.187);
  --chart-4: oklch(0.199 0.031 98.717);
  --chart-5: oklch(0.119 0.035 322.374);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.108 0.02 322.068);
  --foreground: oklch(0.984 0.002 320.535);
  --muted: oklch(0.276 0.008 97.632);
  --muted-foreground: oklch(0.807 0.012 97.46);
  --popover: oklch(0.108 0.02 322.068);
  --popover-foreground: oklch(0.984 0.002 320.535);
  --card: oklch(0.108 0.02 322.068);
  --card-foreground: oklch(0.984 0.002 320.535);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.12 0.033 322.306);
  --primary-foreground: oklch(0.669 0.202 320.704);
  --secondary: oklch(0.148 0.021 100.975);
  --secondary-foreground: oklch(0.7 0.134 97.043);
  --accent: oklch(0.145 0.019 184.187);
  --accent-foreground: oklch(0.698 0.121 178.031);
  --destructive: oklch(0.691 0.193 37.085);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.12 0.033 322.306);
  --chart-1: oklch(0.12 0.033 322.306);
  --chart-2: oklch(0.148 0.021 100.975);
  --chart-3: oklch(0.145 0.019 184.187);
  --chart-4: oklch(0.199 0.031 98.717);
  --chart-5: oklch(0.119 0.035 322.374);
}