Junior for shadcn/ui

Junior is a shadcn/ui theme built around a vivid deep pink primary color (#180209) with muted light pink accents (#dbc7ce). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the vivid deep pink primary (#180209) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcf8f9snow
#000000black
Foreground
#000000black
#fdfcfcsnow
Card
#faf5f7whitesmoke
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#fcf8f9snow
#000000black
Popover foreground
#000000black
#fdfcfcsnow
Primary
#180209black
#180209black
Primary foreground
#f3588epalevioletred
#f3588epalevioletred
Secondary
#e5dcdfgainsboro
#271c1fblack
Secondary foreground
#513d44darkslategray
#c6aeb7silver
Muted
#eedde3mistyrose
#221117black
Muted foreground
#575757dimgray
#a8a8a8darkgray
Accent
#dbc7cethistle
#3f272fdarkslategray
Accent foreground
#442c34darkslategray
#d8c0c8thistle
Destructive
#9c3407saddlebrown
#e54c0borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#180209black
#180209black

Contrast

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

Light mode
Text on background19.93:1AAA
Text on card19.41:1AAA
Primary button6.28:1AA
Secondary button7.44:1AAA
Muted text5.52:1AA
Accent7.90:1AAA
Destructive7.23:1AAA
Dark mode
Text on background20.50:1AAA
Text on card20.67:1AAA
Primary button6.28:1AA
Secondary button8.00:1AAA
Muted text7.61:1AAA
Accent7.95:1AAA
Destructive3.90:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.004 353.699);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.912 0.021 354.234);
  --muted-foreground: oklch(0.456 0 180);
  --popover: oklch(0.982 0.004 353.699);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.974 0.006 353.763);
  --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.142 0.048 357.794);
  --primary-foreground: oklch(0.68 0.195 2.21);
  --secondary: oklch(0.902 0.01 353.897);
  --secondary-foreground: oklch(0.386 0.03 355.71);
  --accent: oklch(0.848 0.024 354.39);
  --accent-foreground: oklch(0.325 0.039 356.826);
  --destructive: oklch(0.472 0.147 38.991);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.142 0.048 357.794);
  --chart-1: oklch(0.142 0.048 357.794);
  --chart-2: oklch(0.902 0.01 353.897);
  --chart-3: oklch(0.848 0.024 354.39);
  --chart-4: oklch(0.927 0.008 353.808);
  --chart-5: oklch(0.141 0.05 357.871);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.991 0.002 353.627);
  --muted: oklch(0.204 0.032 357.797);
  --muted-foreground: oklch(0.733 0 180);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.991 0.002 353.627);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.142 0.048 357.794);
  --primary-foreground: oklch(0.68 0.195 2.21);
  --secondary: oklch(0.24 0.019 355.755);
  --secondary-foreground: oklch(0.775 0.029 354.631);
  --accent: oklch(0.306 0.037 356.91);
  --accent-foreground: oklch(0.831 0.029 354.546);
  --destructive: oklch(0.624 0.199 38.291);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.142 0.048 357.794);
  --chart-1: oklch(0.142 0.048 357.794);
  --chart-2: oklch(0.24 0.019 355.755);
  --chart-3: oklch(0.306 0.037 356.91);
  --chart-4: oklch(0.27 0.023 355.887);
  --chart-5: oklch(0.141 0.05 357.871);
}