Limb for shadcn/ui

Limb is a shadcn/ui theme built around a deep indigo primary color (#060623) with deep green accents (#062306). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep indigo primary (#060623) on a neutral background (#030307).

Color palette

TokenLightDark
Background
#ffffffwhite
#030307black
Foreground
#020208black
#ffffffwhite
Card
#ffffffwhite
#030307black
Card foreground
#020208black
#ffffffwhite
Popover
#ffffffwhite
#030307black
Popover foreground
#020208black
#ffffffwhite
Primary
#060623black
#060623black
Primary foreground
#cbcbf6thistle
#cbcbf6thistle
Secondary
#230606black
#230606black
Secondary foreground
#e77373lightcoral
#e77373lightcoral
Muted
#e3d9d9gainsboro
#261c1cblack
Muted foreground
#655353dimgray
#ac9a9adarkgray
Accent
#062306black
#062306black
Accent foreground
#23d123limegreen
#23d123limegreen
Destructive
#681208maroon
#e22712orangered
Destructive foreground
#f8b2aalightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#060623black
#060623black

Contrast

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

Light mode
Text on background20.69:1AAA
Text on card20.69:1AAA
Primary button12.68:1AAA
Secondary button6.45:1AA
Muted text5.20:1AA
Accent8.17:1AAA
Destructive7.12:1AAA
Dark mode
Text on background20.54:1AAA
Text on card20.54:1AAA
Primary button12.68:1AAA
Secondary button6.45:1AA
Muted text6.18:1AA
Accent8.17:1AAA
Destructive4.61:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.09 0.026 279.843);
  --muted: oklch(0.893 0.011 17.361);
  --muted-foreground: oklch(0.459 0.024 18.08);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.09 0.026 279.843);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.09 0.026 279.843);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.147 0.06 276.108);
  --primary-foreground: oklch(0.855 0.06 285.059);
  --secondary: oklch(0.177 0.051 23.895);
  --secondary-foreground: oklch(0.692 0.144 21.506);
  --accent: oklch(0.226 0.063 143.149);
  --accent-foreground: oklch(0.75 0.243 142.676);
  --destructive: oklch(0.338 0.121 30.49);
  --destructive-foreground: oklch(0.827 0.083 26.126);
  --ring: oklch(0.147 0.06 276.108);
  --chart-1: oklch(0.147 0.06 276.108);
  --chart-2: oklch(0.177 0.051 23.895);
  --chart-3: oklch(0.226 0.063 143.149);
  --chart-4: oklch(0.21 0.065 24.685);
  --chart-5: oklch(0.145 0.063 275.288);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.104 0.012 284.144);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.239 0.016 18.309);
  --muted-foreground: oklch(0.702 0.022 17.681);
  --popover: oklch(0.104 0.012 284.144);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.104 0.012 284.144);
  --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.147 0.06 276.108);
  --primary-foreground: oklch(0.855 0.06 285.059);
  --secondary: oklch(0.177 0.051 23.895);
  --secondary-foreground: oklch(0.692 0.144 21.506);
  --accent: oklch(0.226 0.063 143.149);
  --accent-foreground: oklch(0.75 0.243 142.676);
  --destructive: oklch(0.588 0.222 30.505);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.147 0.06 276.108);
  --chart-1: oklch(0.147 0.06 276.108);
  --chart-2: oklch(0.177 0.051 23.895);
  --chart-3: oklch(0.226 0.063 143.149);
  --chart-4: oklch(0.21 0.065 24.685);
  --chart-5: oklch(0.145 0.063 275.288);
}