Jumpy for shadcn/ui

Jumpy is a shadcn/ui theme built around a muted orange primary color (#8d7858) with muted green accents (#888d58). The light mode uses a neutral background (#fdfaf7). Dark mode keeps the muted orange primary (#8d7858) on an orange-tinted background (#0b0805).

Color palette

TokenLightDark
Background
#fdfaf7snow
#0b0805black
Foreground
#080602black
#faf8f5whitesmoke
Card
#fdfaf7snow
#0b0805black
Card foreground
#080602black
#faf8f5whitesmoke
Popover
#fdfaf7snow
#0b0805black
Popover foreground
#080602black
#faf8f5whitesmoke
Primary
#8d7858dimgray
#8d7858dimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#8d5e58dimgray
#8d5e58dimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ecdcdagainsboro
#251513black
Muted foreground
#585150dimgray
#afa7a7darkgray
Accent
#888d58gray
#888d58gray
Accent foreground
#000000black
#000000black
Destructive
#d92b0dfirebrick
#ec2f0eorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8d7858dimgray
#8d7858dimgray

Contrast

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

Light mode
Text on background19.51:1AAA
Text on card19.51:1AAA
Primary button4.22:1AA Large
Secondary button5.43:1AA
Muted text5.83:1AA
Accent6.00:1AA
Destructive4.88:1AA
Dark mode
Text on background18.84:1AAA
Text on card18.84:1AAA
Primary button4.22:1AA Large
Secondary button5.43:1AA
Muted text7.45:1AAA
Accent6.00:1AA
Destructive4.21: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.987 0.005 78.297);
  --foreground: oklch(0.122 0.013 85.066);
  --muted: oklch(0.907 0.017 25.156);
  --muted-foreground: oklch(0.441 0.01 25.192);
  --popover: oklch(0.987 0.005 78.297);
  --popover-foreground: oklch(0.122 0.013 85.066);
  --card: oklch(0.987 0.005 78.297);
  --card-foreground: oklch(0.122 0.013 85.066);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.584 0.052 77.532);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.53 0.063 26.399);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.626 0.074 113.187);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.573 0.212 31.833);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.584 0.052 77.532);
  --chart-1: oklch(0.584 0.052 77.532);
  --chart-2: oklch(0.53 0.063 26.399);
  --chart-3: oklch(0.626 0.074 113.187);
  --chart-4: oklch(0.555 0.067 26.412);
  --chart-5: oklch(0.589 0.059 77.34);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.137 0.01 83.02);
  --foreground: oklch(0.979 0.005 78.298);
  --muted: oklch(0.217 0.026 26.415);
  --muted-foreground: oklch(0.736 0.009 25.091);
  --popover: oklch(0.137 0.01 83.02);
  --popover-foreground: oklch(0.979 0.005 78.298);
  --card: oklch(0.137 0.01 83.02);
  --card-foreground: oklch(0.979 0.005 78.298);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.584 0.052 77.532);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.53 0.063 26.399);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.626 0.074 113.187);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.611 0.226 31.789);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.584 0.052 77.532);
  --chart-1: oklch(0.584 0.052 77.532);
  --chart-2: oklch(0.53 0.063 26.399);
  --chart-3: oklch(0.626 0.074 113.187);
  --chart-4: oklch(0.555 0.067 26.412);
  --chart-5: oklch(0.589 0.059 77.34);
}