Jumpy for shadcn/ui

Jumpy is a shadcn/ui theme built around a near-black primary color (#030109) with near-black accents (#070109). The light mode uses a neutral background (#f9f8fb). Dark mode keeps the near-black primary (#030109) on an indigo-tinted background (#06050b).

Color palette

TokenLightDark
Background
#f9f8fbghostwhite
#06050bblack
Foreground
#090613black
#f6f4fawhitesmoke
Card
#f9f8fbghostwhite
#06050bblack
Card foreground
#090613black
#f6f4fawhitesmoke
Popover
#f9f8fbghostwhite
#06050bblack
Popover foreground
#090613black
#f6f4fawhitesmoke
Primary
#030109black
#030109black
Primary foreground
#beadf5lightsteelblue
#beadf5lightsteelblue
Secondary
#010309black
#010309black
Secondary foreground
#adc0f5lightsteelblue
#adc0f5lightsteelblue
Muted
#d2d8e9gainsboro
#161c2dblack
Muted foreground
#525660dimgray
#9fa2addarkgray
Accent
#070109black
#070109black
Accent foreground
#e2adf5plum
#e2adf5plum
Destructive
#d64b0achocolate
#e04e0borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#030109black
#030109black

Contrast

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

Light mode
Text on background19.00:1AAA
Text on card19.00:1AAA
Primary button10.35:1AAA
Secondary button11.41:1AAA
Muted text5.17:1AA
Accent11.32:1AAA
Destructive4.30:1AA Large
Dark mode
Text on background18.63:1AAA
Text on card18.63:1AAA
Primary button10.35:1AAA
Secondary button11.41:1AAA
Muted text6.68:1AA
Accent11.32:1AAA
Destructive3.98: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.982 0.004 297.001);
  --foreground: oklch(0.138 0.029 294.295);
  --muted: oklch(0.884 0.024 269.876);
  --muted-foreground: oklch(0.453 0.018 269.758);
  --popover: oklch(0.982 0.004 297.001);
  --popover-foreground: oklch(0.138 0.029 294.295);
  --card: oklch(0.982 0.004 297.001);
  --card-foreground: oklch(0.138 0.029 294.295);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.089 0.032 296.112);
  --primary-foreground: oklch(0.787 0.103 294.63);
  --secondary: oklch(0.099 0.022 258.06);
  --secondary-foreground: oklch(0.812 0.078 269.081);
  --accent: oklch(0.1 0.034 320.034);
  --accent-foreground: oklch(0.82 0.114 316.854);
  --destructive: oklch(0.598 0.186 39.425);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.089 0.032 296.112);
  --chart-1: oklch(0.089 0.032 296.112);
  --chart-2: oklch(0.099 0.022 258.06);
  --chart-3: oklch(0.1 0.034 320.034);
  --chart-4: oklch(0.137 0.035 261.517);
  --chart-5: oklch(0.087 0.033 296.041);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.119 0.017 296.704);
  --foreground: oklch(0.971 0.008 296.934);
  --muted: oklch(0.228 0.034 268.328);
  --muted-foreground: oklch(0.714 0.016 269.928);
  --popover: oklch(0.119 0.017 296.704);
  --popover-foreground: oklch(0.971 0.008 296.934);
  --card: oklch(0.119 0.017 296.704);
  --card-foreground: oklch(0.971 0.008 296.934);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.089 0.032 296.112);
  --primary-foreground: oklch(0.787 0.103 294.63);
  --secondary: oklch(0.099 0.022 258.06);
  --secondary-foreground: oklch(0.812 0.078 269.081);
  --accent: oklch(0.1 0.034 320.034);
  --accent-foreground: oklch(0.82 0.114 316.854);
  --destructive: oklch(0.618 0.193 39.351);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.089 0.032 296.112);
  --chart-1: oklch(0.089 0.032 296.112);
  --chart-2: oklch(0.099 0.022 258.06);
  --chart-3: oklch(0.1 0.034 320.034);
  --chart-4: oklch(0.137 0.035 261.517);
  --chart-5: oklch(0.087 0.033 296.041);
}