Hippodrome is a shadcn/ui theme built around a muted violet primary color (#a699b2) with muted light violet accents (#e8e6ea). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted violet primary (#a699b2) on a violet-tinted background (#0a0510).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a0510black |
| Foreground | #0d0514black | #f7f5fawhitesmoke |
| Card | #fcfcfcsnow | #0d0614black |
| Card foreground | #0a0410black | #faf8fbghostwhite |
| Popover | #ffffffwhite | #0a0510black |
| Popover foreground | #0d0514black | #f7f5fawhitesmoke |
| Primary | #a699b2darkgray | #a699b2darkgray |
| Primary foreground | #0d0b0fblack | #0d0b0fblack |
| Secondary | #e8e6ealavender | #262429darkslategray |
| Secondary foreground | #4f4757darkslategray | #bfbbc4silver |
| Muted | #e6ddeelavender | #1a1122black |
| Muted foreground | #525152darkslategray | #adadaedarkgray |
| Accent | #e8e6ealavender | #262429darkslategray |
| Accent foreground | #4f4757darkslategray | #bfbbc4silver |
| Destructive | #af360dfirebrick | #ee5420chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a699b2darkgray | #a699b2darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.02:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 7.30:1 | AAA |
| Secondary button | 7.13:1 | AAA |
| Muted text | 6.00:1 | AA |
| Accent | 7.13:1 | AAA |
| Destructive | 6.24:1 | AA |
| Text on background | 18.62:1 | AAA |
| Text on card | 18.89:1 | AAA |
| Primary button | 7.30:1 | AAA |
| Secondary button | 8.16:1 | AAA |
| Muted text | 8.16:1 | AAA |
| Accent | 8.16:1 | AAA |
| Destructive | 3.54:1 | AA Large |
Paste this into your globals.css to use Hippodrome in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.139 0.036 306.762);
--muted: oklch(0.91 0.024 308.173);
--muted-foreground: oklch(0.435 0.003 308.388);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.139 0.036 306.762);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.128 0.032 308.247);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.703 0.039 307.854);
--primary-foreground: oklch(0.153 0.008 307.879);
--secondary: oklch(0.927 0.007 308.381);
--secondary-foreground: oklch(0.412 0.028 307.713);
--accent: oklch(0.927 0.007 308.381);
--accent-foreground: oklch(0.412 0.028 307.713);
--destructive: oklch(0.509 0.165 36.483);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.703 0.039 307.854);
--chart-1: oklch(0.703 0.039 307.854);
--chart-2: oklch(0.927 0.007 308.381);
--chart-3: oklch(0.927 0.007 308.381);
--chart-4: oklch(0.952 0.004 308.409);
--chart-5: oklch(0.698 0.047 307.718);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.13 0.028 308.229);
--foreground: oklch(0.973 0.007 308.386);
--muted: oklch(0.198 0.034 306.499);
--muted-foreground: oklch(0.747 0.002 308.424);
--popover: oklch(0.13 0.028 308.229);
--popover-foreground: oklch(0.973 0.007 308.386);
--card: oklch(0.141 0.032 306.841);
--card-foreground: oklch(0.982 0.004 308.411);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.703 0.039 307.854);
--primary-foreground: oklch(0.153 0.008 307.879);
--secondary: oklch(0.264 0.011 308.017);
--secondary-foreground: oklch(0.798 0.013 308.275);
--accent: oklch(0.264 0.011 308.017);
--accent-foreground: oklch(0.798 0.013 308.275);
--destructive: oklch(0.648 0.2 37.18);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.703 0.039 307.854);
--chart-1: oklch(0.703 0.039 307.854);
--chart-2: oklch(0.264 0.011 308.017);
--chart-3: oklch(0.264 0.011 308.017);
--chart-4: oklch(0.294 0.012 307.996);
--chart-5: oklch(0.698 0.047 307.718);
}