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.
Jumper is a shadcn/ui theme built around a green primary color (#a7e472) with pink accents (#e472a7). The light mode uses a neutral background (#fafdf7). Dark mode keeps the green primary (#a7e472) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fafdf7mintcream | #000000black |
| Foreground | #050802black | #f7f9f6whitesmoke |
| Card | #fafdf7mintcream | #000000black |
| Card foreground | #050802black | #f7f9f6whitesmoke |
| Popover | #fafdf7mintcream | #000000black |
| Popover foreground | #050802black | #f7f9f6whitesmoke |
| Primary | #a7e472lightgreen | #a7e472lightgreen |
| Primary foreground | #111e06black | #111e06black |
| Secondary | #72a7e4cornflowerblue | #72a7e4cornflowerblue |
| Secondary foreground | #06111eblack | #06111eblack |
| Muted | #e8eaedlavender | #121417black |
| Muted foreground | #595c5fdimgray | #a0a3a6darkgray |
| Accent | #e472a7palevioletred | #e472a7palevioletred |
| Accent foreground | #1e0611black | #1e0611black |
| Destructive | #e01106red | #e51106red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a7e472lightgreen | #a7e472lightgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.63:1 | AAA |
| Text on card | 19.63:1 | AAA |
| Primary button | 11.54:1 | AAA |
| Secondary button | 7.55:1 | AAA |
| Muted text | 5.59:1 | AA |
| Accent | 6.65:1 | AA |
| Destructive | 4.95:1 | AA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 11.54:1 | AAA |
| Secondary button | 7.55:1 | AAA |
| Muted text | 7.27:1 | AAA |
| Accent | 6.65:1 | AA |
| Destructive | 4.76:1 | AA |
Paste this into your globals.css to use Jumper in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.009 129.878);
--foreground: oklch(0.126 0.019 128.575);
--muted: oklch(0.937 0.005 251.494);
--muted-foreground: oklch(0.472 0.006 251.548);
--popover: oklch(0.99 0.009 129.878);
--popover-foreground: oklch(0.126 0.019 128.575);
--card: oklch(0.99 0.009 129.878);
--card-foreground: oklch(0.126 0.019 128.575);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.853 0.159 132.093);
--primary-foreground: oklch(0.216 0.047 132.285);
--secondary: oklch(0.716 0.106 252.55);
--secondary-foreground: oklch(0.174 0.032 251.687);
--accent: oklch(0.699 0.153 352.5);
--accent-foreground: oklch(0.17 0.047 353.259);
--destructive: oklch(0.573 0.23 29.546);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.853 0.159 132.093);
--chart-1: oklch(0.853 0.159 132.093);
--chart-2: oklch(0.716 0.106 252.55);
--chart-3: oklch(0.699 0.153 352.5);
--chart-4: oklch(0.741 0.096 252.382);
--chart-5: oklch(0.858 0.165 132.199);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.979 0.004 129.823);
--muted: oklch(0.191 0.007 251.743);
--muted-foreground: oklch(0.714 0.005 251.509);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.979 0.004 129.823);
--card: oklch(0 0 0);
--card-foreground: oklch(0.979 0.004 129.823);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.853 0.159 132.093);
--primary-foreground: oklch(0.216 0.047 132.285);
--secondary: oklch(0.716 0.106 252.55);
--secondary-foreground: oklch(0.174 0.032 251.687);
--accent: oklch(0.699 0.153 352.5);
--accent-foreground: oklch(0.17 0.047 353.259);
--destructive: oklch(0.582 0.234 29.542);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.853 0.159 132.093);
--chart-1: oklch(0.853 0.159 132.093);
--chart-2: oklch(0.716 0.106 252.55);
--chart-3: oklch(0.699 0.153 352.5);
--chart-4: oklch(0.741 0.096 252.382);
--chart-5: oklch(0.858 0.165 132.199);
}