Jam-packed for shadcn/ui

Jam-packed is a shadcn/ui theme built around an indigo primary color (#2020d9) with neutral gray accents (#dddddf). The light mode uses a neutral background (#ffffff). Dark mode keeps the indigo primary (#2020d9) on a neutral background (#010104).

Color palette

TokenLightDark
Background
#ffffffwhite
#010104black
Foreground
#02020dblack
#f8f8fbghostwhite
Card
#ffffffwhite
#010104black
Card foreground
#02020dblack
#f8f8fbghostwhite
Popover
#ffffffwhite
#010104black
Popover foreground
#02020dblack
#f8f8fbghostwhite
Primary
#2020d9mediumblue
#2020d9mediumblue
Primary foreground
#cecef8lavender
#cecef8lavender
Secondary
#dddddfgainsboro
#21212cdarkslategray
Secondary foreground
#434346darkslategray
#b6b6c9silver
Muted
#dedee8gainsboro
#171721black
Muted foreground
#4e4e65darkslategray
#9a9ab1darkgray
Accent
#dddddfgainsboro
#21212cdarkslategray
Accent foreground
#434346darkslategray
#b6b6c9silver
Destructive
#79250csaddlebrown
#eb5e33tomato
Destructive foreground
#f9ccbepeachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2020d9mediumblue
#2020d9mediumblue

Contrast

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

Light mode
Text on background20.64:1AAA
Text on card20.64:1AAA
Primary button6.05:1AA
Secondary button7.27:1AAA
Muted text6.02:1AA
Accent7.27:1AAA
Destructive6.92:1AA
Dark mode
Text on background19.63:1AAA
Text on card19.63:1AAA
Primary button6.05:1AA
Secondary button8.02:1AAA
Muted text6.47:1AA
Accent8.02:1AAA
Destructive6.16:1AA

CSS variables

Paste this into your globals.css to use Jam-packed in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.096 0.036 277.365);
  --muted: oklch(0.903 0.014 286.107);
  --muted-foreground: oklch(0.432 0.038 284.692);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.096 0.036 277.365);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.096 0.036 277.365);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.427 0.259 268.149);
  --primary-foreground: oklch(0.865 0.057 285.142);
  --secondary: oklch(0.898 0.002 286.364);
  --secondary-foreground: oklch(0.386 0.005 286.182);
  --accent: oklch(0.898 0.002 286.364);
  --accent-foreground: oklch(0.386 0.005 286.182);
  --destructive: oklch(0.392 0.121 36.371);
  --destructive-foreground: oklch(0.879 0.055 37.592);
  --ring: oklch(0.427 0.259 268.149);
  --chart-1: oklch(0.427 0.259 268.149);
  --chart-2: oklch(0.898 0.002 286.364);
  --chart-3: oklch(0.898 0.002 286.364);
  --chart-4: oklch(0.922 0.001 286.373);
  --chart-5: oklch(0.428 0.266 267.405);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.077 0.015 282.35);
  --foreground: oklch(0.981 0.004 286.33);
  --muted: oklch(0.209 0.021 284.432);
  --muted-foreground: oklch(0.694 0.034 285.488);
  --popover: oklch(0.077 0.015 282.35);
  --popover-foreground: oklch(0.981 0.004 286.33);
  --card: oklch(0.077 0.015 282.35);
  --card-foreground: oklch(0.981 0.004 286.33);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.427 0.259 268.149);
  --primary-foreground: oklch(0.865 0.057 285.142);
  --secondary: oklch(0.251 0.022 284.738);
  --secondary-foreground: oklch(0.781 0.027 285.76);
  --accent: oklch(0.251 0.022 284.738);
  --accent-foreground: oklch(0.781 0.027 285.76);
  --destructive: oklch(0.657 0.184 37.082);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.427 0.259 268.149);
  --chart-1: oklch(0.427 0.259 268.149);
  --chart-2: oklch(0.251 0.022 284.738);
  --chart-3: oklch(0.251 0.022 284.738);
  --chart-4: oklch(0.279 0.025 284.647);
  --chart-5: oklch(0.428 0.266 267.405);
}