Jumpy for shadcn/ui

Jumpy is a shadcn/ui theme built around a light green primary color (#ebf1e4) with light green accents (#e4f1e4). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#ebf1e4) on a neutral background (#030401).

Color palette

TokenLightDark
Background
#ffffffwhite
#030401black
Foreground
#030401black
#fafbf9snow
Card
#fcfcfcsnow
#050802black
Card foreground
#000000black
#fcfdfcwhite
Popover
#fcfcfcsnow
#050802black
Popover foreground
#000000black
#fcfdfcwhite
Primary
#ebf1e4beige
#ebf1e4beige
Primary foreground
#1f2815black
#1f2815black
Secondary
#f1f1e4linen
#f1f1e4linen
Secondary foreground
#282815black
#282815black
Muted
#e2e2cfgainsboro
#30301ddarkslategray
Muted foreground
#545440darkolivegreen
#bfbfabsilver
Accent
#e4f1e4beige
#e4f1e4beige
Accent foreground
#152815black
#152815black
Destructive
#bd490fchocolate
#ef793ecoral
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ebf1e4beige
#ebf1e4beige

Contrast

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

Light mode
Text on background20.55:1AAA
Text on card20.54:1AAA
Primary button13.27:1AAA
Secondary button13.12:1AAA
Muted text5.90:1AA
Accent13.37:1AAA
Destructive5.09:1AA
Dark mode
Text on background19.81:1AAA
Text on card19.75:1AAA
Primary button13.27:1AAA
Secondary button13.12:1AAA
Muted text7.20:1AAA
Accent13.37:1AAA
Destructive7.47: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.102 0.018 127.186);
  --muted: oklch(0.909 0.026 106.897);
  --muted-foreground: oklch(0.439 0.03 107.581);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.95 0.018 128.674);
  --primary-foreground: oklch(0.262 0.036 130.182);
  --secondary: oklch(0.954 0.017 106.712);
  --secondary-foreground: oklch(0.272 0.032 108.366);
  --accent: oklch(0.945 0.021 145.403);
  --accent-foreground: oklch(0.255 0.043 144.185);
  --destructive: oklch(0.555 0.161 41.725);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.95 0.018 128.674);
  --chart-1: oklch(0.95 0.018 128.674);
  --chart-2: oklch(0.954 0.017 106.712);
  --chart-3: oklch(0.945 0.021 145.403);
  --chart-4: oklch(0.972 0.01 106.592);
  --chart-5: oklch(0.951 0.02 128.694);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.101 0.016 127.31);
  --foreground: oklch(0.986 0.002 128.488);
  --muted: oklch(0.303 0.032 108.169);
  --muted-foreground: oklch(0.798 0.026 106.984);
  --popover: oklch(0.127 0.02 127.31);
  --popover-foreground: oklch(0.993 0.001 128.474);
  --card: oklch(0.127 0.02 127.31);
  --card-foreground: oklch(0.993 0.001 128.474);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.95 0.018 128.674);
  --primary-foreground: oklch(0.262 0.036 130.182);
  --secondary: oklch(0.954 0.017 106.712);
  --secondary-foreground: oklch(0.272 0.032 108.366);
  --accent: oklch(0.945 0.021 145.403);
  --accent-foreground: oklch(0.255 0.043 144.185);
  --destructive: oklch(0.702 0.163 45.072);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.95 0.018 128.674);
  --chart-1: oklch(0.95 0.018 128.674);
  --chart-2: oklch(0.954 0.017 106.712);
  --chart-3: oklch(0.945 0.021 145.403);
  --chart-4: oklch(0.972 0.01 106.592);
  --chart-5: oklch(0.951 0.02 128.694);
}