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.
Incomplete is a shadcn/ui theme built around an orange primary color (#d79642) with violet accents (#9642d7). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#d79642) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030302black |
| Foreground | #090602black | #f9f8f5whitesmoke |
| Card | #ffffffwhite | #030302black |
| Card foreground | #090602black | #f9f8f5whitesmoke |
| Popover | #ffffffwhite | #030302black |
| Popover foreground | #090602black | #f9f8f5whitesmoke |
| Primary | #d79642peru | #d79642peru |
| Primary foreground | #000000black | #000000black |
| Secondary | #42d796mediumaquamarine | #42d796mediumaquamarine |
| Secondary foreground | #0d3f2adarkslategray | #0d3f2adarkslategray |
| Muted | #dbe6e1gainsboro | #19241fblack |
| Muted foreground | #3d5249darkslategray | #adc2b9silver |
| Accent | #9642d7darkorchid | #9642d7darkorchid |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #e61f00red | #ff4a2etomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d79642peru | #d79642peru |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.22:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 8.33:1 | AAA |
| Secondary button | 6.45:1 | AA |
| Muted text | 6.56:1 | AA |
| Accent | 5.18:1 | AA |
| Destructive | 4.62:1 | AA |
| Text on background | 19.44:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 8.33:1 | AAA |
| Secondary button | 6.45:1 | AA |
| Muted text | 8.49:1 | AAA |
| Accent | 5.18:1 | AA |
| Destructive | 3.35:1 | AA Large |
Paste this into your globals.css to use Incomplete in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.122 0.016 83.719);
--muted: oklch(0.915 0.014 168.296);
--muted-foreground: oklch(0.418 0.031 166.487);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.122 0.016 83.719);
--card: oklch(1 0 180);
--card-foreground: oklch(0.122 0.016 83.719);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.722 0.126 70.458);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.785 0.156 160.235);
--secondary-foreground: oklch(0.329 0.065 160.365);
--accent: oklch(0.561 0.219 306.474);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.589 0.23 30.957);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.722 0.126 70.458);
--chart-1: oklch(0.722 0.126 70.458);
--chart-2: oklch(0.785 0.156 160.235);
--chart-3: oklch(0.561 0.219 306.474);
--chart-4: oklch(0.796 0.149 161.134);
--chart-5: oklch(0.726 0.131 70.048);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.094 0.006 79.442);
--foreground: oklch(0.979 0.004 74.932);
--muted: oklch(0.249 0.019 166.399);
--muted-foreground: oklch(0.796 0.027 167.762);
--popover: oklch(0.094 0.006 79.442);
--popover-foreground: oklch(0.979 0.004 74.932);
--card: oklch(0.094 0.006 79.442);
--card-foreground: oklch(0.979 0.004 74.932);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.722 0.126 70.458);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.785 0.156 160.235);
--secondary-foreground: oklch(0.329 0.065 160.365);
--accent: oklch(0.561 0.219 306.474);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.667 0.222 31.65);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.722 0.126 70.458);
--chart-1: oklch(0.722 0.126 70.458);
--chart-2: oklch(0.785 0.156 160.235);
--chart-3: oklch(0.561 0.219 306.474);
--chart-4: oklch(0.796 0.149 161.134);
--chart-5: oklch(0.726 0.131 70.048);
}