Generate feedback colors (success, warning, error, and info) for shadcn/ui
Go to generatorUsed by 4k+ developers. Want me to build your product next? Let's work together.
Webbed is a shadcn/ui theme built around a light teal primary color (#b1d8c7) with light orange accents (#d8c7b1). The light mode uses a neutral background (#ffffff). Dark mode keeps the light teal primary (#b1d8c7) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #000000black | #fcfdfdwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #b1d8c7silver | #b1d8c7silver |
| Primary foreground | #1d3a2ddarkslategray | #1d3a2ddarkslategray |
| Secondary | #c7b1d8thistle | #c7b1d8thistle |
| Secondary foreground | #2d1d3adarkslategray | #2d1d3adarkslategray |
| Muted | #ddd1e5gainsboro | #251a2edarkslategray |
| Muted foreground | #685973dimgray | #9b8ca6darkgray |
| Accent | #d8c7b1silver | #d8c7b1silver |
| Accent foreground | #3a2d1ddarkslategray | #3a2d1ddarkslategray |
| Destructive | #bb460cfirebrick | #f16722chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b1d8c7silver | #b1d8c7silver |
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 | 7.95:1 | AAA |
| Secondary button | 7.93:1 | AAA |
| Muted text | 4.39:1 | AA Large |
| Accent | 8.07:1 | AAA |
| Destructive | 5.24:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.95:1 | AAA |
| Secondary button | 7.93:1 | AAA |
| Muted text | 5.30:1 | AA |
| Accent | 8.07:1 | AAA |
| Destructive | 6.71:1 | AA |
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.877 0.03 310.79);
--muted-foreground: oklch(0.488 0.045 310.275);
--popover: oklch(0.992 0 161.565);
--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.849 0.047 167.084);
--primary-foreground: oklch(0.32 0.042 164.278);
--secondary: oklch(0.792 0.059 310.44);
--secondary-foreground: oklch(0.265 0.056 309.155);
--accent: oklch(0.837 0.035 74.63);
--accent-foreground: oklch(0.307 0.032 73.593);
--destructive: oklch(0.548 0.162 41.264);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.849 0.047 167.084);
--chart-1: oklch(0.849 0.047 167.084);
--chart-2: oklch(0.792 0.059 310.44);
--chart-3: oklch(0.837 0.035 74.63);
--chart-4: oklch(0.819 0.051 310.547);
--chart-5: oklch(0.851 0.051 166.935);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 168.708);
--muted: oklch(0.24 0.04 309.583);
--muted-foreground: oklch(0.661 0.042 310.531);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.849 0.047 167.084);
--primary-foreground: oklch(0.32 0.042 164.278);
--secondary: oklch(0.792 0.059 310.44);
--secondary-foreground: oklch(0.265 0.056 309.155);
--accent: oklch(0.837 0.035 74.63);
--accent-foreground: oklch(0.307 0.032 73.593);
--destructive: oklch(0.677 0.186 42.945);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.849 0.047 167.084);
--chart-1: oklch(0.849 0.047 167.084);
--chart-2: oklch(0.792 0.059 310.44);
--chart-3: oklch(0.837 0.035 74.63);
--chart-4: oklch(0.819 0.051 310.547);
--chart-5: oklch(0.851 0.051 166.935);
}