Limb is a shadcn/ui theme built around a deep teal primary color (#225658) with deep yellow accents (#565822). The light mode uses a neutral background (#fbfefe). Dark mode keeps the deep teal primary (#225658) on a teal-tinted background (#040b0b).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #040b0bblack |
| Foreground | #031011black | #f5fafamintcream |
| Card | #fbfefewhite | #040b0bblack |
| Card foreground | #031011black | #f5fafamintcream |
| Popover | #fbfefewhite | #040b0bblack |
| Popover foreground | #031011black | #f5fafamintcream |
| Primary | #225658darkslategray | #225658darkslategray |
| Primary foreground | #c4e7e8powderblue | #c4e7e8powderblue |
| Secondary | #582256indigo | #582256indigo |
| Secondary foreground | #e8c4e7thistle | #e8c4e7thistle |
| Muted | #f2e8f2whitesmoke | #170d17black |
| Muted foreground | #6a5869dimgray | #a795a6darkgray |
| Accent | #565822darkolivegreen | #565822darkolivegreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #79210bmaroon | #d73b14orangered |
| Destructive foreground | #f9cabepink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #225658darkslategray | #225658darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.03:1 | AAA |
| Text on card | 19.03:1 | AAA |
| Primary button | 6.24:1 | AA |
| Secondary button | 7.55:1 | AAA |
| Muted text | 5.48:1 | AA |
| Accent | 7.44:1 | AAA |
| Destructive | 6.95:1 | AA |
| Text on background | 18.86:1 | AAA |
| Text on card | 18.86:1 | AAA |
| Primary button | 6.24:1 | AA |
| Secondary button | 7.55:1 | AAA |
| Muted text | 6.78:1 | AA |
| Accent | 7.44:1 | AAA |
| Destructive | 4.65:1 | AA |
Paste this into your globals.css to use Limb in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 199.567);
--foreground: oklch(0.162 0.02 197.967);
--muted: oklch(0.942 0.017 326.693);
--muted-foreground: oklch(0.484 0.034 327.135);
--popover: oklch(0.994 0.003 199.567);
--popover-foreground: oklch(0.162 0.02 197.967);
--card: oklch(0.994 0.003 199.567);
--card-foreground: oklch(0.162 0.02 197.967);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.42 0.055 198.371);
--primary-foreground: oklch(0.903 0.036 199.092);
--secondary: oklch(0.353 0.107 328.852);
--secondary-foreground: oklch(0.862 0.061 327.135);
--accent: oklch(0.447 0.075 110.846);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.388 0.126 34.545);
--destructive-foreground: oklch(0.876 0.057 34.376);
--ring: oklch(0.42 0.055 198.371);
--chart-1: oklch(0.42 0.055 198.371);
--chart-2: oklch(0.353 0.107 328.852);
--chart-3: oklch(0.447 0.075 110.846);
--chart-4: oklch(0.382 0.118 328.887);
--chart-5: oklch(0.425 0.058 198.368);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.012 198.132);
--foreground: oklch(0.981 0.005 199.531);
--muted: oklch(0.177 0.025 327.691);
--muted-foreground: oklch(0.692 0.031 326.927);
--popover: oklch(0.14 0.012 198.132);
--popover-foreground: oklch(0.981 0.005 199.531);
--card: oklch(0.14 0.012 198.132);
--card-foreground: oklch(0.981 0.005 199.531);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.42 0.055 198.371);
--primary-foreground: oklch(0.903 0.036 199.092);
--secondary: oklch(0.353 0.107 328.852);
--secondary-foreground: oklch(0.862 0.061 327.135);
--accent: oklch(0.447 0.075 110.846);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.583 0.198 34.109);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.42 0.055 198.371);
--chart-1: oklch(0.42 0.055 198.371);
--chart-2: oklch(0.353 0.107 328.852);
--chart-3: oklch(0.447 0.075 110.846);
--chart-4: oklch(0.382 0.118 328.887);
--chart-5: oklch(0.425 0.058 198.368);
}