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.
Allure Light (rainglow) is a shadcn/ui theme built around a muted blue primary color (#555e68) with neutral gray accents (#d9d9d9). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted blue primary (#555e68) on a neutral background (#ffffff).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #ffffffwhite |
| Foreground | #555e68dimgray | #555e68dimgray |
| Card | #fafafasnow | #fafafasnow |
| Card foreground | #49515adarkslategray | #49515adarkslategray |
| Popover | #f7f7f7whitesmoke | #f7f7f7whitesmoke |
| Popover foreground | #3e444cdarkslategray | #3e444cdarkslategray |
| Primary | #555e68dimgray | #555e68dimgray |
| Primary foreground | #f7f7f8whitesmoke | #f7f7f8whitesmoke |
| Secondary | #bfbfbfsilver | #bfbfbfsilver |
| Secondary foreground | #262626darkslategray | #262626darkslategray |
| Muted | #e9e2e2gainsboro | #e9e2e2gainsboro |
| Muted foreground | #564343darkslategray | #564343darkslategray |
| Accent | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Accent foreground | #404040darkslategray | #404040darkslategray |
| Destructive | #810d09maroon | #810d09maroon |
| Destructive foreground | #fbc3c1pink | #fbc3c1pink |
| Border | #f2f2f2whitesmoke | #f2f2f2whitesmoke |
| Input | #ebebeblinen | #ebebeblinen |
| Ring | #555e68dimgray | #555e68dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.58:1 | AA |
| Text on card | 7.70:1 | AAA |
| Primary button | 6.17:1 | AA |
| Secondary button | 8.25:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.87:1 | AA |
| Text on background | 6.58:1 | AA |
| Text on card | 7.70:1 | AAA |
| Primary button | 6.17:1 | AA |
| Secondary button | 8.25:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.87:1 | AA |
Paste this into your globals.css to use Allure Light (rainglow) in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.477 0.02 251.756);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.977 0 180);
--popover-foreground: oklch(0.385 0.015 251.743);
--card: oklch(0.985 0 180);
--card-foreground: oklch(0.432 0.017 251.75);
--border: oklch(0.962 0 180);
--input: oklch(0.939 0 180);
--primary: oklch(0.477 0.02 251.756);
--primary-foreground: oklch(0.977 0.001 251.461);
--secondary: oklch(0.805 0 169.695);
--secondary-foreground: oklch(0.27 0 180);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.385 0.148 28.886);
--destructive-foreground: oklch(0.866 0.064 20.759);
--ring: oklch(0.477 0.02 251.756);
--chart-1: oklch(0.477 0.02 251.756);
--chart-2: oklch(0.805 0 169.695);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.829 0 180);
--chart-5: oklch(0.475 0.026 251.84);
}
.dark {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.477 0.02 251.756);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.977 0 180);
--popover-foreground: oklch(0.385 0.015 251.743);
--card: oklch(0.985 0 180);
--card-foreground: oklch(0.432 0.017 251.75);
--border: oklch(0.962 0 180);
--input: oklch(0.939 0 180);
--primary: oklch(0.477 0.02 251.756);
--primary-foreground: oklch(0.977 0.001 251.461);
--secondary: oklch(0.805 0 169.695);
--secondary-foreground: oklch(0.27 0 180);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.385 0.148 28.886);
--destructive-foreground: oklch(0.866 0.064 20.759);
--ring: oklch(0.477 0.02 251.756);
--chart-1: oklch(0.477 0.02 251.756);
--chart-2: oklch(0.805 0 169.695);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.829 0 180);
--chart-5: oklch(0.475 0.026 251.84);
}