Shoe-horn is a shadcn/ui theme built around a muted deep green primary color (#475c37) with muted deep pink accents (#5c3747). The light mode uses a neutral background (#fafbf8). Dark mode keeps the muted deep green primary (#475c37) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fafbf8snow | #000000black |
| Foreground | #050901black | #fcfdfcwhite |
| Card | #f7faf5whitesmoke | #030303black |
| Card foreground | #020501black | #ffffffwhite |
| Popover | #f7faf5whitesmoke | #030303black |
| Popover foreground | #020501black | #ffffffwhite |
| Primary | #475c37darkolivegreen | #475c37darkolivegreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #37475cdarkslategray | #37475cdarkslategray |
| Secondary foreground | #dce2eagainsboro | #dce2eagainsboro |
| Muted | #e3e7edlavender | #12161cblack |
| Muted foreground | #404245darkslategray | #babcbfsilver |
| Accent | #5c3747darkslategray | #5c3747darkslategray |
| Accent foreground | #eadce2gainsboro | #eadce2gainsboro |
| Destructive | #75250bsaddlebrown | #ec6032tomato |
| Destructive foreground | #f8c9b9peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #475c37darkolivegreen | #475c37darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.38:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 7.30:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 8.15:1 | AAA |
| Accent | 7.51:1 | AAA |
| Destructive | 6.93:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.30:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 9.51:1 | AAA |
| Accent | 7.51:1 | AAA |
| Destructive | 6.29:1 | AA |
Paste this into your globals.css to use Shoe-horn in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 131.125);
--foreground: oklch(0.13 0.028 129.223);
--muted: oklch(0.928 0.008 255.001);
--muted-foreground: oklch(0.378 0.006 255.035);
--popover: oklch(0.981 0.007 131.146);
--popover-foreground: oklch(0.103 0.022 129.223);
--card: oklch(0.981 0.007 131.146);
--card-foreground: oklch(0.103 0.022 129.223);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.449 0.063 132.485);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.395 0.041 255.326);
--secondary-foreground: oklch(0.911 0.013 255.026);
--accent: oklch(0.389 0.057 352.56);
--accent-foreground: oklch(0.907 0.017 349.256);
--destructive: oklch(0.384 0.117 37.298);
--destructive-foreground: oklch(0.873 0.059 39.25);
--ring: oklch(0.449 0.063 132.485);
--chart-1: oklch(0.449 0.063 132.485);
--chart-2: oklch(0.395 0.041 255.326);
--chart-3: oklch(0.389 0.057 352.56);
--chart-4: oklch(0.422 0.045 255.331);
--chart-5: oklch(0.454 0.07 132.658);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 131.095);
--muted: oklch(0.2 0.012 255.201);
--muted-foreground: oklch(0.795 0.005 254.987);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.449 0.063 132.485);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.395 0.041 255.326);
--secondary-foreground: oklch(0.911 0.013 255.026);
--accent: oklch(0.389 0.057 352.56);
--accent-foreground: oklch(0.907 0.017 349.256);
--destructive: oklch(0.662 0.183 38.119);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.449 0.063 132.485);
--chart-1: oklch(0.449 0.063 132.485);
--chart-2: oklch(0.395 0.041 255.326);
--chart-3: oklch(0.389 0.057 352.56);
--chart-4: oklch(0.422 0.045 255.331);
--chart-5: oklch(0.454 0.07 132.658);
}