Junior for shadcn/ui

Junior is a shadcn/ui theme built around a teal primary color (#77b6b2) with blue accents (#779bb6). The light mode uses a neutral background (#fbfdfd). Dark mode keeps the teal primary (#77b6b2) on a teal-tinted background (#070e0d).

Color palette

TokenLightDark
Background
#fbfdfdwhite
#070e0dblack
Foreground
#010404black
#ffffffwhite
Card
#f8fcfcmintcream
#081111black
Card foreground
#000000black
#ffffffwhite
Popover
#f8fcfcmintcream
#081111black
Popover foreground
#000000black
#ffffffwhite
Primary
#77b6b2mediumaquamarine
#77b6b2mediumaquamarine
Primary foreground
#000000black
#000000black
Secondary
#77b692darkseagreen
#77b692darkseagreen
Secondary foreground
#000000black
#000000black
Muted
#dae2ddgainsboro
#1d2521black
Muted foreground
#4e6558dimgray
#9ab1a4darkgray
Accent
#779bb6cadetblue
#779bb6cadetblue
Accent foreground
#000000black
#000000black
Destructive
#a22d07firebrick
#f0430aorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#77b6b2mediumaquamarine
#77b6b2mediumaquamarine

Contrast

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

Light mode
Text on background20.23:1AAA
Text on card20.30:1AAA
Primary button9.10:1AAA
Secondary button8.87:1AAA
Muted text4.78:1AA
Accent7.12:1AAA
Destructive7.21:1AAA
Dark mode
Text on background19.50:1AAA
Text on card19.07:1AAA
Primary button9.10:1AAA
Secondary button8.87:1AAA
Muted text6.84:1AA
Accent7.12:1AAA
Destructive3.80: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.994 0.002 192.381);
  --foreground: oklch(0.099 0.01 191.467);
  --muted: oklch(0.905 0.011 161.503);
  --muted-foreground: oklch(0.483 0.035 159.928);
  --popover: oklch(0.988 0.004 192.335);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.004 192.335);
  --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.732 0.065 190.513);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.723 0.083 158.615);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.672 0.056 241.583);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.475 0.158 35.999);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.732 0.065 190.513);
  --chart-1: oklch(0.732 0.065 190.513);
  --chart-2: oklch(0.723 0.083 158.615);
  --chart-3: oklch(0.672 0.056 241.583);
  --chart-4: oklch(0.743 0.077 158.98);
  --chart-5: oklch(0.739 0.07 190.354);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.155 0.012 191.053);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.256 0.015 160.28);
  --muted-foreground: oklch(0.74 0.032 160.73);
  --popover: oklch(0.17 0.014 190.72);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.17 0.014 190.72);
  --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.732 0.065 190.513);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.723 0.083 158.615);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.672 0.056 241.583);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.633 0.216 35.412);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.732 0.065 190.513);
  --chart-1: oklch(0.732 0.065 190.513);
  --chart-2: oklch(0.723 0.083 158.615);
  --chart-3: oklch(0.672 0.056 241.583);
  --chart-4: oklch(0.743 0.077 158.98);
  --chart-5: oklch(0.739 0.07 190.354);
}