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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.72:1 | AAA |
| Text on card | 19.72:1 | AAA |
| Primary button | 5.21:1 | AA |
| Secondary button | 6.29:1 | AA |
| Muted text | 8.02:1 | AAA |
| Accent | 4.97:1 | AA |
| Destructive | 6.53:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 5.21:1 | AA |
| Secondary button | 6.29:1 | AA |
| Muted text | 9.49:1 | AAA |
| Accent | 4.97:1 | AA |
| Destructive | 4.42:1 | AA Large |
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);
}