joblance - 3 for shadcn/ui

joblance - 3 is a shadcn/ui theme built around a vivid deep blue primary color (#00438f) with muted light blue accents (#d0d6dd). The light mode uses a neutral background (#f6fafd). Dark mode keeps the vivid deep blue primary (#00438f) on a neutral background (#030507).

Color palette

TokenLightDark
Background
#f6fafdghostwhite
#030507black
Foreground
#010204black
#f8fafbghostwhite
Card
#f2f7fcaliceblue
#04070bblack
Card foreground
#000000black
#fcfcfdwhite
Popover
#f6fafdghostwhite
#030507black
Popover foreground
#010204black
#f8fafbghostwhite
Primary
#00438fmidnightblue
#00438fmidnightblue
Primary foreground
#c2deffpaleturquoise
#c2deffpaleturquoise
Secondary
#d0d6ddlightgrey
#191e24black
Secondary foreground
#333d47darkslategray
#abb7c4silver
Muted
#e9edf1lavender
#0e1216black
Muted foreground
#4c5157darkslategray
#a8adb3darkgray
Accent
#d0d6ddlightgrey
#191e24black
Accent foreground
#333d47darkslategray
#abb7c4silver
Destructive
#a81d0bfirebrick
#f13b22orangered
Destructive foreground
#fdeae7linen
#ffffffwhite
Border
#dce0e4gainsboro
#1f2328darkslategray
Input
#dce0e4gainsboro
#1f2328darkslategray
Ring
#00438fmidnightblue
#00438fmidnightblue

Contrast

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

Light mode
Text on background19.76:1AAA
Text on card19.50:1AAA
Primary button6.93:1AA
Secondary button7.53:1AAA
Muted text6.80:1AA
Accent7.53:1AAA
Destructive6.37:1AA
Dark mode
Text on background19.50:1AAA
Text on card19.64:1AAA
Primary button6.93:1AA
Secondary button8.20:1AAA
Muted text8.34:1AAA
Accent8.20:1AAA
Destructive3.90:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.006 251.5);
  --foreground: oklch(0.087 0.012 241.538);
  --muted: oklch(0.944 0.007 251.507);
  --muted-foreground: oklch(0.433 0.012 251.666);
  --popover: oklch(0.983 0.006 251.5);
  --popover-foreground: oklch(0.087 0.012 241.538);
  --card: oklch(0.974 0.009 251.524);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.905 0.007 251.514);
  --input: oklch(0.905 0.007 251.514);
  --primary: oklch(0.395 0.14 256.923);
  --primary-foreground: oklch(0.891 0.054 251.888);
  --secondary: oklch(0.873 0.012 251.557);
  --secondary-foreground: oklch(0.354 0.022 251.894);
  --accent: oklch(0.873 0.012 251.557);
  --accent-foreground: oklch(0.354 0.022 251.894);
  --destructive: oklch(0.472 0.176 30.965);
  --destructive-foreground: oklch(0.951 0.022 26.608);
  --ring: oklch(0.395 0.14 256.923);
  --chart-1: oklch(0.395 0.14 256.923);
  --chart-2: oklch(0.873 0.012 251.557);
  --chart-3: oklch(0.873 0.012 251.557);
  --chart-4: oklch(0.897 0.009 251.535);
  --chart-5: oklch(0.396 0.143 257.087);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.112 0.01 245.005);
  --foreground: oklch(0.984 0.003 251.473);
  --muted: oklch(0.178 0.01 251.854);
  --muted-foreground: oklch(0.745 0.011 251.564);
  --popover: oklch(0.112 0.01 245.005);
  --popover-foreground: oklch(0.984 0.003 251.473);
  --card: oklch(0.128 0.012 245.209);
  --card-foreground: oklch(0.992 0.001 251.462);
  --border: oklch(0.255 0.011 251.776);
  --input: oklch(0.255 0.011 251.776);
  --primary: oklch(0.395 0.14 256.923);
  --primary-foreground: oklch(0.891 0.054 251.888);
  --secondary: oklch(0.233 0.014 251.873);
  --secondary-foreground: oklch(0.774 0.024 251.683);
  --accent: oklch(0.233 0.014 251.873);
  --accent-foreground: oklch(0.774 0.024 251.683);
  --destructive: oklch(0.629 0.221 31.036);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.395 0.14 256.923);
  --chart-1: oklch(0.395 0.14 256.923);
  --chart-2: oklch(0.233 0.014 251.873);
  --chart-3: oklch(0.233 0.014 251.873);
  --chart-4: oklch(0.265 0.017 251.899);
  --chart-5: oklch(0.396 0.143 257.087);
}