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.
Breakfast is a shadcn/ui theme built around a vivid cyan primary color (#6acaf0) with vivid blue accents (#6a87f0). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the vivid cyan primary (#6acaf0) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbfcghostwhite | #010304black |
| Foreground | #050c0fblack | #fbfdfdwhite |
| Card | #f5f8fawhitesmoke | #020608black |
| Card foreground | #04090cblack | #ffffffwhite |
| Popover | #f8fbfcghostwhite | #010304black |
| Popover foreground | #050c0fblack | #fbfdfdwhite |
| Primary | #6acaf0skyblue | #6acaf0skyblue |
| Primary foreground | #041c25black | #041c25black |
| Secondary | #6af0d3aquamarine | #6af0d3aquamarine |
| Secondary foreground | #04251eblack | #04251eblack |
| Muted | #d7e0degainsboro | #1f2826darkslategray |
| Muted foreground | #595959dimgray | #a6a6a6darkgray |
| Accent | #6a87f0cornflowerblue | #6a87f0cornflowerblue |
| Accent foreground | #000000black | #000000black |
| Destructive | #a21907firebrick | #f63b23orangered |
| Destructive foreground | #fee1ddmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6acaf0skyblue | #6acaf0skyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.90:1 | AAA |
| Text on card | 18.80:1 | AAA |
| Primary button | 9.48:1 | AAA |
| Secondary button | 11.69:1 | AAA |
| Muted text | 5.19:1 | AA |
| Accent | 6.37:1 | AA |
| Destructive | 6.38:1 | AA |
| Text on background | 20.22:1 | AAA |
| Text on card | 20.31:1 | AAA |
| Primary button | 9.48:1 | AAA |
| Secondary button | 11.69:1 | AAA |
| Muted text | 6.18:1 | AA |
| Accent | 6.37:1 | AA |
| Destructive | 3.77:1 | AA Large |
Paste this into your globals.css to use Breakfast in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.003 223.16);
--foreground: oklch(0.15 0.014 221.925);
--muted: oklch(0.899 0.01 181.745);
--muted-foreground: oklch(0.465 0 180);
--popover: oklch(0.985 0.003 223.16);
--popover-foreground: oklch(0.15 0.014 221.925);
--card: oklch(0.978 0.004 223.175);
--card-foreground: oklch(0.135 0.013 218.777);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.796 0.105 226.249);
--primary-foreground: oklch(0.211 0.035 227.034);
--secondary: oklch(0.873 0.125 176.728);
--secondary-foreground: oklch(0.239 0.041 175.329);
--accent: oklch(0.652 0.159 269.908);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.457 0.173 30.933);
--destructive-foreground: oklch(0.931 0.033 26.71);
--ring: oklch(0.796 0.105 226.249);
--chart-1: oklch(0.796 0.105 226.249);
--chart-2: oklch(0.873 0.125 176.728);
--chart-3: oklch(0.652 0.159 269.908);
--chart-4: oklch(0.883 0.116 177.384);
--chart-5: oklch(0.798 0.108 226.426);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.094 0.009 218.048);
--foreground: oklch(0.993 0.002 223.147);
--muted: oklch(0.269 0.014 180.593);
--muted-foreground: oklch(0.724 0 180);
--popover: oklch(0.094 0.009 218.048);
--popover-foreground: oklch(0.993 0.002 223.147);
--card: oklch(0.118 0.011 218.048);
--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.796 0.105 226.249);
--primary-foreground: oklch(0.211 0.035 227.034);
--secondary: oklch(0.873 0.125 176.728);
--secondary-foreground: oklch(0.239 0.041 175.329);
--accent: oklch(0.652 0.159 269.908);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.638 0.225 31.038);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.796 0.105 226.249);
--chart-1: oklch(0.796 0.105 226.249);
--chart-2: oklch(0.873 0.125 176.728);
--chart-3: oklch(0.652 0.159 269.908);
--chart-4: oklch(0.883 0.116 177.384);
--chart-5: oklch(0.798 0.108 226.426);
}