Jumpy for shadcn/ui

Jumpy is a shadcn/ui theme built around a near-black primary color (#141514) with near-black accents (#151414). The light mode uses a neutral background (#fbfefd). Dark mode keeps the near-black primary (#141514) on a neutral background (#020806).

Color palette

TokenLightDark
Background
#fbfefdwhite
#020806black
Foreground
#031710black
#fcfdfdwhite
Card
#f7fdfbmintcream
#040c09black
Card foreground
#02120dblack
#ffffffwhite
Popover
#f7fdfbmintcream
#040c09black
Popover foreground
#02120dblack
#ffffffwhite
Primary
#141514black
#141514black
Primary foreground
#adaeaedarkgray
#adaeaedarkgray
Secondary
#151414black
#151414black
Secondary foreground
#aeadaddarkgray
#aeadaddarkgray
Muted
#ece4e7linen
#1b1316black
Muted foreground
#5a5356dimgray
#aca5a7darkgray
Accent
#151414black
#151414black
Accent foreground
#aeadaddarkgray
#aeadaddarkgray
Destructive
#d34612chocolate
#ed5f2cchocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#141514black
#141514black

Contrast

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

Light mode
Text on background18.22:1AAA
Text on card18.57:1AAA
Primary button8.24:1AAA
Secondary button8.20:1AAA
Muted text6.00:1AA
Accent8.20:1AAA
Destructive4.51:1AA
Dark mode
Text on background19.82:1AAA
Text on card19.81:1AAA
Primary button8.24:1AAA
Secondary button8.20:1AAA
Muted text7.54:1AAA
Accent8.20:1AAA
Destructive6.27:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 173.486);
  --foreground: oklch(0.184 0.032 168.549);
  --muted: oklch(0.927 0.009 353.842);
  --muted-foreground: oklch(0.451 0.01 354.194);
  --popover: oklch(0.988 0.006 173.397);
  --popover-foreground: oklch(0.166 0.028 170.204);
  --card: oklch(0.988 0.006 173.397);
  --card-foreground: oklch(0.166 0.028 170.204);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.193 0.001 173.468);
  --primary-foreground: oklch(0.75 0.002 173.496);
  --secondary: oklch(0.193 0.001 353.68);
  --secondary-foreground: oklch(0.748 0.002 353.652);
  --accent: oklch(0.193 0.001 353.68);
  --accent-foreground: oklch(0.748 0.002 353.652);
  --destructive: oklch(0.588 0.186 37.41);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.193 0.001 173.468);
  --chart-1: oklch(0.193 0.001 173.468);
  --chart-2: oklch(0.193 0.001 353.68);
  --chart-3: oklch(0.193 0.001 353.68);
  --chart-4: oklch(0.226 0.001 353.693);
  --chart-5: oklch(0.195 0.003 173.15);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.014 173.818);
  --foreground: oklch(0.994 0.002 173.512);
  --muted: oklch(0.198 0.013 355.381);
  --muted-foreground: oklch(0.728 0.009 353.916);
  --popover: oklch(0.142 0.017 173.409);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.142 0.017 173.409);
  --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.193 0.001 173.468);
  --primary-foreground: oklch(0.75 0.002 173.496);
  --secondary: oklch(0.193 0.001 353.68);
  --secondary-foreground: oklch(0.748 0.002 353.652);
  --accent: oklch(0.193 0.001 353.68);
  --accent-foreground: oklch(0.748 0.002 353.652);
  --destructive: oklch(0.661 0.186 38.946);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.193 0.001 173.468);
  --chart-1: oklch(0.193 0.001 173.468);
  --chart-2: oklch(0.193 0.001 353.68);
  --chart-3: oklch(0.193 0.001 353.68);
  --chart-4: oklch(0.226 0.001 353.693);
  --chart-5: oklch(0.195 0.003 173.15);
}