Lanky is a shadcn/ui theme built around an orange primary color (#9a6f51) with violet accents (#6f519a). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the orange primary (#9a6f51) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #000000black |
| Foreground | #0e0702black | #fbfaf9snow |
| Card | #fdfcfcsnow | #000000black |
| Card foreground | #0e0702black | #fbfaf9snow |
| Popover | #fdfcfcsnow | #000000black |
| Popover foreground | #0e0702black | #fbfaf9snow |
| Primary | #9a6f51sienna | #9a6f51sienna |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #519a6fmediumseagreen | #519a6fmediumseagreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f0f4f2whitesmoke | #0b0f0cblack |
| Muted foreground | #4b6255darkslategray | #9db4a6darkgray |
| Accent | #6f519arebeccapurple | #6f519arebeccapurple |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #661f05maroon | #f56e3dtomato |
| Destructive foreground | #fabaa3lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9a6f51sienna | #9a6f51sienna |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.57:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 4.40:1 | AA Large |
| Secondary button | 3.39:1 | AA Large |
| Muted text | 5.96:1 | AA |
| Accent | 6.32:1 | AA |
| Destructive | 7.16:1 | AAA |
| Text on background | 20.14:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 4.40:1 | AA Large |
| Secondary button | 3.39:1 | AA Large |
| Muted text | 8.75:1 | AAA |
| Accent | 6.32:1 | AA |
| Destructive | 7.18:1 | AAA |
Paste this into your globals.css to use Lanky in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 58.341);
--foreground: oklch(0.135 0.022 69.513);
--muted: oklch(0.964 0.005 160.89);
--muted-foreground: oklch(0.473 0.034 159.169);
--popover: oklch(0.993 0.002 58.341);
--popover-foreground: oklch(0.135 0.022 69.513);
--card: oklch(0.993 0.002 58.341);
--card-foreground: oklch(0.135 0.022 69.513);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.578 0.069 56.408);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.626 0.098 156.46);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.499 0.116 301.572);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.348 0.107 38.133);
--destructive-foreground: oklch(0.842 0.081 40.858);
--ring: oklch(0.578 0.069 56.408);
--chart-1: oklch(0.578 0.069 56.408);
--chart-2: oklch(0.626 0.098 156.46);
--chart-3: oklch(0.499 0.116 301.572);
--chart-4: oklch(0.655 0.103 156.43);
--chart-5: oklch(0.58 0.076 56.152);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.985 0.002 58.341);
--muted: oklch(0.162 0.008 159.837);
--muted-foreground: oklch(0.747 0.031 159.996);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.985 0.002 58.341);
--card: oklch(0 0 0);
--card-foreground: oklch(0.985 0.002 58.341);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.578 0.069 56.408);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.626 0.098 156.46);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.499 0.116 301.572);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.695 0.177 39.638);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.578 0.069 56.408);
--chart-1: oklch(0.578 0.069 56.408);
--chart-2: oklch(0.626 0.098 156.46);
--chart-3: oklch(0.499 0.116 301.572);
--chart-4: oklch(0.655 0.103 156.43);
--chart-5: oklch(0.58 0.076 56.152);
}