Sure-footed is a shadcn/ui theme built around a muted light red primary color (#dec9ce) with muted light orange accents (#decec9). The light mode uses a neutral background (#fefbfc). Dark mode keeps the muted light red primary (#dec9ce) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #000000black |
| Foreground | #080204black | #fdfcfcsnow |
| Card | #fefbfcsnow | #000000black |
| Card foreground | #080204black | #fdfcfcsnow |
| Popover | #fefbfcsnow | #000000black |
| Popover foreground | #080204black | #fdfcfcsnow |
| Primary | #dec9cethistle | #dec9cethistle |
| Primary foreground | #492d34darkslategray | #492d34darkslategray |
| Secondary | #dec9d9thistle | #dec9d9thistle |
| Secondary foreground | #492d42darkslategray | #492d42darkslategray |
| Muted | #e2cfdegainsboro | #301d2bdarkslategray |
| Muted foreground | #585558dimgray | #aaa7a9darkgray |
| Accent | #decec9lightgrey | #decec9lightgrey |
| Accent foreground | #49342ddarkslategray | #49342ddarkslategray |
| Destructive | #813109saddlebrown | #ea5910chocolate |
| Destructive foreground | #fbd4c1peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dec9cethistle | #dec9cethistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.97:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 7.83:1 | AAA |
| Secondary button | 7.76:1 | AAA |
| Muted text | 4.98:1 | AA |
| Accent | 7.62:1 | AAA |
| Destructive | 6.44:1 | AA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.50:1 | AAA |
| Primary button | 7.83:1 | AAA |
| Secondary button | 7.76:1 | AAA |
| Muted text | 6.61:1 | AA |
| Accent | 7.62:1 | AAA |
| Destructive | 3.55:1 | AA Large |
Paste this into your globals.css to use Sure-footed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 359.976);
--foreground: oklch(0.105 0.018 359.79);
--muted: oklch(0.875 0.029 334.417);
--muted-foreground: oklch(0.454 0.006 334.102);
--popover: oklch(0.99 0.004 359.976);
--popover-foreground: oklch(0.105 0.018 359.79);
--card: oklch(0.99 0.004 359.976);
--card-foreground: oklch(0.105 0.018 359.79);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.855 0.024 0.656);
--primary-foreground: oklch(0.332 0.043 3.373);
--secondary: oklch(0.858 0.031 334.477);
--secondary-foreground: oklch(0.338 0.053 336.325);
--accent: oklch(0.864 0.019 39.384);
--accent-foreground: oklch(0.346 0.033 39.219);
--destructive: oklch(0.422 0.12 42.191);
--destructive-foreground: oklch(0.898 0.051 48.136);
--ring: oklch(0.855 0.024 0.656);
--chart-1: oklch(0.855 0.024 0.656);
--chart-2: oklch(0.858 0.031 334.477);
--chart-3: oklch(0.864 0.019 39.384);
--chart-4: oklch(0.884 0.025 334.356);
--chart-5: oklch(0.854 0.027 0.756);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.991 0.002 359.921);
--muted: oklch(0.26 0.038 336.195);
--muted-foreground: oklch(0.731 0.005 334.002);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.991 0.002 359.921);
--card: oklch(0 0 0);
--card-foreground: oklch(0.991 0.002 359.921);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.855 0.024 0.656);
--primary-foreground: oklch(0.332 0.043 3.373);
--secondary: oklch(0.858 0.031 334.477);
--secondary-foreground: oklch(0.338 0.053 336.325);
--accent: oklch(0.864 0.019 39.384);
--accent-foreground: oklch(0.346 0.033 39.219);
--destructive: oklch(0.647 0.193 41.049);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.855 0.024 0.656);
--chart-1: oklch(0.855 0.024 0.656);
--chart-2: oklch(0.858 0.031 334.477);
--chart-3: oklch(0.864 0.019 39.384);
--chart-4: oklch(0.884 0.025 334.356);
--chart-5: oklch(0.854 0.027 0.756);
}