Webbed is a shadcn/ui theme built around a deep pink primary color (#4a0d20) with deep teal accents (#0d4a36). The light mode uses a neutral background (#fefbfc). Dark mode keeps the deep pink primary (#4a0d20) on a pink-tinted background (#0f0508).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #0f0508black |
| Foreground | #000000black | #fdfcfcsnow |
| Card | #fcf8f9snow | #13070bblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefbfcsnow | #0f0508black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #4a0d20maroon | #4a0d20maroon |
| Primary foreground | #ed9bb5lightpink | #ed9bb5lightpink |
| Secondary | #0d4a36darkslategray | #0d4a36darkslategray |
| Secondary foreground | #45deadmediumturquoise | #45deadmediumturquoise |
| Muted | #e9f1efwhitesmoke | #0e1613black |
| Muted foreground | #40544ddarkslategray | #abbfb9silver |
| Accent | #0d4a36darkslategray | #0d4a36darkslategray |
| Accent foreground | #45deadmediumturquoise | #45deadmediumturquoise |
| Destructive | #811709maroon | #e52910orangered |
| Destructive foreground | #fbc8c1pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4a0d20maroon | #4a0d20maroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.44:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 7.28:1 | AAA |
| Secondary button | 6.02:1 | AA |
| Muted text | 7.05:1 | AAA |
| Accent | 6.02:1 | AA |
| Destructive | 6.87:1 | AA |
| Text on background | 19.57:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 7.28:1 | AAA |
| Secondary button | 6.02:1 | AA |
| Muted text | 9.54:1 | AAA |
| Accent | 6.02:1 | AA |
| Destructive | 4.51:1 | AA |
Paste this into your globals.css to use Webbed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 355.692);
--foreground: oklch(0 0 0);
--muted: oklch(0.952 0.009 175.352);
--muted-foreground: oklch(0.426 0.026 173.706);
--popover: oklch(0.991 0.003 355.692);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.982 0.005 355.77);
--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.276 0.091 6.752);
--primary-foreground: oklch(0.779 0.103 359.231);
--secondary: oklch(0.365 0.069 166.696);
--secondary-foreground: oklch(0.809 0.146 167.455);
--accent: oklch(0.365 0.069 166.696);
--accent-foreground: oklch(0.809 0.146 167.455);
--destructive: oklch(0.392 0.142 31.036);
--destructive-foreground: oklch(0.875 0.059 27.038);
--ring: oklch(0.276 0.091 6.752);
--chart-1: oklch(0.276 0.091 6.752);
--chart-2: oklch(0.365 0.069 166.696);
--chart-3: oklch(0.365 0.069 166.696);
--chart-4: oklch(0.407 0.078 166.376);
--chart-5: oklch(0.277 0.094 7.337);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.02 356.809);
--foreground: oklch(0.991 0.002 355.67);
--muted: oklch(0.19 0.012 173.563);
--muted-foreground: oklch(0.787 0.023 174.748);
--popover: oklch(0.136 0.02 356.809);
--popover-foreground: oklch(0.991 0.002 355.67);
--card: oklch(0.148 0.024 358.697);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.276 0.091 6.752);
--primary-foreground: oklch(0.779 0.103 359.231);
--secondary: oklch(0.365 0.069 166.696);
--secondary-foreground: oklch(0.809 0.146 167.455);
--accent: oklch(0.365 0.069 166.696);
--accent-foreground: oklch(0.809 0.146 167.455);
--destructive: oklch(0.594 0.223 30.912);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.276 0.091 6.752);
--chart-1: oklch(0.276 0.091 6.752);
--chart-2: oklch(0.365 0.069 166.696);
--chart-3: oklch(0.365 0.069 166.696);
--chart-4: oklch(0.407 0.078 166.376);
--chart-5: oklch(0.277 0.094 7.337);
}