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.
ReUI II (Italic) is a shadcn/ui theme built around a light yellow primary color (#f8f8f2) with muted blue accents (#49515f). The light mode uses a blue-tinted background (#282c34). Dark mode keeps the light yellow primary (#f8f8f2) on a blue-tinted background (#282c34).
| Token | Light | Dark |
|---|---|---|
| Background | #282c34darkslategray | #282c34darkslategray |
| Foreground | #ffffffwhite | #ffffffwhite |
| Card | #23272edarkslategray | #23272edarkslategray |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #21252bdarkslategray | #21252bdarkslategray |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #f8f8f2whitesmoke | #f8f8f2whitesmoke |
| Primary foreground | #35351ddarkslategray | #35351ddarkslategray |
| Secondary | #4d4d33darkolivegreen | #4d4d33darkolivegreen |
| Secondary foreground | #e0e0d1gainsboro | #e0e0d1gainsboro |
| Muted | #31363fdarkslategray | #31363fdarkslategray |
| Muted foreground | #afb5c0silver | #afb5c0silver |
| Accent | #49515fdarkslategray | #49515fdarkslategray |
| Accent foreground | #ebeceflavender | #ebeceflavender |
| Destructive | #ee5c3ftomato | #ee5c3ftomato |
| Destructive foreground | #000000black | #000000black |
| Border | #393a3cdarkslategray | #393a3cdarkslategray |
| Input | #404244darkslategray | #404244darkslategray |
| Ring | #f8f8f2whitesmoke | #f8f8f2whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 14.01:1 | AAA |
| Text on card | 14.96:1 | AAA |
| Primary button | 11.72:1 | AAA |
| Secondary button | 6.54:1 | AA |
| Muted text | 5.89:1 | AA |
| Accent | 6.80:1 | AA |
| Destructive | 6.24:1 | AA |
| Text on background | 14.01:1 | AAA |
| Text on card | 14.96:1 | AAA |
| Primary button | 11.72:1 | AAA |
| Secondary button | 6.54:1 | AA |
| Muted text | 5.89:1 | AA |
| Accent | 6.80:1 | AA |
| Destructive | 6.24:1 | AA |
Paste this into your globals.css to use ReUI II (Italic) in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.292 0.016 264.298);
--foreground: oklch(1 0 180);
--muted: oklch(0.332 0.017 264.31);
--muted-foreground: oklch(0.771 0.017 264.466);
--popover: oklch(0.262 0.013 264.313);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.272 0.014 264.308);
--card-foreground: oklch(1 0 180);
--border: oklch(0.348 0.004 264.509);
--input: oklch(0.377 0.005 264.508);
--primary: oklch(0.977 0.008 106.548);
--primary-foreground: oklch(0.322 0.04 108.432);
--secondary: oklch(0.411 0.04 108.031);
--secondary-foreground: oklch(0.904 0.02 106.802);
--accent: oklch(0.432 0.026 264.255);
--accent-foreground: oklch(0.944 0.004 264.536);
--destructive: oklch(0.661 0.186 33.177);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.977 0.008 106.548);
--chart-1: oklch(0.977 0.008 106.548);
--chart-2: oklch(0.411 0.04 108.031);
--chart-3: oklch(0.432 0.026 264.255);
--chart-4: oklch(0.444 0.044 108.055);
--chart-5: oklch(0.978 0.009 106.563);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.292 0.016 264.298);
--foreground: oklch(1 0 180);
--muted: oklch(0.332 0.017 264.31);
--muted-foreground: oklch(0.771 0.017 264.466);
--popover: oklch(0.262 0.013 264.313);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.272 0.014 264.308);
--card-foreground: oklch(1 0 180);
--border: oklch(0.348 0.004 264.509);
--input: oklch(0.377 0.005 264.508);
--primary: oklch(0.977 0.008 106.548);
--primary-foreground: oklch(0.322 0.04 108.432);
--secondary: oklch(0.411 0.04 108.031);
--secondary-foreground: oklch(0.904 0.02 106.802);
--accent: oklch(0.432 0.026 264.255);
--accent-foreground: oklch(0.944 0.004 264.536);
--destructive: oklch(0.661 0.186 33.177);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.977 0.008 106.548);
--chart-1: oklch(0.977 0.008 106.548);
--chart-2: oklch(0.411 0.04 108.031);
--chart-3: oklch(0.432 0.026 264.255);
--chart-4: oklch(0.444 0.044 108.055);
--chart-5: oklch(0.978 0.009 106.563);
}