joblance - 5 for shadcn/ui

joblance - 5 is a shadcn/ui theme built around a cyan primary color (#1d81af) with muted light cyan accents (#c7d1d6). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#1d81af) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#020608black
#f5f8fawhitesmoke
Card
#ffffffwhite
#000000black
Card foreground
#020608black
#f5f8fawhitesmoke
Popover
#ffffffwhite
#000000black
Popover foreground
#020608black
#f5f8fawhitesmoke
Primary
#1d81afsteelblue
#1d81afsteelblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#c7d1d6lightgrey
#23282adarkslategray
Secondary foreground
#2e383edarkslategray
#bac1c5silver
Muted
#dae6eclavender
#131f25black
Muted foreground
#424648darkslategray
#b7bbbdsilver
Accent
#c7d1d6lightgrey
#23282adarkslategray
Accent foreground
#2e383edarkslategray
#bac1c5silver
Destructive
#631803maroon
#f23a07orangered
Destructive foreground
#fcb19cburlywood
#ffffffwhite
Border
#e2e7e9lavender
#191d1fblack
Input
#e2e7e9lavender
#191d1fblack
Ring
#1d81afsteelblue
#1d81afsteelblue

Contrast

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

Light mode
Text on background20.34:1AAA
Text on card20.34:1AAA
Primary button4.36:1AA Large
Secondary button7.73:1AAA
Muted text7.51:1AAA
Accent7.73:1AAA
Destructive7.17:1AAA
Dark mode
Text on background19.68:1AAA
Text on card19.68:1AAA
Primary button4.36:1AA Large
Secondary button8.22:1AAA
Muted text8.65:1AAA
Accent8.22:1AAA
Destructive3.88:1AA Large

CSS variables

Paste this into your globals.css to use joblance - 5 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.118 0.014 220.132);
  --muted: oklch(0.918 0.015 227.068);
  --muted-foreground: oklch(0.391 0.006 227.044);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.118 0.014 220.132);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.118 0.014 220.132);
  --border: oklch(0.924 0.005 226.926);
  --input: oklch(0.924 0.005 226.926);
  --primary: oklch(0.57 0.112 234.802);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.855 0.013 227.042);
  --secondary-foreground: oklch(0.335 0.017 227.624);
  --accent: oklch(0.855 0.013 227.042);
  --accent-foreground: oklch(0.335 0.017 227.624);
  --destructive: oklch(0.333 0.111 35.49);
  --destructive-foreground: oklch(0.826 0.093 36.096);
  --ring: oklch(0.57 0.112 234.802);
  --chart-1: oklch(0.57 0.112 234.802);
  --chart-2: oklch(0.855 0.013 227.042);
  --chart-3: oklch(0.855 0.013 227.042);
  --chart-4: oklch(0.878 0.011 227.007);
  --chart-5: oklch(0.574 0.115 235.312);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.978 0.004 226.903);
  --muted: oklch(0.232 0.02 228.461);
  --muted-foreground: oklch(0.79 0.005 226.932);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.978 0.004 226.903);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.978 0.004 226.903);
  --border: oklch(0.228 0.008 227.342);
  --input: oklch(0.228 0.008 227.342);
  --primary: oklch(0.57 0.112 234.802);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.271 0.008 227.247);
  --secondary-foreground: oklch(0.807 0.01 227.013);
  --accent: oklch(0.271 0.008 227.247);
  --accent-foreground: oklch(0.807 0.01 227.013);
  --destructive: oklch(0.63 0.225 33.73);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.57 0.112 234.802);
  --chart-1: oklch(0.57 0.112 234.802);
  --chart-2: oklch(0.271 0.008 227.247);
  --chart-3: oklch(0.271 0.008 227.247);
  --chart-4: oklch(0.302 0.009 227.267);
  --chart-5: oklch(0.574 0.115 235.312);
}