Horde is a shadcn/ui theme built around a deep teal primary color (#245144) with deep pink accents (#512432). The light mode uses a neutral background (#f7fdfb). Dark mode keeps the deep teal primary (#245144) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfbmintcream | #000000black |
| Foreground | #000000black | #fcfdfdwhite |
| Card | #f7fdfbmintcream | #000000black |
| Card foreground | #000000black | #fcfdfdwhite |
| Popover | #f7fdfbmintcream | #000000black |
| Popover foreground | #000000black | #fcfdfdwhite |
| Primary | #245144darkslategray | #245144darkslategray |
| Primary foreground | #c3e4dapowderblue | #c3e4dapowderblue |
| Secondary | #512432darkslategray | #512432darkslategray |
| Secondary foreground | #e4c3cdthistle | #e4c3cdthistle |
| Muted | #f5eaedlinen | #150a0dblack |
| Muted foreground | #575757dimgray | #a8a8a8darkgray |
| Accent | #512432darkslategray | #512432darkslategray |
| Accent foreground | #e4c3cdthistle | #e4c3cdthistle |
| Destructive | #6f2102maroon | #e74404orangered |
| Destructive foreground | #febea5lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #245144darkslategray | #245144darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.34:1 | AAA |
| Text on card | 20.34:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 6.15:1 | AA |
| Accent | 7.86:1 | AAA |
| Destructive | 6.97:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 8.18:1 | AAA |
| Accent | 7.86:1 | AAA |
| Destructive | 4.01:1 | AA Large |
Paste this into your globals.css to use Horde in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 176.482);
--foreground: oklch(0 0 0);
--muted: oklch(0.947 0.013 357.052);
--muted-foreground: oklch(0.456 0 180);
--popover: oklch(0.988 0.006 176.482);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.988 0.006 176.482);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.399 0.055 171.463);
--primary-foreground: oklch(0.893 0.037 175.391);
--secondary: oklch(0.328 0.068 2.56);
--secondary-foreground: oklch(0.849 0.039 357.96);
--accent: oklch(0.328 0.068 2.56);
--accent-foreground: oklch(0.849 0.039 357.96);
--destructive: oklch(0.366 0.116 38.605);
--destructive-foreground: oklch(0.853 0.082 42.534);
--ring: oklch(0.399 0.055 171.463);
--chart-1: oklch(0.399 0.055 171.463);
--chart-2: oklch(0.328 0.068 2.56);
--chart-3: oklch(0.328 0.068 2.56);
--chart-4: oklch(0.355 0.076 2.711);
--chart-5: oklch(0.403 0.058 171.064);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 176.619);
--muted: oklch(0.161 0.021 0.215);
--muted-foreground: oklch(0.733 0 180);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.001 176.619);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.001 176.619);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.399 0.055 171.463);
--primary-foreground: oklch(0.893 0.037 175.391);
--secondary: oklch(0.328 0.068 2.56);
--secondary-foreground: oklch(0.849 0.039 357.96);
--accent: oklch(0.328 0.068 2.56);
--accent-foreground: oklch(0.849 0.039 357.96);
--destructive: oklch(0.619 0.208 36.538);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.399 0.055 171.463);
--chart-1: oklch(0.399 0.055 171.463);
--chart-2: oklch(0.328 0.068 2.56);
--chart-3: oklch(0.328 0.068 2.56);
--chart-4: oklch(0.355 0.076 2.711);
--chart-5: oklch(0.403 0.058 171.064);
}