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.
Colorful Little Dipper is a shadcn/ui theme built around a muted light blue primary color (#e2e5e9) with muted blue accents (#464f59). The light mode uses a blue-tinted background (#24292e). Dark mode keeps the muted light blue primary (#e2e5e9) on a blue-tinted background (#24292e).
| Token | Light | Dark |
|---|---|---|
| Background | #24292edarkslategray | #24292edarkslategray |
| Foreground | #e2e5e9gainsboro | #e2e5e9gainsboro |
| Card | #1f2428darkslategray | #1f2428darkslategray |
| Card foreground | #f1f2f4whitesmoke | #f1f2f4whitesmoke |
| Popover | #1d2125black | #1d2125black |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #e2e5e9gainsboro | #e2e5e9gainsboro |
| Primary foreground | #434b56darkslategray | #434b56darkslategray |
| Secondary | #3e3f42darkslategray | #3e3f42darkslategray |
| Secondary foreground | #d8d9dagainsboro | #d8d9dagainsboro |
| Muted | #2d3339darkslategray | #2d3339darkslategray |
| Muted foreground | #a9b3bcdarkgray | #a9b3bcdarkgray |
| Accent | #464f59darkslategray | #464f59darkslategray |
| Accent foreground | #e5e8eblavender | #e5e8eblavender |
| Destructive | #f81f1bred | #f81f1bred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #343637darkslategray | #343637darkslategray |
| Input | #3c3d3edarkslategray | #3c3d3edarkslategray |
| Ring | #e2e5e9gainsboro | #e2e5e9gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 11.63:1 | AAA |
| Text on card | 14.00:1 | AAA |
| Primary button | 6.98:1 | AA |
| Secondary button | 7.41:1 | AAA |
| Muted text | 5.99:1 | AA |
| Accent | 6.77:1 | AA |
| Destructive | 4.03:1 | AA Large |
| Text on background | 11.63:1 | AAA |
| Text on card | 14.00:1 | AAA |
| Primary button | 6.98:1 | AA |
| Secondary button | 7.41:1 | AAA |
| Muted text | 5.99:1 | AA |
| Accent | 6.77:1 | AA |
| Destructive | 4.03:1 | AA Large |
Paste this into your globals.css to use Colorful Little Dipper in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.277 0.011 248.24);
--foreground: oklch(0.921 0.006 254.989);
--muted: oklch(0.318 0.014 248.262);
--muted-foreground: oklch(0.761 0.017 248.048);
--popover: oklch(0.246 0.01 248.217);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.257 0.01 248.226);
--card-foreground: oklch(0.961 0.003 254.97);
--border: oklch(0.33 0.002 247.898);
--input: oklch(0.36 0.003 247.9);
--primary: oklch(0.921 0.006 254.989);
--primary-foreground: oklch(0.41 0.022 255.179);
--secondary: oklch(0.369 0.004 255.015);
--secondary-foreground: oklch(0.884 0.002 254.967);
--accent: oklch(0.423 0.02 248.298);
--accent-foreground: oklch(0.93 0.005 247.875);
--destructive: oklch(0.624 0.243 28.591);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.921 0.006 254.989);
--chart-1: oklch(0.921 0.006 254.989);
--chart-2: oklch(0.369 0.004 255.015);
--chart-3: oklch(0.423 0.02 248.298);
--chart-4: oklch(0.397 0.005 255.017);
--chart-5: oklch(0.92 0.007 254.997);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.277 0.011 248.24);
--foreground: oklch(0.921 0.006 254.989);
--muted: oklch(0.318 0.014 248.262);
--muted-foreground: oklch(0.761 0.017 248.048);
--popover: oklch(0.246 0.01 248.217);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.257 0.01 248.226);
--card-foreground: oklch(0.961 0.003 254.97);
--border: oklch(0.33 0.002 247.898);
--input: oklch(0.36 0.003 247.9);
--primary: oklch(0.921 0.006 254.989);
--primary-foreground: oklch(0.41 0.022 255.179);
--secondary: oklch(0.369 0.004 255.015);
--secondary-foreground: oklch(0.884 0.002 254.967);
--accent: oklch(0.423 0.02 248.298);
--accent-foreground: oklch(0.93 0.005 247.875);
--destructive: oklch(0.624 0.243 28.591);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.921 0.006 254.989);
--chart-1: oklch(0.921 0.006 254.989);
--chart-2: oklch(0.369 0.004 255.015);
--chart-3: oklch(0.423 0.02 248.298);
--chart-4: oklch(0.397 0.005 255.017);
--chart-5: oklch(0.92 0.007 254.997);
}