Joblance rc-0.1.1 for shadcn/ui

Joblance rc-0.1.1 is a shadcn/ui theme built around a vivid deep blue primary color (#00438f) with muted blue accents (#b1bcc9). The light mode uses a neutral background (#f7fafd). Dark mode keeps the vivid deep blue primary (#00438f) on a neutral background (#010204).

Color palette

TokenLightDark
Background
#f7fafdghostwhite
#010204black
Foreground
#010204black
#f6f7f9whitesmoke
Card
#f7fafdghostwhite
#010204black
Card foreground
#010204black
#f6f7f9whitesmoke
Popover
#f7fafdghostwhite
#010204black
Popover foreground
#010204black
#f6f7f9whitesmoke
Primary
#00438fmidnightblue
#00438fmidnightblue
Primary foreground
#c2deffpaleturquoise
#c2deffpaleturquoise
Secondary
#c9ced4lightgrey
#25292cdarkslategray
Secondary foreground
#2f353cdarkslategray
#bcc1c7silver
Muted
#dde0e4gainsboro
#1b1e22black
Muted foreground
#3f4040darkslategray
#bfbfc0silver
Accent
#b1bcc9silver
#303a46darkslategray
Accent foreground
#1d232adarkslategray
#cbd3dclightgrey
Destructive
#710b04maroon
#f7392borangered
Destructive foreground
#fcb1ablightpink
#ffffffwhite
Border
#dee0e3gainsboro
#1a1c1eblack
Input
#dee0e3gainsboro
#1a1c1eblack
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.76:1AAA
Primary button6.93:1AA
Secondary button7.83:1AAA
Muted text7.86:1AAA
Accent8.21:1AAA
Destructive6.84:1AA
Dark mode
Text on background19.32:1AAA
Text on card19.32:1AAA
Primary button6.93:1AA
Secondary button8.12:1AAA
Muted text9.07:1AAA
Accent7.65:1AAA
Destructive3.75:1AA Large

CSS variables

Paste this into your globals.css to use Joblance rc-0.1.1 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.005 251.495);
  --foreground: oklch(0.087 0.013 241.229);
  --muted: oklch(0.906 0.006 251.504);
  --muted-foreground: oklch(0.37 0.001 251.482);
  --popover: oklch(0.983 0.005 251.495);
  --popover-foreground: oklch(0.087 0.013 241.229);
  --card: oklch(0.983 0.005 251.495);
  --card-foreground: oklch(0.087 0.013 241.229);
  --border: oklch(0.907 0.004 251.485);
  --input: oklch(0.907 0.004 251.485);
  --primary: oklch(0.395 0.14 256.923);
  --primary-foreground: oklch(0.891 0.054 251.888);
  --secondary: oklch(0.85 0.01 251.549);
  --secondary-foreground: oklch(0.326 0.015 251.782);
  --accent: oklch(0.79 0.022 251.663);
  --accent-foreground: oklch(0.254 0.016 251.891);
  --destructive: oklch(0.352 0.135 30.011);
  --destructive-foreground: oklch(0.829 0.089 23.721);
  --ring: oklch(0.395 0.14 256.923);
  --chart-1: oklch(0.395 0.14 256.923);
  --chart-2: oklch(0.85 0.01 251.549);
  --chart-3: oklch(0.79 0.022 251.663);
  --chart-4: oklch(0.874 0.009 251.531);
  --chart-5: oklch(0.396 0.143 257.087);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.088 0.009 243.814);
  --foreground: oklch(0.976 0.003 251.475);
  --muted: oklch(0.235 0.008 251.718);
  --muted-foreground: oklch(0.805 0.001 251.462);
  --popover: oklch(0.088 0.009 243.814);
  --popover-foreground: oklch(0.976 0.003 251.475);
  --card: oklch(0.088 0.009 243.814);
  --card-foreground: oklch(0.976 0.003 251.475);
  --border: oklch(0.225 0.005 251.621);
  --input: oklch(0.225 0.005 251.621);
  --primary: oklch(0.395 0.14 256.923);
  --primary-foreground: oklch(0.891 0.054 251.888);
  --secondary: oklch(0.277 0.009 251.69);
  --secondary-foreground: oklch(0.81 0.01 251.55);
  --accent: oklch(0.344 0.025 251.968);
  --accent-foreground: oklch(0.864 0.015 251.585);
  --destructive: oklch(0.639 0.227 29.201);
  --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.277 0.009 251.69);
  --chart-3: oklch(0.344 0.025 251.968);
  --chart-4: oklch(0.308 0.01 251.699);
  --chart-5: oklch(0.396 0.143 257.087);
}