Jury for shadcn/ui

Jury is a shadcn/ui theme built around a yellow primary color (#776d3c) with green accents (#63773c). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#776d3c) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#0c0b03black
#fdfdfcwhite
Card
#ffffffwhite
#000000black
Card foreground
#0c0b03black
#fdfdfcwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#0c0b03black
#fdfdfcwhite
Primary
#776d3cdarkolivegreen
#776d3cdarkolivegreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#774f3csienna
#774f3csienna
Secondary foreground
#f6f1eewhitesmoke
#f6f1eewhitesmoke
Muted
#f5f1f0whitesmoke
#0f0c0ablack
Muted foreground
#4e4846darkslategray
#b9b4b1silver
Accent
#63773cdarkolivegreen
#63773cdarkolivegreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#b81d05firebrick
#ea2406orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#776d3cdarkolivegreen
#776d3cdarkolivegreen

Contrast

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

Light mode
Text on background19.72:1AAA
Text on card19.72:1AAA
Primary button5.21:1AA
Secondary button6.29:1AA
Muted text8.02:1AAA
Accent4.97:1AA
Destructive6.53:1AA
Dark mode
Text on background20.63:1AAA
Text on card20.63:1AAA
Primary button5.21:1AA
Secondary button6.29:1AA
Muted text9.49:1AAA
Accent4.97:1AA
Destructive4.42:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.146 0.019 100.712);
  --muted: oklch(0.962 0.004 48.698);
  --muted-foreground: oklch(0.408 0.009 48.481);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.146 0.019 100.712);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.146 0.019 100.712);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.532 0.069 98.288);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.468 0.061 47.337);
  --secondary-foreground: oklch(0.961 0.007 48.66);
  --accent: oklch(0.538 0.087 124.419);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.503 0.191 31.246);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.532 0.069 98.288);
  --chart-1: oklch(0.532 0.069 98.288);
  --chart-2: oklch(0.468 0.061 47.337);
  --chart-3: oklch(0.538 0.087 124.419);
  --chart-4: oklch(0.495 0.066 47.319);
  --chart-5: oklch(0.538 0.075 98.263);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.994 0.001 97.279);
  --muted: oklch(0.158 0.007 48.285);
  --muted-foreground: oklch(0.773 0.008 48.626);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.994 0.001 97.279);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.994 0.001 97.279);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.532 0.069 98.288);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.468 0.061 47.337);
  --secondary-foreground: oklch(0.961 0.007 48.66);
  --accent: oklch(0.538 0.087 124.419);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.6 0.23 31.052);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.532 0.069 98.288);
  --chart-1: oklch(0.532 0.069 98.288);
  --chart-2: oklch(0.468 0.061 47.337);
  --chart-3: oklch(0.538 0.087 124.419);
  --chart-4: oklch(0.495 0.066 47.319);
  --chart-5: oklch(0.538 0.075 98.263);
}