Shoehorn is a shadcn/ui theme built around a vivid deep violet primary color (#550675) with vivid deep purple accents (#75065d). The light mode uses a neutral background (#fbf8fc). Dark mode keeps the vivid deep violet primary (#550675) on a neutral background (#030104).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf8fcghostwhite | #030104black |
| Foreground | #000000black | #f9f4fawhitesmoke |
| Card | #fbf8fcghostwhite | #030104black |
| Card foreground | #000000black | #f9f4fawhitesmoke |
| Popover | #fbf8fcghostwhite | #030104black |
| Popover foreground | #000000black | #f9f4fawhitesmoke |
| Primary | #550675indigo | #550675indigo |
| Primary foreground | #e6b1fbplum | #e6b1fbplum |
| Secondary | #1e0675midnightblue | #1e0675midnightblue |
| Secondary foreground | #c1b1fblightsteelblue | #c1b1fblightsteelblue |
| Muted | #dcd8e8gainsboro | #1a1727black |
| Muted foreground | #5c5770dimgray | #948fa8lightslategray |
| Accent | #75065dpurple | #75065dpurple |
| Accent foreground | #fbb1ebpink | #fbb1ebpink |
| Destructive | #e22503orangered | #e72604orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #550675indigo | #550675indigo |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.93:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 7.21:1 | AAA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 4.93:1 | AA |
| Accent | 6.50:1 | AA |
| Destructive | 4.66:1 | AA |
| Text on background | 19.15:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 7.21:1 | AAA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 5.66:1 | AA |
| Accent | 6.50:1 | AA |
| Destructive | 4.49:1 | AA Large |
Paste this into your globals.css to use Shoehorn in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 316.593);
--foreground: oklch(0 0 0);
--muted: oklch(0.891 0.022 295.882);
--muted-foreground: oklch(0.47 0.042 294.673);
--popover: oklch(0.982 0.005 316.593);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.982 0.005 316.593);
--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.345 0.167 312.4);
--primary-foreground: oklch(0.834 0.116 316.186);
--secondary: oklch(0.276 0.164 276.747);
--secondary-foreground: oklch(0.801 0.105 293.841);
--accent: oklch(0.382 0.161 340.136);
--accent-foreground: oklch(0.848 0.113 334.558);
--destructive: oklch(0.586 0.224 31.436);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.345 0.167 312.4);
--chart-1: oklch(0.345 0.167 312.4);
--chart-2: oklch(0.276 0.164 276.747);
--chart-3: oklch(0.382 0.161 340.136);
--chart-4: oklch(0.298 0.179 276.183);
--chart-5: oklch(0.347 0.17 312.177);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.083 0.02 318.694);
--foreground: oklch(0.973 0.009 316.581);
--muted: oklch(0.215 0.031 293.556);
--muted-foreground: oklch(0.662 0.038 295.263);
--popover: oklch(0.083 0.02 318.694);
--popover-foreground: oklch(0.973 0.009 316.581);
--card: oklch(0.083 0.02 318.694);
--card-foreground: oklch(0.973 0.009 316.581);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.345 0.167 312.4);
--primary-foreground: oklch(0.834 0.116 316.186);
--secondary: oklch(0.276 0.164 276.747);
--secondary-foreground: oklch(0.801 0.105 293.841);
--accent: oklch(0.382 0.161 340.136);
--accent-foreground: oklch(0.848 0.113 334.558);
--destructive: oklch(0.595 0.228 31.415);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.345 0.167 312.4);
--chart-1: oklch(0.345 0.167 312.4);
--chart-2: oklch(0.276 0.164 276.747);
--chart-3: oklch(0.382 0.161 340.136);
--chart-4: oklch(0.298 0.179 276.183);
--chart-5: oklch(0.347 0.17 312.177);
}