Sure-footed is a shadcn/ui theme built around a vivid blue primary color (#104b98) with vivid orange accents (#985d10). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#104b98) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #02070eblack | #f4f7fawhitesmoke |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #010509black | #f8fafcghostwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #010509black | #f8fafcghostwhite |
| Primary | #104b98darkslateblue | #104b98darkslateblue |
| Primary foreground | #dfebfclavender | #dfebfclavender |
| Secondary | #985d10saddlebrown | #985d10saddlebrown |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f4f0eclinen | #13100bblack |
| Muted foreground | #56524edarkslategray | #b1aea9darkgray |
| Accent | #985d10saddlebrown | #985d10saddlebrown |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #d53410firebrick | #ef522etomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #104b98darkslateblue | #104b98darkslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.20:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 7.01:1 | AAA |
| Secondary button | 5.35:1 | AA |
| Muted text | 6.83:1 | AA |
| Accent | 5.35:1 | AA |
| Destructive | 4.83:1 | AA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 7.01:1 | AAA |
| Secondary button | 5.35:1 | AA |
| Muted text | 8.58:1 | AAA |
| Accent | 5.35:1 | AA |
| Destructive | 3.54:1 | AA Large |
Paste this into your globals.css to use Sure-footed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.123 0.022 244.13);
--muted: oklch(0.957 0.007 74.911);
--muted-foreground: oklch(0.441 0.009 74.823);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.107 0.019 242.872);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.107 0.019 242.872);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.424 0.139 257.553);
--primary-foreground: oklch(0.936 0.026 255.087);
--secondary: oklch(0.534 0.113 65.864);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.534 0.113 65.864);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.574 0.202 33.201);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.424 0.139 257.553);
--chart-1: oklch(0.424 0.139 257.553);
--chart-2: oklch(0.534 0.113 65.864);
--chart-3: oklch(0.534 0.113 65.864);
--chart-4: oklch(0.568 0.121 65.652);
--chart-5: oklch(0.425 0.144 257.787);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.005 254.984);
--muted: oklch(0.175 0.01 74.44);
--muted-foreground: oklch(0.752 0.008 74.891);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.983 0.004 254.974);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.983 0.004 254.974);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.424 0.139 257.553);
--primary-foreground: oklch(0.936 0.026 255.087);
--secondary: oklch(0.534 0.113 65.864);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.534 0.113 65.864);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.649 0.2 34.038);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.424 0.139 257.553);
--chart-1: oklch(0.424 0.139 257.553);
--chart-2: oklch(0.534 0.113 65.864);
--chart-3: oklch(0.534 0.113 65.864);
--chart-4: oklch(0.568 0.121 65.652);
--chart-5: oklch(0.425 0.144 257.787);
}