Webbed is a shadcn/ui theme built around a blue primary color (#94c6eb) with muted light blue accents (#c4d0d9). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#94c6eb) on a neutral background (#020608).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020608black |
| Foreground | #000000black | #f8fafbghostwhite |
| Card | #fcfcfcsnow | #04080cblack |
| Card foreground | #000000black | #fcfdfdwhite |
| Popover | #ffffffwhite | #020608black |
| Popover foreground | #000000black | #f8fafbghostwhite |
| Primary | #94c6ebskyblue | #94c6ebskyblue |
| Primary foreground | #0c2b40darkslategray | #0c2b40darkslategray |
| Secondary | #dce1e4gainsboro | #14171ablack |
| Secondary foreground | #3e4951darkslategray | #a6b2b9darkgray |
| Muted | #f1f3f4whitesmoke | #0b0d0eblack |
| Muted foreground | #3d4348darkslategray | #b7bec2silver |
| Accent | #c4d0d9lightgrey | #1f282edarkslategray |
| Accent foreground | #2a3741darkslategray | #b3c1ccsilver |
| Destructive | #971c11brown | #ea4c3etomato |
| Destructive foreground | #fbe1dfmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #94c6ebskyblue | #94c6ebskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 8.06:1 | AAA |
| Secondary button | 7.00:1 | AAA |
| Muted text | 8.97:1 | AAA |
| Accent | 7.78:1 | AAA |
| Destructive | 6.77:1 | AA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 8.06:1 | AAA |
| Secondary button | 8.27:1 | AAA |
| Muted text | 10.34:1 | AAA |
| Accent | 8.19:1 | AAA |
| Destructive | 3.74:1 | AA Large |
Paste this into your globals.css to use Webbed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.962 0.003 238.4);
--muted-foreground: oklch(0.38 0.011 238.79);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.805 0.074 239.902);
--primary-foreground: oklch(0.277 0.054 243.287);
--secondary: oklch(0.907 0.007 238.468);
--secondary-foreground: oklch(0.399 0.019 239.086);
--accent: oklch(0.852 0.018 238.658);
--accent-foreground: oklch(0.331 0.024 239.525);
--destructive: oklch(0.441 0.16 29.952);
--destructive-foreground: oklch(0.931 0.029 23.911);
--ring: oklch(0.805 0.074 239.902);
--chart-1: oklch(0.805 0.074 239.902);
--chart-2: oklch(0.907 0.007 238.468);
--chart-3: oklch(0.852 0.018 238.658);
--chart-4: oklch(0.931 0.005 238.439);
--chart-5: oklch(0.806 0.077 239.985);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.115 0.012 231.409);
--foreground: oklch(0.985 0.002 238.398);
--muted: oklch(0.158 0.004 238.73);
--muted-foreground: oklch(0.797 0.009 238.528);
--popover: oklch(0.115 0.012 231.409);
--popover-foreground: oklch(0.985 0.002 238.398);
--card: oklch(0.131 0.013 232.024);
--card-foreground: oklch(0.992 0.001 238.38);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.805 0.074 239.902);
--primary-foreground: oklch(0.277 0.054 243.287);
--secondary: oklch(0.204 0.007 238.847);
--secondary-foreground: oklch(0.756 0.017 238.683);
--accent: oklch(0.269 0.017 239.367);
--accent-foreground: oklch(0.804 0.022 238.764);
--destructive: oklch(0.636 0.196 28.919);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.805 0.074 239.902);
--chart-1: oklch(0.805 0.074 239.902);
--chart-2: oklch(0.204 0.007 238.847);
--chart-3: oklch(0.269 0.017 239.367);
--chart-4: oklch(0.237 0.009 238.9);
--chart-5: oklch(0.806 0.077 239.985);
}