Fumbling for shadcn/ui

Fumbling is a shadcn/ui theme built around a deep green primary color (#193919) with deep purple accents (#391939). The light mode uses a neutral background (#f6fdf6). Dark mode keeps the deep green primary (#193919) on a green-tinted background (#050f05).

Color palette

TokenLightDark
Background
#f6fdf6mintcream
#050f05black
Foreground
#010401black
#f6f9f6whitesmoke
Card
#f6fdf6mintcream
#050f05black
Card foreground
#010401black
#f6f9f6whitesmoke
Popover
#f6fdf6mintcream
#050f05black
Popover foreground
#010401black
#f6f9f6whitesmoke
Primary
#193919darkgreen
#193919darkgreen
Primary foreground
#aadaaasilver
#aadaaasilver
Secondary
#391939darkslategray
#391939darkslategray
Secondary foreground
#daaadaplum
#daaadaplum
Muted
#f1eff1whitesmoke
#100e10black
Muted foreground
#504950darkslategray
#b6afb6darkgray
Accent
#391939darkslategray
#391939darkslategray
Accent foreground
#daaadaplum
#daaadaplum
Destructive
#84350bsaddlebrown
#ee722ftomato
Destructive foreground
#fad9c6bisque
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#193919darkgreen
#193919darkgreen

Contrast

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

Light mode
Text on background19.98:1AAA
Text on card19.98:1AAA
Primary button8.14:1AAA
Secondary button7.84:1AAA
Muted text7.59:1AAA
Accent7.84:1AAA
Destructive6.32:1AA
Dark mode
Text on background18.34:1AAA
Text on card18.34:1AAA
Primary button8.14:1AAA
Secondary button7.84:1AAA
Muted text8.95:1AAA
Accent7.84:1AAA
Destructive7.09:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.011 145.488);
  --foreground: oklch(0.098 0.022 143.617);
  --muted: oklch(0.953 0.004 325.605);
  --muted-foreground: oklch(0.414 0.016 325.862);
  --popover: oklch(0.988 0.011 145.488);
  --popover-foreground: oklch(0.098 0.022 143.617);
  --card: oklch(0.988 0.011 145.488);
  --card-foreground: oklch(0.098 0.022 143.617);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.31 0.067 143.758);
  --primary-foreground: oklch(0.841 0.082 144.799);
  --secondary: oklch(0.273 0.07 327.29);
  --secondary-foreground: oklch(0.796 0.084 326.334);
  --accent: oklch(0.273 0.07 327.29);
  --accent-foreground: oklch(0.796 0.084 326.334);
  --destructive: oklch(0.434 0.12 43.681);
  --destructive-foreground: oklch(0.908 0.045 50.063);
  --ring: oklch(0.31 0.067 143.758);
  --chart-1: oklch(0.31 0.067 143.758);
  --chart-2: oklch(0.273 0.07 327.29);
  --chart-3: oklch(0.273 0.07 327.29);
  --chart-4: oklch(0.303 0.081 327.345);
  --chart-5: oklch(0.313 0.071 143.647);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.155 0.029 144.021);
  --foreground: oklch(0.979 0.005 145.536);
  --muted: oklch(0.168 0.006 325.823);
  --muted-foreground: oklch(0.762 0.014 325.711);
  --popover: oklch(0.155 0.029 144.021);
  --popover-foreground: oklch(0.979 0.005 145.536);
  --card: oklch(0.155 0.029 144.021);
  --card-foreground: oklch(0.979 0.005 145.536);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.31 0.067 143.758);
  --primary-foreground: oklch(0.841 0.082 144.799);
  --secondary: oklch(0.273 0.07 327.29);
  --secondary-foreground: oklch(0.796 0.084 326.334);
  --accent: oklch(0.273 0.07 327.29);
  --accent-foreground: oklch(0.796 0.084 326.334);
  --destructive: oklch(0.69 0.171 45.512);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.31 0.067 143.758);
  --chart-1: oklch(0.31 0.067 143.758);
  --chart-2: oklch(0.273 0.07 327.29);
  --chart-3: oklch(0.273 0.07 327.29);
  --chart-4: oklch(0.303 0.081 327.345);
  --chart-5: oklch(0.313 0.071 143.647);
}