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.
Frizzy is a shadcn/ui theme built around a muted orange primary color (#5b4d43) with muted yellow accents (#5b5943). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the muted orange primary (#5b4d43) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfaf8snow | #000000black |
| Foreground | #000000black | #faf7f5whitesmoke |
| Card | #fcfaf8snow | #000000black |
| Card foreground | #000000black | #faf7f5whitesmoke |
| Popover | #fcfaf8snow | #000000black |
| Popover foreground | #000000black | #faf7f5whitesmoke |
| Primary | #5b4d43darkolivegreen | #5b4d43darkolivegreen |
| Primary foreground | #ebe8e5linen | #ebe8e5linen |
| Secondary | #5b4345darkolivegreen | #5b4345darkolivegreen |
| Secondary foreground | #ebe5e5linen | #ebe5e5linen |
| Muted | #f7eeeelinen | #110809black |
| Muted foreground | #604d4edimgray | #b29fa0darkgray |
| Accent | #5b5943darkolivegreen | #5b5943darkolivegreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #662505maroon | #ef570borangered |
| Destructive foreground | #fbc0a2navajowhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5b4d43darkolivegreen | #5b4d43darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.11:1 | AAA |
| Text on card | 20.11:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 7.22:1 | AAA |
| Muted text | 6.88:1 | AA |
| Accent | 7.08:1 | AAA |
| Destructive | 7.15:1 | AAA |
| Text on background | 19.68:1 | AAA |
| Text on card | 19.68:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 7.22:1 | AAA |
| Muted text | 7.86:1 | AAA |
| Accent | 7.08:1 | AAA |
| Destructive | 3.48:1 | AA Large |
Paste this into your globals.css to use Frizzy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.003 60.241);
--foreground: oklch(0 0 0);
--muted: oklch(0.955 0.01 12.65);
--muted-foreground: oklch(0.441 0.026 13.668);
--popover: oklch(0.985 0.003 60.241);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.985 0.003 60.241);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.432 0.024 59.478);
--primary-foreground: oklch(0.932 0.006 60.197);
--secondary: oklch(0.41 0.033 14.152);
--secondary-foreground: oklch(0.926 0.008 12.596);
--accent: oklch(0.46 0.034 104.25);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.358 0.102 42.503);
--destructive-foreground: oklch(0.853 0.079 47.777);
--ring: oklch(0.432 0.024 59.478);
--chart-1: oklch(0.432 0.024 59.478);
--chart-2: oklch(0.41 0.033 14.152);
--chart-3: oklch(0.46 0.034 104.25);
--chart-4: oklch(0.436 0.036 14.178);
--chart-5: oklch(0.434 0.029 59.301);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.978 0.004 60.231);
--muted: oklch(0.149 0.017 14.552);
--muted-foreground: oklch(0.719 0.022 13.084);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.978 0.004 60.231);
--card: oklch(0 0 0);
--card-foreground: oklch(0.978 0.004 60.231);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.432 0.024 59.478);
--primary-foreground: oklch(0.932 0.006 60.197);
--secondary: oklch(0.41 0.033 14.152);
--secondary-foreground: oklch(0.926 0.008 12.596);
--accent: oklch(0.46 0.034 104.25);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.652 0.2 40.335);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.432 0.024 59.478);
--chart-1: oklch(0.432 0.024 59.478);
--chart-2: oklch(0.41 0.033 14.152);
--chart-3: oklch(0.46 0.034 104.25);
--chart-4: oklch(0.436 0.036 14.178);
--chart-5: oklch(0.434 0.029 59.301);
}