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.
Armament is a shadcn/ui theme built around a vivid green primary color (#16df77) with vivid teal accents (#16dfdb). The light mode uses a neutral background (#fbfefc). Dark mode keeps the vivid green primary (#16df77) on a neutral background (#020403).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #020403black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fbfefcwhite | #020403black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbfefcwhite | #020403black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #16df77springgreen | #16df77springgreen |
| Primary foreground | #042514black | #042514black |
| Secondary | #19df16limegreen | #19df16limegreen |
| Secondary foreground | #042504black | #042504black |
| Muted | #ecf3ecwhitesmoke | #0c130cblack |
| Muted foreground | #435143darkslategray | #aebcaedarkgray |
| Accent | #16dfdbdarkturquoise | #16dfdbdarkturquoise |
| Accent foreground | #042525black | #042525black |
| Destructive | #970f0cdarkred | #ef3734crimson |
| Destructive foreground | #fcdad9mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #16df77springgreen | #16df77springgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.65:1 | AAA |
| Text on card | 20.65:1 | AAA |
| Primary button | 9.24:1 | AAA |
| Secondary button | 9.11:1 | AAA |
| Muted text | 7.46:1 | AAA |
| Accent | 9.71:1 | AAA |
| Destructive | 6.77:1 | AA |
| Text on background | 20.61:1 | AAA |
| Text on card | 20.61:1 | AAA |
| Primary button | 9.24:1 | AAA |
| Secondary button | 9.11:1 | AAA |
| Muted text | 9.52:1 | AAA |
| Accent | 9.71:1 | AAA |
| Destructive | 3.99:1 | AA Large |
Paste this into your globals.css to use Armament in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 164.208);
--foreground: oklch(0 0 0);
--muted: oklch(0.958 0.012 145.01);
--muted-foreground: oklch(0.419 0.03 144.576);
--popover: oklch(0.994 0.003 164.208);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.003 164.208);
--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.793 0.203 152.409);
--primary-foreground: oklch(0.235 0.051 156.655);
--secondary: oklch(0.784 0.261 142.493);
--secondary-foreground: oklch(0.232 0.07 142.595);
--accent: oklch(0.817 0.138 192.839);
--accent-foreground: oklch(0.241 0.038 193.329);
--destructive: oklch(0.431 0.168 28.581);
--destructive-foreground: oklch(0.916 0.038 19.025);
--ring: oklch(0.793 0.203 152.409);
--chart-1: oklch(0.793 0.203 152.409);
--chart-2: oklch(0.784 0.261 142.493);
--chart-3: oklch(0.817 0.138 192.839);
--chart-4: oklch(0.81 0.268 142.504);
--chart-5: oklch(0.802 0.208 152.06);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.01 164.368);
--foreground: oklch(1 0 180);
--muted: oklch(0.176 0.019 144.327);
--muted-foreground: oklch(0.781 0.026 144.863);
--popover: oklch(0.096 0.01 164.368);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.096 0.01 164.368);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.793 0.203 152.409);
--primary-foreground: oklch(0.235 0.051 156.655);
--secondary: oklch(0.784 0.261 142.493);
--secondary-foreground: oklch(0.232 0.07 142.595);
--accent: oklch(0.817 0.138 192.839);
--accent-foreground: oklch(0.241 0.038 193.329);
--destructive: oklch(0.623 0.219 27.075);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.793 0.203 152.409);
--chart-1: oklch(0.793 0.203 152.409);
--chart-2: oklch(0.784 0.261 142.493);
--chart-3: oklch(0.817 0.138 192.839);
--chart-4: oklch(0.81 0.268 142.504);
--chart-5: oklch(0.802 0.208 152.06);
}