Lanky is a shadcn/ui theme built around a muted teal primary color (#96b6ab) with muted cyan accents (#96b0b6). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted teal primary (#96b6ab) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010403black |
| Foreground | #010906black | #fcfdfdwhite |
| Card | #ffffffwhite | #010403black |
| Card foreground | #010906black | #fcfdfdwhite |
| Popover | #ffffffwhite | #010403black |
| Popover foreground | #010906black | #fcfdfdwhite |
| Primary | #96b6abdarkgray | #96b6abdarkgray |
| Primary foreground | #0a0f0eblack | #0a0f0eblack |
| Secondary | #96b69bdarkseagreen | #96b69bdarkseagreen |
| Secondary foreground | #0a0f0bblack | #0a0f0bblack |
| Muted | #d5e2d7gainsboro | #1d2a1fblack |
| Muted foreground | #4e6552dimgray | #9ab19edarkgray |
| Accent | #96b0b6darkgray | #96b0b6darkgray |
| Accent foreground | #0a0e0fblack | #0a0e0fblack |
| Destructive | #8e0101darkred | #e40101red |
| Destructive foreground | #ffc2c2pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #96b6abdarkgray | #96b6abdarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.13:1 | AAA |
| Text on card | 20.13:1 | AAA |
| Primary button | 8.78:1 | AAA |
| Secondary button | 8.69:1 | AAA |
| Muted text | 4.73:1 | AA |
| Accent | 8.50:1 | AAA |
| Destructive | 6.37:1 | AA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 8.78:1 | AAA |
| Secondary button | 8.69:1 | AAA |
| Muted text | 6.51:1 | AA |
| Accent | 8.50:1 | AAA |
| Destructive | 4.86:1 | AA |
Paste this into your globals.css to use Lanky in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.126 0.019 174.875);
--muted: oklch(0.899 0.02 150.514);
--muted-foreground: oklch(0.481 0.041 149.567);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.126 0.019 174.875);
--card: oklch(1 0 180);
--card-foreground: oklch(0.126 0.019 174.875);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.749 0.038 173.008);
--primary-foreground: oklch(0.163 0.008 173.072);
--secondary: oklch(0.744 0.052 149.824);
--secondary-foreground: oklch(0.162 0.011 149.864);
--accent: oklch(0.74 0.03 211.099);
--accent-foreground: oklch(0.161 0.006 211.092);
--destructive: oklch(0.407 0.166 29.168);
--destructive-foreground: oklch(0.869 0.07 18.588);
--ring: oklch(0.749 0.038 173.008);
--chart-1: oklch(0.749 0.038 173.008);
--chart-2: oklch(0.744 0.052 149.824);
--chart-3: oklch(0.74 0.03 211.099);
--chart-4: oklch(0.767 0.047 149.947);
--chart-5: oklch(0.753 0.044 172.748);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.011 174.804);
--foreground: oklch(0.993 0.001 174.558);
--muted: oklch(0.27 0.026 149.38);
--muted-foreground: oklch(0.738 0.038 150.101);
--popover: oklch(0.098 0.011 174.804);
--popover-foreground: oklch(0.993 0.001 174.558);
--card: oklch(0.098 0.011 174.804);
--card-foreground: oklch(0.993 0.001 174.558);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.749 0.038 173.008);
--primary-foreground: oklch(0.163 0.008 173.072);
--secondary: oklch(0.744 0.052 149.824);
--secondary-foreground: oklch(0.162 0.011 149.864);
--accent: oklch(0.74 0.03 211.099);
--accent-foreground: oklch(0.161 0.006 211.092);
--destructive: oklch(0.578 0.237 29.197);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.749 0.038 173.008);
--chart-1: oklch(0.749 0.038 173.008);
--chart-2: oklch(0.744 0.052 149.824);
--chart-3: oklch(0.74 0.03 211.099);
--chart-4: oklch(0.767 0.047 149.947);
--chart-5: oklch(0.753 0.044 172.748);
}