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.
Delphi+ (Classic) is a shadcn/ui theme built around a vivid yellow primary color (#ffff00) with vivid indigo accents (#0000cc). The light mode uses an indigo-tinted background (#000080). Dark mode keeps the vivid yellow primary (#ffff00) on an indigo-tinted background (#000080).
| Token | Light | Dark |
|---|---|---|
| Background | #000080navy | #000080navy |
| Foreground | #ffff00yellow | #ffff00yellow |
| Card | #000075navy | #000075navy |
| Card foreground | #ffff19yellow | #ffff19yellow |
| Popover | #000070navy | #000070navy |
| Popover foreground | #ffff33yellow | #ffff33yellow |
| Primary | #ffff00yellow | #ffff00yellow |
| Primary foreground | #333300darkgreen | #333300darkgreen |
| Secondary | #53532ddarkolivegreen | #53532ddarkolivegreen |
| Secondary foreground | #e4e4cdgainsboro | #e4e4cdgainsboro |
| Muted | #414153darkslategray | #414153darkslategray |
| Muted foreground | #c3c3d0silver | #c3c3d0silver |
| Accent | #0000ccmediumblue | #0000ccmediumblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #eb2b1ecrimson | #eb2b1ecrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #080891darkblue | #080891darkblue |
| Input | #0808a0darkblue | #0808a0darkblue |
| Ring | #ffff00yellow | #ffff00yellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 14.93:1 | AAA |
| Text on card | 15.55:1 | AAA |
| Primary button | 12.11:1 | AAA |
| Secondary button | 6.17:1 | AA |
| Muted text | 5.71:1 | AA |
| Accent | 11.21:1 | AAA |
| Destructive | 4.27:1 | AA Large |
| Text on background | 14.93:1 | AAA |
| Text on card | 15.55:1 | AAA |
| Primary button | 12.11:1 | AAA |
| Secondary button | 6.17:1 | AA |
| Muted text | 5.71:1 | AA |
| Accent | 11.21:1 | AAA |
| Destructive | 4.27:1 | AA Large |
Paste this into your globals.css to use Delphi+ (Classic) in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.27 0.187 264.052);
--foreground: oklch(0.968 0.211 109.769);
--muted: oklch(0.383 0.03 284.893);
--muted-foreground: oklch(0.821 0.018 286);
--popover: oklch(0.247 0.171 264.052);
--popover-foreground: oklch(0.969 0.201 109.623);
--card: oklch(0.255 0.176 264.052);
--card-foreground: oklch(0.968 0.208 109.724);
--border: oklch(0.305 0.2 265.825);
--input: oklch(0.326 0.216 265.647);
--primary: oklch(0.968 0.211 109.769);
--primary-foreground: oklch(0.311 0.068 109.769);
--secondary: oklch(0.432 0.057 108.563);
--secondary-foreground: oklch(0.913 0.031 106.989);
--accent: oklch(0.382 0.265 264.052);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.608 0.226 29.54);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.968 0.211 109.769);
--chart-1: oklch(0.968 0.211 109.769);
--chart-2: oklch(0.432 0.057 108.563);
--chart-3: oklch(0.382 0.265 264.052);
--chart-4: oklch(0.467 0.062 108.59);
--chart-5: oklch(0.979 0.214 109.774);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.27 0.187 264.052);
--foreground: oklch(0.968 0.211 109.769);
--muted: oklch(0.383 0.03 284.893);
--muted-foreground: oklch(0.821 0.018 286);
--popover: oklch(0.247 0.171 264.052);
--popover-foreground: oklch(0.969 0.201 109.623);
--card: oklch(0.255 0.176 264.052);
--card-foreground: oklch(0.968 0.208 109.724);
--border: oklch(0.305 0.2 265.825);
--input: oklch(0.326 0.216 265.647);
--primary: oklch(0.968 0.211 109.769);
--primary-foreground: oklch(0.311 0.068 109.769);
--secondary: oklch(0.432 0.057 108.563);
--secondary-foreground: oklch(0.913 0.031 106.989);
--accent: oklch(0.382 0.265 264.052);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.608 0.226 29.54);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.968 0.211 109.769);
--chart-1: oklch(0.968 0.211 109.769);
--chart-2: oklch(0.432 0.057 108.563);
--chart-3: oklch(0.382 0.265 264.052);
--chart-4: oklch(0.467 0.062 108.59);
--chart-5: oklch(0.979 0.214 109.774);
}