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.
Busy is a shadcn/ui theme built around a neutral gray primary color (#6b6669) with neutral gray accents (#dcdbdb). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#6b6669) on a pink-tinted background (#0f050a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0f050ablack |
| Foreground | #10040ablack | #ffffffwhite |
| Card | #fcfcfcsnow | #13060dblack |
| Card foreground | #0c0308black | #ffffffwhite |
| Popover | #fcfcfcsnow | #13060dblack |
| Popover foreground | #0c0308black | #ffffffwhite |
| Primary | #6b6669dimgray | #6b6669dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dcdbdbgainsboro | #1e1a1cblack |
| Secondary foreground | #434242darkslategray | #b9b1b5silver |
| Muted | #e9d8e1gainsboro | #27161fblack |
| Muted foreground | #5e5a5cdimgray | #a5a1a3darkgray |
| Accent | #dcdbdbgainsboro | #1e1a1cblack |
| Accent foreground | #434242darkslategray | #b9b1b5silver |
| Destructive | #830b07maroon | #f32720crimson |
| Destructive foreground | #fcc2c0pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6b6669dimgray | #6b6669dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.11:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 5.61:1 | AA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 4.95:1 | AA |
| Accent | 7.24:1 | AAA |
| Destructive | 6.76:1 | AA |
| Text on background | 20.04:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 5.61:1 | AA |
| Secondary button | 8.19:1 | AAA |
| Muted text | 6.74:1 | AA |
| Accent | 8.19:1 | AAA |
| Destructive | 4.09:1 | AA Large |
Paste this into your globals.css to use Busy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.135 0.028 346.291);
--muted: oklch(0.898 0.023 344.929);
--muted-foreground: oklch(0.472 0.006 344.586);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.122 0.024 344.463);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.122 0.024 344.463);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.516 0.006 344.591);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.892 0.001 344.313);
--secondary-foreground: oklch(0.379 0.002 344.429);
--accent: oklch(0.892 0.001 344.313);
--accent-foreground: oklch(0.379 0.002 344.429);
--destructive: oklch(0.388 0.152 29.082);
--destructive-foreground: oklch(0.865 0.067 20.806);
--ring: oklch(0.516 0.006 344.591);
--chart-1: oklch(0.516 0.006 344.591);
--chart-2: oklch(0.892 0.001 344.313);
--chart-3: oklch(0.892 0.001 344.313);
--chart-4: oklch(0.915 0.001 344.306);
--chart-5: oklch(0.512 0.016 345.048);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.024 346.084);
--foreground: oklch(1 0 180);
--muted: oklch(0.227 0.033 347.714);
--muted-foreground: oklch(0.714 0.005 344.465);
--popover: oklch(0.149 0.027 347.63);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.149 0.027 347.63);
--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.516 0.006 344.591);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.224 0.006 344.977);
--secondary-foreground: oklch(0.768 0.012 344.679);
--accent: oklch(0.224 0.006 344.977);
--accent-foreground: oklch(0.768 0.012 344.679);
--destructive: oklch(0.619 0.235 28.697);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.516 0.006 344.591);
--chart-1: oklch(0.516 0.006 344.591);
--chart-2: oklch(0.224 0.006 344.977);
--chart-3: oklch(0.224 0.006 344.977);
--chart-4: oklch(0.256 0.008 345.031);
--chart-5: oklch(0.512 0.016 345.048);
}