Jockey for shadcn/ui

Jockey is a shadcn/ui theme built around a blue primary color (#497bc1) with orange accents (#c18f49). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#497bc1) on a neutral background (#020508).

Color palette

TokenLightDark
Background
#ffffffwhite
#020508black
Foreground
#020508black
#fcfcfdwhite
Card
#ffffffwhite
#020508black
Card foreground
#020508black
#fcfcfdwhite
Popover
#ffffffwhite
#020508black
Popover foreground
#020508black
#fcfcfdwhite
Primary
#497bc1steelblue
#497bc1steelblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#c18f49peru
#c18f49peru
Secondary foreground
#000000black
#000000black
Muted
#eee9e2linen
#1d1811black
Muted foreground
#6e6559dimgray
#a69d91rosybrown
Accent
#c18f49peru
#c18f49peru
Accent foreground
#000000black
#000000black
Destructive
#9d0e07darkred
#f0150ared
Destructive foreground
#fddad8mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#497bc1steelblue
#497bc1steelblue

Contrast

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

Light mode
Text on background20.43:1AAA
Text on card20.43:1AAA
Primary button4.32:1AA Large
Secondary button7.25:1AAA
Muted text4.74:1AA
Accent7.25:1AAA
Destructive6.49:1AA
Dark mode
Text on background19.95:1AAA
Text on card19.95:1AAA
Primary button4.32:1AA Large
Secondary button7.25:1AAA
Muted text6.59:1AA
Accent7.25:1AAA
Destructive4.35:1AA Large

CSS variables

Paste this into your globals.css to use Jockey in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.109 0.013 248.313);
  --muted: oklch(0.936 0.011 76.597);
  --muted-foreground: oklch(0.512 0.023 76.363);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.109 0.013 248.313);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.109 0.013 248.313);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.579 0.121 257.068);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.683 0.106 73.556);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.683 0.106 73.556);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.442 0.174 29.497);
  --destructive-foreground: oklch(0.917 0.04 21.482);
  --ring: oklch(0.579 0.121 257.068);
  --chart-1: oklch(0.579 0.121 257.068);
  --chart-2: oklch(0.683 0.106 73.556);
  --chart-3: oklch(0.683 0.106 73.556);
  --chart-4: oklch(0.703 0.101 74.172);
  --chart-5: oklch(0.578 0.128 257.129);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.014 247.991);
  --foreground: oklch(0.992 0.001 256.657);
  --muted: oklch(0.212 0.015 76.044);
  --muted-foreground: oklch(0.701 0.021 76.48);
  --popover: oklch(0.109 0.014 247.991);
  --popover-foreground: oklch(0.992 0.001 256.657);
  --card: oklch(0.109 0.014 247.991);
  --card-foreground: oklch(0.992 0.001 256.657);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.579 0.121 257.068);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.683 0.106 73.556);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.683 0.106 73.556);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.605 0.241 29.5);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.579 0.121 257.068);
  --chart-1: oklch(0.579 0.121 257.068);
  --chart-2: oklch(0.683 0.106 73.556);
  --chart-3: oklch(0.683 0.106 73.556);
  --chart-4: oklch(0.703 0.101 74.172);
  --chart-5: oklch(0.578 0.128 257.129);
}