Webbed is a shadcn/ui theme built around a blue primary color (#739ede) with muted light blue accents (#e1e5ea). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the blue primary (#739ede) on a blue-tinted background (#03070c).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f9fcghostwhite | #03070cblack |
| Foreground | #02070dblack | #f6f7f8whitesmoke |
| Card | #f4f7fbghostwhite | #040910black |
| Card foreground | #020409black | #f9fafbghostwhite |
| Popover | #f4f7fbghostwhite | #040910black |
| Popover foreground | #020409black | #f9fafbghostwhite |
| Primary | #739edecornflowerblue | #739edecornflowerblue |
| Primary foreground | #060d19black | #060d19black |
| Secondary | #e1e5ealavender | #22252bdarkslategray |
| Secondary foreground | #3e4a5bdarkslategray | #b8bec7silver |
| Muted | #e4e9f1lavender | #0e131bblack |
| Muted foreground | #393e46darkslategray | #b9bec6silver |
| Accent | #e1e5ealavender | #22252bdarkslategray |
| Accent foreground | #3e4a5bdarkslategray | #b8bec7silver |
| Destructive | #cf4002orangered | #f24a02orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #739edecornflowerblue | #739edecornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.24:1 | AAA |
| Text on card | 19.04:1 | AAA |
| Primary button | 7.07:1 | AAA |
| Secondary button | 7.08:1 | AAA |
| Muted text | 8.85:1 | AAA |
| Accent | 7.08:1 | AAA |
| Destructive | 4.79:1 | AA |
| Text on background | 18.84:1 | AAA |
| Text on card | 19.09:1 | AAA |
| Primary button | 7.07:1 | AAA |
| Secondary button | 8.19:1 | AAA |
| Muted text | 9.96:1 | AAA |
| Accent | 8.19:1 | AAA |
| Destructive | 3.63:1 | AA Large |
Paste this into your globals.css to use Webbed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 258.324);
--foreground: oklch(0.123 0.019 248.622);
--muted: oklch(0.934 0.011 258.341);
--muted-foreground: oklch(0.364 0.015 258.371);
--popover: oklch(0.974 0.006 258.329);
--popover-foreground: oklch(0.107 0.017 247.794);
--card: oklch(0.974 0.006 258.329);
--card-foreground: oklch(0.107 0.017 247.794);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.693 0.107 258.283);
--primary-foreground: oklch(0.16 0.028 256.634);
--secondary: oklch(0.919 0.009 258.336);
--secondary-foreground: oklch(0.404 0.033 258.355);
--accent: oklch(0.919 0.009 258.336);
--accent-foreground: oklch(0.404 0.033 258.355);
--destructive: oklch(0.574 0.189 37.552);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.693 0.107 258.283);
--chart-1: oklch(0.693 0.107 258.283);
--chart-2: oklch(0.919 0.009 258.336);
--chart-3: oklch(0.919 0.009 258.336);
--chart-4: oklch(0.944 0.006 258.329);
--chart-5: oklch(0.692 0.112 258.279);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.016 250.3);
--foreground: oklch(0.976 0.002 258.318);
--muted: oklch(0.186 0.017 258.346);
--muted-foreground: oklch(0.8 0.012 258.347);
--popover: oklch(0.138 0.019 252.808);
--popover-foreground: oklch(0.984 0.001 258.316);
--card: oklch(0.138 0.019 252.808);
--card-foreground: oklch(0.984 0.001 258.316);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.693 0.107 258.283);
--primary-foreground: oklch(0.16 0.028 256.634);
--secondary: oklch(0.264 0.012 258.372);
--secondary-foreground: oklch(0.799 0.015 258.352);
--accent: oklch(0.264 0.012 258.372);
--accent-foreground: oklch(0.799 0.015 258.352);
--destructive: oklch(0.644 0.214 37.222);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.693 0.107 258.283);
--chart-1: oklch(0.693 0.107 258.283);
--chart-2: oklch(0.264 0.012 258.372);
--chart-3: oklch(0.264 0.012 258.372);
--chart-4: oklch(0.295 0.014 258.372);
--chart-5: oklch(0.692 0.112 258.279);
}