Accurate Jodhpurs is a shadcn/ui theme built around a light yellow primary color (#eeddb5) with light violet accents (#ddb5ee). The light mode uses a neutral background (#fefdfb). Dark mode keeps the light yellow primary (#eeddb5) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #030302black |
| Foreground | #120e03black | #ffffffwhite |
| Card | #fefdfbsnow | #030302black |
| Card foreground | #120e03black | #ffffffwhite |
| Popover | #fefdfbsnow | #030302black |
| Popover foreground | #120e03black | #ffffffwhite |
| Primary | #eeddb5wheat | #eeddb5wheat |
| Primary foreground | #5b4715darkolivegreen | #5b4715darkolivegreen |
| Secondary | #b5eeddpowderblue | #b5eeddpowderblue |
| Secondary foreground | #155b47darkslategray | #155b47darkslategray |
| Muted | #eff6f4whitesmoke | #09100eblack |
| Muted foreground | #424242darkslategray | #bdbdbdsilver |
| Accent | #ddb5eethistle | #ddb5eethistle |
| Accent foreground | #47155bindigo | #47155bindigo |
| Destructive | #b34914sienna | #ea773ecoral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e6e6e5gainsboro | #272725darkslategray |
| Input | #e6e6e5gainsboro | #272725darkslategray |
| Ring | #eeddb5wheat | #eeddb5wheat |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.98:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 6.64:1 | AA |
| Secondary button | 6.17:1 | AA |
| Muted text | 9.15:1 | AAA |
| Accent | 7.79:1 | AAA |
| Destructive | 5.41:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 6.64:1 | AA |
| Secondary button | 6.17:1 | AA |
| Muted text | 10.20:1 | AAA |
| Accent | 7.79:1 | AAA |
| Destructive | 7.20:1 | AAA |
Paste this into your globals.css to use Accurate Jodhpurs in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 88.814);
--foreground: oklch(0.163 0.026 92.058);
--muted: oklch(0.967 0.008 177.464);
--muted-foreground: oklch(0.38 0 180);
--popover: oklch(0.995 0.003 88.814);
--popover-foreground: oklch(0.163 0.026 92.058);
--card: oklch(0.995 0.003 88.814);
--card-foreground: oklch(0.163 0.026 92.058);
--border: oklch(0.924 0.001 88.798);
--input: oklch(0.924 0.001 88.798);
--primary: oklch(0.902 0.056 89.015);
--primary-foreground: oklch(0.409 0.071 86.708);
--secondary: oklch(0.904 0.062 175.547);
--secondary-foreground: oklch(0.423 0.075 169.6);
--accent: oklch(0.826 0.089 316.287);
--accent-foreground: oklch(0.314 0.123 314.545);
--destructive: oklch(0.539 0.151 42.578);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.902 0.056 89.015);
--chart-1: oklch(0.902 0.056 89.015);
--chart-2: oklch(0.904 0.062 175.547);
--chart-3: oklch(0.826 0.089 316.287);
--chart-4: oklch(0.92 0.052 175.962);
--chart-5: oklch(0.904 0.059 89.013);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.006 91.84);
--foreground: oklch(1 0 180);
--muted: oklch(0.167 0.012 175.428);
--muted-foreground: oklch(0.797 0 180);
--popover: oklch(0.096 0.006 91.84);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.096 0.006 91.84);
--card-foreground: oklch(1 0 180);
--border: oklch(0.271 0.002 88.84);
--input: oklch(0.271 0.002 88.84);
--primary: oklch(0.902 0.056 89.015);
--primary-foreground: oklch(0.409 0.071 86.708);
--secondary: oklch(0.904 0.062 175.547);
--secondary-foreground: oklch(0.423 0.075 169.6);
--accent: oklch(0.826 0.089 316.287);
--accent-foreground: oklch(0.314 0.123 314.545);
--destructive: oklch(0.692 0.158 45.214);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.902 0.056 89.015);
--chart-1: oklch(0.902 0.056 89.015);
--chart-2: oklch(0.904 0.062 175.547);
--chart-3: oklch(0.826 0.089 316.287);
--chart-4: oklch(0.92 0.052 175.962);
--chart-5: oklch(0.904 0.059 89.013);
}