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.
Earthbound - Magicant is a shadcn/ui theme built around a vivid deep violet primary color (#22008a) with vivid yellow accents (#f3f172). The light mode uses a yellow-tinted background (#f9f8b9). Dark mode keeps the vivid deep violet primary (#22008a) on a yellow-tinted background (#f9f8b9).
| Token | Light | Dark |
|---|---|---|
| Background | #f9f8b9lemonchiffon | #f9f8b9lemonchiffon |
| Foreground | #22008adarkblue | #22008adarkblue |
| Card | #f8f7afpalegoldenrod | #f8f7afpalegoldenrod |
| Card foreground | #1c0070midnightblue | #1c0070midnightblue |
| Popover | #f8f6abpalegoldenrod | #f8f6abpalegoldenrod |
| Popover foreground | #160057midnightblue | #160057midnightblue |
| Primary | #22008adarkblue | #22008adarkblue |
| Primary foreground | #cdbdffthistle | #cdbdffthistle |
| Secondary | #b6acd2lightsteelblue | #b6acd2lightsteelblue |
| Secondary foreground | #211b32darkslategray | #211b32darkslategray |
| Muted | #d4d4c9lightgrey | #d4d4c9lightgrey |
| Muted foreground | #3c3c2fdarkslategray | #3c3c2fdarkslategray |
| Accent | #f3f172khaki | #f3f172khaki |
| Accent foreground | #2f2e04black | #2f2e04black |
| Destructive | #a71e06firebrick | #a71e06firebrick |
| Destructive foreground | #fee6e1mistyrose | #fee6e1mistyrose |
| Border | #f2f0a6palegoldenrod | #f2f0a6palegoldenrod |
| Input | #f0ee99khaki | #f0ee99khaki |
| Ring | #22008adarkblue | #22008adarkblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 13.32:1 | AAA |
| Text on card | 14.72:1 | AAA |
| Primary button | 8.58:1 | AAA |
| Secondary button | 7.75:1 | AAA |
| Muted text | 7.49:1 | AAA |
| Accent | 11.61:1 | AAA |
| Destructive | 6.20:1 | AA |
| Text on background | 13.32:1 | AAA |
| Text on card | 14.72:1 | AAA |
| Primary button | 8.58:1 | AAA |
| Secondary button | 7.75:1 | AAA |
| Muted text | 7.49:1 | AAA |
| Accent | 11.61:1 | AAA |
| Destructive | 6.20:1 | AA |
Paste this into your globals.css to use Earthbound - Magicant in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.964 0.081 107.006);
--foreground: oklch(0.303 0.189 276.024);
--muted: oklch(0.867 0.015 105.931);
--muted-foreground: oklch(0.351 0.021 106.634);
--popover: oklch(0.958 0.096 107.252);
--popover-foreground: oklch(0.221 0.135 278.809);
--card: oklch(0.96 0.091 107.171);
--card-foreground: oklch(0.263 0.163 277.114);
--border: oklch(0.941 0.094 107.254);
--input: oklch(0.932 0.107 107.468);
--primary: oklch(0.303 0.189 276.024);
--primary-foreground: oklch(0.834 0.093 295.786);
--secondary: oklch(0.765 0.055 296.534);
--secondary-foreground: oklch(0.24 0.044 294.374);
--accent: oklch(0.934 0.148 108.068);
--accent-foreground: oklch(0.294 0.059 108.568);
--destructive: oklch(0.472 0.175 31.849);
--destructive-foreground: oklch(0.943 0.027 29.593);
--ring: oklch(0.303 0.189 276.024);
--chart-1: oklch(0.303 0.189 276.024);
--chart-2: oklch(0.765 0.055 296.534);
--chart-3: oklch(0.934 0.148 108.068);
--chart-4: oklch(0.794 0.048 296.744);
--chart-5: oklch(0.304 0.192 275.271);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.964 0.081 107.006);
--foreground: oklch(0.303 0.189 276.024);
--muted: oklch(0.867 0.015 105.931);
--muted-foreground: oklch(0.351 0.021 106.634);
--popover: oklch(0.958 0.096 107.252);
--popover-foreground: oklch(0.221 0.135 278.809);
--card: oklch(0.96 0.091 107.171);
--card-foreground: oklch(0.263 0.163 277.114);
--border: oklch(0.941 0.094 107.254);
--input: oklch(0.932 0.107 107.468);
--primary: oklch(0.303 0.189 276.024);
--primary-foreground: oklch(0.834 0.093 295.786);
--secondary: oklch(0.765 0.055 296.534);
--secondary-foreground: oklch(0.24 0.044 294.374);
--accent: oklch(0.934 0.148 108.068);
--accent-foreground: oklch(0.294 0.059 108.568);
--destructive: oklch(0.472 0.175 31.849);
--destructive-foreground: oklch(0.943 0.027 29.593);
--ring: oklch(0.303 0.189 276.024);
--chart-1: oklch(0.303 0.189 276.024);
--chart-2: oklch(0.765 0.055 296.534);
--chart-3: oklch(0.934 0.148 108.068);
--chart-4: oklch(0.794 0.048 296.744);
--chart-5: oklch(0.304 0.192 275.271);
}