Jumpy for shadcn/ui

Jumpy is a shadcn/ui theme built around a vivid light purple primary color (#f6a9f9) with muted light purple accents (#dbc1dc). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light purple primary (#f6a9f9) on a purple-tinted background (#0a050a).

Color palette

TokenLightDark
Background
#ffffffwhite
#0a050ablack
Foreground
#110212black
#fbf9fbsnow
Card
#ffffffwhite
#0a050ablack
Card foreground
#110212black
#fbf9fbsnow
Popover
#ffffffwhite
#0a050ablack
Popover foreground
#110212black
#fbf9fbsnow
Primary
#f6a9f9plum
#f6a9f9plum
Primary foreground
#660769purple
#660769purple
Secondary
#e6dbe6gainsboro
#191519black
Secondary foreground
#533b54darkslategray
#b7a9b7darkgray
Muted
#efebefwhitesmoke
#141014black
Muted foreground
#4b494bdarkslategray
#b6b4b6silver
Accent
#dbc1dcthistle
#352636darkslategray
Accent foreground
#442745darkslategray
#d0bdd0thistle
Destructive
#b73b06firebrick
#f8682atomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f6a9f9plum
#f6a9f9plum

Contrast

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

Light mode
Text on background20.16:1AAA
Text on card20.16:1AAA
Primary button6.66:1AA
Secondary button7.35:1AAA
Muted text7.56:1AAA
Accent7.81:1AAA
Destructive5.76:1AA
Dark mode
Text on background19.26:1AAA
Text on card19.26:1AAA
Primary button6.66:1AA
Secondary button8.06:1AAA
Muted text9.16:1AAA
Accent8.00:1AAA
Destructive7.02:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.136 0.046 326.622);
  --muted: oklch(0.945 0.007 324.667);
  --muted-foreground: oklch(0.408 0.003 324.666);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.136 0.046 326.622);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.136 0.046 326.622);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.835 0.136 325.577);
  --primary-foreground: oklch(0.363 0.162 326.645);
  --secondary: oklch(0.903 0.019 324.75);
  --secondary-foreground: oklch(0.388 0.053 325.438);
  --accent: oklch(0.841 0.047 324.966);
  --accent-foreground: oklch(0.321 0.064 325.773);
  --destructive: oklch(0.528 0.169 38.286);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.835 0.136 325.577);
  --chart-1: oklch(0.835 0.136 325.577);
  --chart-2: oklch(0.903 0.019 324.75);
  --chart-3: oklch(0.841 0.047 324.966);
  --chart-4: oklch(0.927 0.014 324.714);
  --chart-5: oklch(0.835 0.141 325.607);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.128 0.015 325.491);
  --foreground: oklch(0.984 0.004 324.642);
  --muted: oklch(0.179 0.011 324.997);
  --muted-foreground: oklch(0.773 0.003 324.64);
  --popover: oklch(0.128 0.015 325.491);
  --popover-foreground: oklch(0.984 0.004 324.642);
  --card: oklch(0.128 0.015 325.491);
  --card-foreground: oklch(0.984 0.004 324.642);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.835 0.136 325.577);
  --primary-foreground: oklch(0.363 0.162 326.645);
  --secondary: oklch(0.202 0.01 324.934);
  --secondary-foreground: oklch(0.75 0.025 324.831);
  --accent: oklch(0.293 0.035 325.335);
  --accent-foreground: oklch(0.821 0.033 324.872);
  --destructive: oklch(0.69 0.191 40.997);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.835 0.136 325.577);
  --chart-1: oklch(0.835 0.136 325.577);
  --chart-2: oklch(0.202 0.01 324.934);
  --chart-3: oklch(0.293 0.035 325.335);
  --chart-4: oklch(0.234 0.013 324.967);
  --chart-5: oklch(0.835 0.141 325.607);
}