Shoe-horn is a shadcn/ui theme built around a vivid light teal primary color (#d9fbfc) with vivid light yellow accents (#fbfcd9). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light teal primary (#d9fbfc) on a neutral background (#010404).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010404black |
| Foreground | #021212black | #f9fbfbghostwhite |
| Card | #fcfcfcsnow | #020808black |
| Card foreground | #020d0eblack | #fcfdfdwhite |
| Popover | #ffffffwhite | #010404black |
| Popover foreground | #021212black | #f9fbfbghostwhite |
| Primary | #d9fbfclightcyan | #d9fbfclightcyan |
| Primary foreground | #053739darkslategray | #053739darkslategray |
| Secondary | #fcd9fblavenderblush | #fcd9fblavenderblush |
| Secondary foreground | #390537midnightblue | #390537midnightblue |
| Muted | #e9dce9gainsboro | #231622black |
| Muted foreground | #4f454fdarkslategray | #bab0basilver |
| Accent | #fbfcd9cornsilk | #fbfcd9cornsilk |
| Accent foreground | #373905darkgreen | #373905darkgreen |
| Destructive | #e44901orangered | #fe580borangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d9fbfclightcyan | #d9fbfclightcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.12:1 | AAA |
| Text on card | 19.26:1 | AAA |
| Primary button | 11.87:1 | AAA |
| Secondary button | 13.17:1 | AAA |
| Muted text | 6.94:1 | AA |
| Accent | 11.43:1 | AAA |
| Destructive | 3.98:1 | AA Large |
| Text on background | 19.82:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 11.87:1 | AAA |
| Secondary button | 13.17:1 | AAA |
| Muted text | 8.30:1 | AAA |
| Accent | 11.43:1 | AAA |
| Destructive | 6.61:1 | AA |
Paste this into your globals.css to use Shoe-horn in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.166 0.023 197.804);
--muted: oklch(0.91 0.022 326.746);
--muted-foreground: oklch(0.404 0.021 326.988);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.166 0.023 197.804);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.147 0.021 197.512);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.964 0.035 199.142);
--primary-foreground: oklch(0.307 0.049 198.506);
--secondary: oklch(0.925 0.058 327.069);
--secondary-foreground: oklch(0.245 0.102 329.671);
--accent: oklch(0.981 0.045 108.765);
--accent-foreground: oklch(0.331 0.069 111.629);
--destructive: oklch(0.62 0.202 38.17);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.964 0.035 199.142);
--chart-1: oklch(0.964 0.035 199.142);
--chart-2: oklch(0.925 0.058 327.069);
--chart-3: oklch(0.981 0.045 108.765);
--chart-4: oklch(0.953 0.036 326.863);
--chart-5: oklch(0.965 0.036 199.128);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.01 197.731);
--foreground: oklch(0.986 0.002 199.582);
--muted: oklch(0.221 0.031 327.667);
--muted-foreground: oklch(0.768 0.018 326.744);
--popover: oklch(0.099 0.01 197.731);
--popover-foreground: oklch(0.986 0.002 199.582);
--card: oklch(0.124 0.013 197.731);
--card-foreground: oklch(0.993 0.001 199.594);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.964 0.035 199.142);
--primary-foreground: oklch(0.307 0.049 198.506);
--secondary: oklch(0.925 0.058 327.069);
--secondary-foreground: oklch(0.245 0.102 329.671);
--accent: oklch(0.981 0.045 108.765);
--accent-foreground: oklch(0.331 0.069 111.629);
--destructive: oklch(0.678 0.213 39.092);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.964 0.035 199.142);
--chart-1: oklch(0.964 0.035 199.142);
--chart-2: oklch(0.925 0.058 327.069);
--chart-3: oklch(0.981 0.045 108.765);
--chart-4: oklch(0.953 0.036 326.863);
--chart-5: oklch(0.965 0.036 199.128);
}