Junior for shadcn/ui

Junior is a shadcn/ui theme built around a pink primary color (#ba4a95) with red accents (#ba4a5d). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#ba4a95) on a pink-tinted background (#0a0509).

Color palette

TokenLightDark
Background
#ffffffwhite
#0a0509black
Foreground
#090206black
#fbf8fasnow
Card
#ffffffwhite
#0a0509black
Card foreground
#090206black
#fbf8fasnow
Popover
#ffffffwhite
#0a0509black
Popover foreground
#090206black
#fbf8fasnow
Primary
#ba4a95palevioletred
#ba4a95palevioletred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#a84abamediumorchid
#a84abamediumorchid
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#eee6eflavender
#171019black
Muted foreground
#463d48darkslategray
#c0b7c2silver
Accent
#ba4a5dindianred
#ba4a5dindianred
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#8d150cdarkred
#ed3d31crimson
Destructive foreground
#fbd3d0pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ba4a95palevioletred
#ba4a95palevioletred

Contrast

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

Light mode
Text on background20.52:1AAA
Text on card20.52:1AAA
Primary button4.66:1AA
Secondary button4.83:1AA
Muted text8.50:1AAA
Accent4.96:1AA
Destructive6.84:1AA
Dark mode
Text on background19.16:1AAA
Text on card19.16:1AAA
Primary button4.66:1AA
Secondary button4.83:1AA
Muted text9.59:1AAA
Accent4.96:1AA
Destructive3.95:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.105 0.027 337.759);
  --muted: oklch(0.934 0.014 320.555);
  --muted-foreground: oklch(0.373 0.021 320.618);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.105 0.027 337.759);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.105 0.027 337.759);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.581 0.168 342.78);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.574 0.187 320.658);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.563 0.146 12.949);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.414 0.155 29.574);
  --destructive-foreground: oklch(0.9 0.045 22.843);
  --ring: oklch(0.581 0.168 342.78);
  --chart-1: oklch(0.581 0.168 342.78);
  --chart-2: oklch(0.574 0.187 320.658);
  --chart-3: oklch(0.563 0.146 12.949);
  --chart-4: oklch(0.598 0.177 320.714);
  --chart-5: oklch(0.583 0.177 343.131);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.127 0.015 337.5);
  --foreground: oklch(0.983 0.004 337.351);
  --muted: oklch(0.187 0.021 320.692);
  --muted-foreground: oklch(0.791 0.018 320.566);
  --popover: oklch(0.127 0.015 337.5);
  --popover-foreground: oklch(0.983 0.004 337.351);
  --card: oklch(0.127 0.015 337.5);
  --card-foreground: oklch(0.983 0.004 337.351);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.581 0.168 342.78);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.574 0.187 320.658);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.563 0.146 12.949);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.625 0.214 28.902);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.581 0.168 342.78);
  --chart-1: oklch(0.581 0.168 342.78);
  --chart-2: oklch(0.574 0.187 320.658);
  --chart-3: oklch(0.563 0.146 12.949);
  --chart-4: oklch(0.598 0.177 320.714);
  --chart-5: oklch(0.583 0.177 343.131);
}