Jumpy for shadcn/ui

Jumpy is a shadcn/ui theme built around a muted green primary color (#76a787) with muted orange accents (#a78776). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#76a787) on a neutral background (#020302).

Color palette

TokenLightDark
Background
#ffffffwhite
#020302black
Foreground
#020804black
#f6f9f7whitesmoke
Card
#ffffffwhite
#020302black
Card foreground
#020804black
#f6f9f7whitesmoke
Popover
#ffffffwhite
#020302black
Popover foreground
#020804black
#f6f9f7whitesmoke
Primary
#76a787darkseagreen
#76a787darkseagreen
Primary foreground
#000000black
#000000black
Secondary
#8776a7lightslategray
#8776a7lightslategray
Secondary foreground
#000000black
#000000black
Muted
#efeff1whitesmoke
#0f0e10black
Muted foreground
#423b4fdarkslategray
#b7b0c4silver
Accent
#a78776rosybrown
#a78776rosybrown
Accent foreground
#000000black
#000000black
Destructive
#66200amaroon
#df4516orangered
Destructive foreground
#f7bdablightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#76a787darkseagreen
#76a787darkseagreen

Contrast

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

Light mode
Text on background20.21:1AAA
Text on card20.21:1AAA
Primary button7.68:1AAA
Secondary button5.19:1AA
Muted text9.27:1AAA
Accent6.40:1AA
Destructive7.23:1AAA
Dark mode
Text on background19.45:1AAA
Text on card19.45:1AAA
Primary button7.68:1AAA
Secondary button5.19:1AA
Muted text9.16:1AAA
Accent6.40:1AA
Destructive4.20:1AA Large

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.123 0.019 157.689);
  --muted: oklch(0.952 0.003 302.172);
  --muted-foreground: oklch(0.366 0.036 300.647);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.123 0.019 157.689);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.123 0.019 157.689);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.686 0.071 155.572);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.601 0.076 300.181);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.65 0.047 49.813);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.35 0.106 36.559);
  --destructive-foreground: oklch(0.846 0.071 37.6);
  --ring: oklch(0.686 0.071 155.572);
  --chart-1: oklch(0.686 0.071 155.572);
  --chart-2: oklch(0.601 0.076 300.181);
  --chart-3: oklch(0.65 0.047 49.813);
  --chart-4: oklch(0.629 0.07 300.433);
  --chart-5: oklch(0.691 0.08 155.243);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.01 157.791);
  --foreground: oklch(0.979 0.004 157.896);
  --muted: oklch(0.167 0.004 301.846);
  --muted-foreground: oklch(0.769 0.03 301.599);
  --popover: oklch(0.096 0.01 157.791);
  --popover-foreground: oklch(0.979 0.004 157.896);
  --card: oklch(0.096 0.01 157.791);
  --card-foreground: oklch(0.979 0.004 157.896);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.686 0.071 155.572);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.601 0.076 300.181);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.65 0.047 49.813);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.606 0.198 35.764);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.686 0.071 155.572);
  --chart-1: oklch(0.686 0.071 155.572);
  --chart-2: oklch(0.601 0.076 300.181);
  --chart-3: oklch(0.65 0.047 49.813);
  --chart-4: oklch(0.629 0.07 300.433);
  --chart-5: oklch(0.691 0.08 155.243);
}