Jumpy for shadcn/ui

Jumpy is a shadcn/ui theme built around a muted indigo primary color (#ada6c9) with muted green accents (#a6c9ad). The light mode uses a neutral background (#f9f8fc). Dark mode keeps the muted indigo primary (#ada6c9) on a neutral background (#040307).

Color palette

TokenLightDark
Background
#f9f8fcghostwhite
#040307black
Foreground
#060311black
#f6f5fawhitesmoke
Card
#f6f5fawhitesmoke
#06040bblack
Card foreground
#04020dblack
#f9f8fcghostwhite
Popover
#f9f8fcghostwhite
#040307black
Popover foreground
#060311black
#f6f5fawhitesmoke
Primary
#ada6c9darkgray
#ada6c9darkgray
Primary foreground
#1a1726black
#1a1726black
Secondary
#c9ada6tan
#c9ada6tan
Secondary foreground
#261a17black
#261a17black
Muted
#f1e3dfmistyrose
#20120eblack
Muted foreground
#564f4edarkslategray
#b1aba9darkgray
Accent
#a6c9addarkgray
#a6c9addarkgray
Accent foreground
#17261ablack
#17261ablack
Destructive
#c5190dfirebrick
#f13022orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ada6c9darkgray
#ada6c9darkgray

Contrast

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

Light mode
Text on background19.29:1AAA
Text on card18.91:1AAA
Primary button7.62:1AAA
Secondary button8.07:1AAA
Muted text6.38:1AA
Accent8.70:1AAA
Destructive5.99:1AA
Dark mode
Text on background18.98:1AAA
Text on card19.28:1AAA
Primary button7.62:1AAA
Secondary button8.07:1AAA
Muted text8.04:1AAA
Accent8.70:1AAA
Destructive4.04:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.005 295.484);
  --foreground: oklch(0.118 0.036 292.727);
  --muted: oklch(0.925 0.016 34.297);
  --muted-foreground: oklch(0.434 0.009 34.297);
  --popover: oklch(0.981 0.005 295.484);
  --popover-foreground: oklch(0.118 0.036 292.727);
  --card: oklch(0.971 0.008 295.435);
  --card-foreground: oklch(0.106 0.031 293.85);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.744 0.049 294.338);
  --primary-foreground: oklch(0.217 0.029 293.02);
  --secondary: oklch(0.771 0.033 34.32);
  --secondary-foreground: oklch(0.232 0.02 34.454);
  --accent: oklch(0.802 0.053 150.967);
  --accent-foreground: oklch(0.251 0.03 150.036);
  --destructive: oklch(0.525 0.204 29.737);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.744 0.049 294.338);
  --chart-1: oklch(0.744 0.049 294.338);
  --chart-2: oklch(0.771 0.033 34.32);
  --chart-3: oklch(0.802 0.053 150.967);
  --chart-4: oklch(0.796 0.03 34.31);
  --chart-5: oklch(0.739 0.056 294.167);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.101 0.017 294.812);
  --foreground: oklch(0.972 0.007 295.454);
  --muted: oklch(0.199 0.025 34.668);
  --muted-foreground: oklch(0.746 0.008 34.302);
  --popover: oklch(0.101 0.017 294.812);
  --popover-foreground: oklch(0.972 0.007 295.454);
  --card: oklch(0.116 0.02 294.752);
  --card-foreground: oklch(0.981 0.004 295.497);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.744 0.049 294.338);
  --primary-foreground: oklch(0.217 0.029 293.02);
  --secondary: oklch(0.771 0.033 34.32);
  --secondary-foreground: oklch(0.232 0.02 34.454);
  --accent: oklch(0.802 0.053 150.967);
  --accent-foreground: oklch(0.251 0.03 150.036);
  --destructive: oklch(0.621 0.228 29.443);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.744 0.049 294.338);
  --chart-1: oklch(0.744 0.049 294.338);
  --chart-2: oklch(0.771 0.033 34.32);
  --chart-3: oklch(0.802 0.053 150.967);
  --chart-4: oklch(0.796 0.03 34.31);
  --chart-5: oklch(0.739 0.056 294.167);
}