joblance - 4 for shadcn/ui

joblance - 4 is a shadcn/ui theme built around a cyan primary color (#1d81af) with neutral gray accents (#cecfcf). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#1d81af) on a cyan-tinted background (#05090b).

Color palette

TokenLightDark
Background
#ffffffwhite
#05090bblack
Foreground
#050c10black
#f9fafbghostwhite
Card
#ffffffwhite
#05090bblack
Card foreground
#050c10black
#f9fafbghostwhite
Popover
#ffffffwhite
#05090bblack
Popover foreground
#050c10black
#f9fafbghostwhite
Primary
#1d81afsteelblue
#1d81afsteelblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#cecfcflightgrey
#2c2f30darkslategray
Secondary foreground
#353636darkslategray
#c4c8casilver
Muted
#f1f3f3whitesmoke
#0c0d0eblack
Muted foreground
#4d5356darkslategray
#a9afb2darkgray
Accent
#cecfcflightgrey
#2c2f30darkslategray
Accent foreground
#353636darkslategray
#c4c8casilver
Destructive
#7a1705maroon
#f53a19orangered
Destructive foreground
#fcc0b6lightpink
#ffffffwhite
Border
#e6e9ealavender
#191d1fblack
Input
#e6e9ealavender
#191d1fblack
Ring
#1d81afsteelblue
#1d81afsteelblue

Contrast

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

Light mode
Text on background19.69:1AAA
Text on card19.69:1AAA
Primary button4.36:1AA Large
Secondary button7.75:1AAA
Muted text7.00:1AAA
Accent7.75:1AAA
Destructive6.82:1AA
Dark mode
Text on background19.16:1AAA
Text on card19.16:1AAA
Primary button4.36:1AA Large
Secondary button8.03:1AAA
Muted text8.76:1AAA
Accent8.03:1AAA
Destructive3.80:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.148 0.015 225.41);
  --muted: oklch(0.962 0.002 226.882);
  --muted-foreground: oklch(0.439 0.01 227.153);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.148 0.015 225.41);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.148 0.015 225.41);
  --border: oklch(0.932 0.004 226.908);
  --input: oklch(0.932 0.004 226.908);
  --primary: oklch(0.57 0.112 234.802);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.853 0.001 226.869);
  --secondary-foreground: oklch(0.331 0.001 226.9);
  --accent: oklch(0.853 0.001 226.869);
  --accent-foreground: oklch(0.331 0.001 226.9);
  --destructive: oklch(0.379 0.137 32.23);
  --destructive-foreground: oklch(0.859 0.071 29.99);
  --ring: oklch(0.57 0.112 234.802);
  --chart-1: oklch(0.57 0.112 234.802);
  --chart-2: oklch(0.853 0.001 226.869);
  --chart-3: oklch(0.853 0.001 226.869);
  --chart-4: oklch(0.877 0.001 226.867);
  --chart-5: oklch(0.574 0.115 235.312);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.134 0.01 222.648);
  --foreground: oklch(0.985 0.001 226.872);
  --muted: oklch(0.158 0.003 227.102);
  --muted-foreground: oklch(0.75 0.009 227.003);
  --popover: oklch(0.134 0.01 222.648);
  --popover-foreground: oklch(0.985 0.001 226.872);
  --card: oklch(0.134 0.01 222.648);
  --card-foreground: oklch(0.985 0.001 226.872);
  --border: oklch(0.228 0.007 227.252);
  --input: oklch(0.228 0.007 227.252);
  --primary: oklch(0.57 0.112 234.802);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.302 0.005 227.074);
  --secondary-foreground: oklch(0.83 0.005 226.929);
  --accent: oklch(0.302 0.005 227.074);
  --accent-foreground: oklch(0.83 0.005 226.929);
  --destructive: oklch(0.635 0.227 32.114);
  --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.302 0.005 227.074);
  --chart-3: oklch(0.302 0.005 227.074);
  --chart-4: oklch(0.332 0.006 227.082);
  --chart-5: oklch(0.574 0.115 235.312);
}