Junior for shadcn/ui

Junior is a shadcn/ui theme built around a vivid deep pink primary color (#420524) with vivid deep teal accents (#054224). The light mode uses a neutral background (#fdf7fa). Dark mode keeps the vivid deep pink primary (#420524) on a neutral background (#030203).

Color palette

TokenLightDark
Background
#fdf7fasnow
#030203black
Foreground
#000000black
#ffffffwhite
Card
#fcf3f7lavenderblush
#070405black
Card foreground
#000000black
#ffffffwhite
Popover
#fcf3f7lavenderblush
#070405black
Popover foreground
#000000black
#ffffffwhite
Primary
#420524maroon
#420524maroon
Primary foreground
#f584bdhotpink
#f584bdhotpink
Secondary
#054224darkgreen
#054224darkgreen
Secondary foreground
#26ed8amediumspringgreen
#26ed8amediumspringgreen
Muted
#d9ede3gainsboro
#12261cblack
Muted foreground
#444b47darkslategray
#b4bbb8silver
Accent
#054224darkgreen
#054224darkgreen
Accent foreground
#26ed8amediumspringgreen
#26ed8amediumspringgreen
Destructive
#711805maroon
#eb330aorangered
Destructive foreground
#fcbaaclightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#420524maroon
#420524maroon

Contrast

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

Light mode
Text on background19.83:1AAA
Text on card19.26:1AAA
Primary button6.96:1AA
Secondary button7.48:1AAA
Muted text7.32:1AAA
Accent7.48:1AAA
Destructive6.95:1AA
Dark mode
Text on background20.72:1AAA
Text on card20.46:1AAA
Primary button6.96:1AA
Secondary button7.48:1AAA
Muted text8.12:1AAA
Accent7.48:1AAA
Destructive4.18: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.981 0.008 345.35);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.928 0.025 164.411);
  --muted-foreground: oklch(0.405 0.011 164.413);
  --popover: oklch(0.972 0.012 345.456);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.972 0.012 345.456);
  --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.254 0.094 356.214);
  --primary-foreground: oklch(0.755 0.151 350.018);
  --secondary: oklch(0.335 0.079 155.001);
  --secondary-foreground: oklch(0.834 0.202 154.206);
  --accent: oklch(0.335 0.079 155.001);
  --accent-foreground: oklch(0.834 0.202 154.206);
  --destructive: oklch(0.361 0.125 33.641);
  --destructive-foreground: oklch(0.846 0.079 32.986);
  --ring: oklch(0.254 0.094 356.214);
  --chart-1: oklch(0.254 0.094 356.214);
  --chart-2: oklch(0.335 0.079 155.001);
  --chart-3: oklch(0.335 0.079 155.001);
  --chart-4: oklch(0.381 0.092 154.464);
  --chart-5: oklch(0.255 0.097 356.578);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.088 0.008 345.05);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.248 0.033 160.943);
  --muted-foreground: oklch(0.786 0.009 164.828);
  --popover: oklch(0.111 0.01 345.05);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.111 0.01 345.05);
  --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.254 0.094 356.214);
  --primary-foreground: oklch(0.755 0.151 350.018);
  --secondary: oklch(0.335 0.079 155.001);
  --secondary-foreground: oklch(0.834 0.202 154.206);
  --accent: oklch(0.335 0.079 155.001);
  --accent-foreground: oklch(0.834 0.202 154.206);
  --destructive: oklch(0.611 0.223 32.69);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.254 0.094 356.214);
  --chart-1: oklch(0.254 0.094 356.214);
  --chart-2: oklch(0.335 0.079 155.001);
  --chart-3: oklch(0.335 0.079 155.001);
  --chart-4: oklch(0.381 0.092 154.464);
  --chart-5: oklch(0.255 0.097 356.578);
}