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.
Feisty is a shadcn/ui theme built around a vivid deep green primary color (#206e0d) with vivid deep red accents (#6e0d20). The light mode uses a neutral background (#f8fdf7). Dark mode keeps the vivid deep green primary (#206e0d) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fdf7mintcream | #000000black |
| Foreground | #081505black | #f6f9f5whitesmoke |
| Card | #f5fbf3whitesmoke | #030303black |
| Card foreground | #061104black | #f9fbf9mintcream |
| Popover | #f8fdf7mintcream | #000000black |
| Popover foreground | #081505black | #f6f9f5whitesmoke |
| Primary | #206e0dforestgreen | #206e0dforestgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #0d206emidnightblue | #0d206emidnightblue |
| Secondary foreground | #b6c3f6lightsteelblue | #b6c3f6lightsteelblue |
| Muted | #d0d3e2lightgrey | #1d212fdarkslategray |
| Muted foreground | #565861dimgray | #9ea0a9darkgray |
| Accent | #6e0d20maroon | #6e0d20maroon |
| Accent foreground | #f6b6c3lightpink | #f6b6c3lightpink |
| Destructive | #6f120cmaroon | #e22518crimson |
| Destructive foreground | #f7bab5lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #206e0dforestgreen | #206e0dforestgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.16:1 | AAA |
| Text on card | 18.37:1 | AAA |
| Primary button | 6.40:1 | AA |
| Secondary button | 8.36:1 | AAA |
| Muted text | 4.75:1 | AA |
| Accent | 7.14:1 | AAA |
| Destructive | 7.16:1 | AAA |
| Text on background | 19.78:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 6.40:1 | AA |
| Secondary button | 8.36:1 | AAA |
| Muted text | 6.15:1 | AA |
| Accent | 7.14:1 | AAA |
| Destructive | 4.64:1 | AA |
Paste this into your globals.css to use Feisty in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.008 139.442);
--foreground: oklch(0.177 0.038 138.54);
--muted: oklch(0.869 0.021 274.734);
--muted-foreground: oklch(0.463 0.014 274.631);
--popover: oklch(0.988 0.008 139.442);
--popover-foreground: oklch(0.177 0.038 138.54);
--card: oklch(0.982 0.012 139.441);
--card-foreground: oklch(0.161 0.033 138.042);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.471 0.146 140.561);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.292 0.135 266.27);
--secondary-foreground: oklch(0.825 0.074 273.747);
--accent: oklch(0.349 0.128 17.385);
--accent-foreground: oklch(0.839 0.076 5.584);
--destructive: oklch(0.352 0.127 29.324);
--destructive-foreground: oklch(0.843 0.072 23.367);
--ring: oklch(0.471 0.146 140.561);
--chart-1: oklch(0.471 0.146 140.561);
--chart-2: oklch(0.292 0.135 266.27);
--chart-3: oklch(0.349 0.128 17.385);
--chart-4: oklch(0.315 0.149 266.096);
--chart-5: oklch(0.476 0.149 140.653);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.98 0.006 139.443);
--muted: oklch(0.25 0.028 273.344);
--muted-foreground: oklch(0.706 0.013 274.804);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.98 0.006 139.443);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.986 0.004 139.443);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.471 0.146 140.561);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.292 0.135 266.27);
--secondary-foreground: oklch(0.825 0.074 273.747);
--accent: oklch(0.349 0.128 17.385);
--accent-foreground: oklch(0.839 0.076 5.584);
--destructive: oklch(0.587 0.222 29.638);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.471 0.146 140.561);
--chart-1: oklch(0.471 0.146 140.561);
--chart-2: oklch(0.292 0.135 266.27);
--chart-3: oklch(0.349 0.128 17.385);
--chart-4: oklch(0.315 0.149 266.096);
--chart-5: oklch(0.476 0.149 140.653);
}