Limping is a shadcn/ui theme built around a muted deep teal primary color (#24332c) with muted deep orange accents (#332c24). The light mode uses a neutral background (#f7fdfa). Dark mode keeps the muted deep teal primary (#24332c) on a neutral background (#030705).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfamintcream | #030705black |
| Foreground | #010906black | #f4faf8mintcream |
| Card | #f3fbf8mintcream | #050b08black |
| Card foreground | #010503black | #f8fcfamintcream |
| Popover | #f7fdfamintcream | #030705black |
| Popover foreground | #010906black | #f4faf8mintcream |
| Primary | #24332cdarkslategray | #24332cdarkslategray |
| Primary foreground | #bacec5silver | #bacec5silver |
| Secondary | #2c2433darkslategray | #2c2433darkslategray |
| Secondary foreground | #c5bacesilver | #c5bacesilver |
| Muted | #f0eef2whitesmoke | #0f0d11black |
| Muted foreground | #5a5062dimgray | #a79dafdarkgray |
| Accent | #332c24darkslategray | #332c24darkslategray |
| Accent foreground | #cec5basilver | #cec5basilver |
| Destructive | #c43303firebrick | #f64004orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #24332cdarkslategray | #24332cdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.50:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 8.05:1 | AAA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 6.59:1 | AA |
| Accent | 8.07:1 | AAA |
| Destructive | 5.49:1 | AA |
| Text on background | 19.16:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 8.05:1 | AAA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 7.42:1 | AAA |
| Accent | 8.07:1 | AAA |
| Destructive | 3.70:1 | AA Large |
Paste this into your globals.css to use Limping in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 167.633);
--foreground: oklch(0.127 0.022 168.118);
--muted: oklch(0.951 0.005 310.386);
--muted-foreground: oklch(0.449 0.031 309.793);
--popover: oklch(0.988 0.006 167.633);
--popover-foreground: oklch(0.127 0.022 168.118);
--card: oklch(0.982 0.01 167.54);
--card-foreground: oklch(0.101 0.017 168.118);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.304 0.023 165.519);
--primary-foreground: oklch(0.835 0.025 166.966);
--secondary: oklch(0.276 0.029 309.459);
--secondary-foreground: oklch(0.805 0.03 310.09);
--accent: oklch(0.298 0.017 72.651);
--accent-foreground: oklch(0.829 0.018 73.045);
--destructive: oklch(0.542 0.188 35.216);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.304 0.023 165.519);
--chart-1: oklch(0.304 0.023 165.519);
--chart-2: oklch(0.276 0.029 309.459);
--chart-3: oklch(0.298 0.017 72.651);
--chart-4: oklch(0.304 0.033 309.419);
--chart-5: oklch(0.307 0.027 165.114);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.012 167.98);
--foreground: oklch(0.981 0.007 167.614);
--muted: oklch(0.165 0.008 309.976);
--muted-foreground: oklch(0.709 0.028 310.074);
--popover: oklch(0.122 0.012 167.98);
--popover-foreground: oklch(0.981 0.007 167.614);
--card: oklch(0.139 0.013 167.923);
--card-foreground: oklch(0.987 0.005 167.681);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.304 0.023 165.519);
--primary-foreground: oklch(0.835 0.025 166.966);
--secondary: oklch(0.276 0.029 309.459);
--secondary-foreground: oklch(0.805 0.03 310.09);
--accent: oklch(0.298 0.017 72.651);
--accent-foreground: oklch(0.829 0.018 73.045);
--destructive: oklch(0.641 0.224 34.823);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.304 0.023 165.519);
--chart-1: oklch(0.304 0.023 165.519);
--chart-2: oklch(0.276 0.029 309.459);
--chart-3: oklch(0.298 0.017 72.651);
--chart-4: oklch(0.304 0.033 309.419);
--chart-5: oklch(0.307 0.027 165.114);
}