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.
Wet is a shadcn/ui theme built around a light violet primary color (#f7effa) with light green accents (#f3faef). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the light violet primary (#f7effa) on a violet-tinted background (#0c060e).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #0c060eblack |
| Foreground | #000000black | #f8f6f8whitesmoke |
| Card | #fdfcfdwhite | #0c060eblack |
| Card foreground | #000000black | #f8f6f8whitesmoke |
| Popover | #fdfcfdwhite | #0c060eblack |
| Popover foreground | #000000black | #f8f6f8whitesmoke |
| Primary | #f7effawhitesmoke | #f7effawhitesmoke |
| Primary foreground | #702c8crebeccapurple | #702c8crebeccapurple |
| Secondary | #f3faefhoneydew | #f3faefhoneydew |
| Secondary foreground | #203e14darkgreen | #203e14darkgreen |
| Muted | #d9e0d6gainsboro | #22291fblack |
| Muted foreground | #5f7557dimgray | #92a88adarkseagreen |
| Accent | #f3faefhoneydew | #f3faefhoneydew |
| Accent foreground | #203e14darkgreen | #203e14darkgreen |
| Destructive | #e11005red | #fa291eorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f7effawhitesmoke | #f7effawhitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.45:1 | AAA |
| Text on card | 20.45:1 | AAA |
| Primary button | 7.72:1 | AAA |
| Secondary button | 11.20:1 | AAA |
| Muted text | 3.74:1 | AA Large |
| Accent | 11.20:1 | AAA |
| Destructive | 4.91:1 | AA |
| Text on background | 18.63:1 | AAA |
| Text on card | 18.63:1 | AAA |
| Primary button | 7.72:1 | AAA |
| Secondary button | 11.20:1 | AAA |
| Muted text | 5.85:1 | AA |
| Accent | 11.20:1 | AAA |
| Destructive | 3.87:1 | AA Large |
Paste this into your globals.css to use Wet in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 316.601);
--foreground: oklch(0 0 0);
--muted: oklch(0.899 0.015 136.661);
--muted-foreground: oklch(0.537 0.053 136.943);
--popover: oklch(0.991 0.003 316.601);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.003 316.601);
--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.963 0.016 316.56);
--primary-foreground: oklch(0.435 0.159 314.857);
--secondary: oklch(0.977 0.016 136.658);
--secondary-foreground: oklch(0.329 0.077 137.856);
--accent: oklch(0.977 0.016 136.658);
--accent-foreground: oklch(0.329 0.077 137.856);
--destructive: oklch(0.575 0.231 29.568);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.963 0.016 316.56);
--chart-1: oklch(0.963 0.016 316.56);
--chart-2: oklch(0.977 0.016 136.658);
--chart-3: oklch(0.977 0.016 136.658);
--chart-4: oklch(0.994 0.004 136.621);
--chart-5: oklch(0.962 0.017 316.557);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.023 316.894);
--foreground: oklch(0.976 0.003 316.6);
--muted: oklch(0.269 0.021 136.859);
--muted-foreground: oklch(0.707 0.05 136.835);
--popover: oklch(0.136 0.023 316.894);
--popover-foreground: oklch(0.976 0.003 316.6);
--card: oklch(0.136 0.023 316.894);
--card-foreground: oklch(0.976 0.003 316.6);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.963 0.016 316.56);
--primary-foreground: oklch(0.435 0.159 314.857);
--secondary: oklch(0.977 0.016 136.658);
--secondary-foreground: oklch(0.329 0.077 137.856);
--accent: oklch(0.977 0.016 136.658);
--accent-foreground: oklch(0.329 0.077 137.856);
--destructive: oklch(0.633 0.241 29.188);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.963 0.016 316.56);
--chart-1: oklch(0.963 0.016 316.56);
--chart-2: oklch(0.977 0.016 136.658);
--chart-3: oklch(0.977 0.016 136.658);
--chart-4: oklch(0.994 0.004 136.621);
--chart-5: oklch(0.962 0.017 316.557);
}