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.
Arstotzka (rainglow) is a shadcn/ui theme built around a muted light yellow primary color (#eeece7) with neutral gray accents (#5b5252). The light mode uses a neutral background (#332e2e). Dark mode keeps the muted light yellow primary (#eeece7) on a neutral background (#332e2e).
| Token | Light | Dark |
|---|---|---|
| Background | #332e2edarkslategray | #332e2edarkslategray |
| Foreground | #eeece7linen | #eeece7linen |
| Card | #2e2929darkslategray | #2e2929darkslategray |
| Card foreground | #f9f8f6whitesmoke | #f9f8f6whitesmoke |
| Popover | #2b2727darkslategray | #2b2727darkslategray |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #eeece7linen | #eeece7linen |
| Primary foreground | #5f5745darkolivegreen | #5f5745darkolivegreen |
| Secondary | #44413cdarkslategray | #44413cdarkslategray |
| Secondary foreground | #dbdad6gainsboro | #dbdad6gainsboro |
| Muted | #423434darkslategray | #423434darkslategray |
| Muted foreground | #c2b2b2silver | #c2b2b2silver |
| Accent | #5b5252dimgray | #5b5252dimgray |
| Accent foreground | #f0efefwhitesmoke | #f0efefwhitesmoke |
| Destructive | #eb4742tomato | #eb4742tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #3d3d3ddarkslategray | #3d3d3ddarkslategray |
| Input | #454545darkslategray | #454545darkslategray |
| Ring | #eeece7linen | #eeece7linen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 11.32:1 | AAA |
| Text on card | 13.49:1 | AAA |
| Primary button | 6.05:1 | AA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 5.84:1 | AA |
| Accent | 6.56:1 | AA |
| Destructive | 3.79:1 | AA Large |
| Text on background | 11.32:1 | AAA |
| Text on card | 13.49:1 | AAA |
| Primary button | 6.05:1 | AA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 5.84:1 | AA |
| Accent | 6.56:1 | AA |
| Destructive | 3.79:1 | AA Large |
Paste this into your globals.css to use Arstotzka (rainglow) in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.306 0.007 17.542);
--foreground: oklch(0.943 0.007 88.836);
--muted: oklch(0.339 0.02 18.202);
--muted-foreground: oklch(0.777 0.019 17.568);
--popover: oklch(0.276 0.006 17.526);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.286 0.006 17.532);
--card-foreground: oklch(0.979 0.002 88.807);
--border: oklch(0.361 0 180);
--input: oklch(0.39 0 165.964);
--primary: oklch(0.943 0.007 88.836);
--primary-foreground: oklch(0.459 0.03 89.012);
--secondary: oklch(0.377 0.01 88.934);
--secondary-foreground: oklch(0.888 0.005 88.825);
--accent: oklch(0.448 0.011 17.587);
--accent-foreground: oklch(0.953 0.002 17.187);
--destructive: oklch(0.633 0.201 26.649);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.943 0.007 88.836);
--chart-1: oklch(0.943 0.007 88.836);
--chart-2: oklch(0.377 0.01 88.934);
--chart-3: oklch(0.448 0.011 17.587);
--chart-4: oklch(0.407 0.011 88.936);
--chart-5: oklch(0.944 0.008 88.843);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.306 0.007 17.542);
--foreground: oklch(0.943 0.007 88.836);
--muted: oklch(0.339 0.02 18.202);
--muted-foreground: oklch(0.777 0.019 17.568);
--popover: oklch(0.276 0.006 17.526);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.286 0.006 17.532);
--card-foreground: oklch(0.979 0.002 88.807);
--border: oklch(0.361 0 180);
--input: oklch(0.39 0 165.964);
--primary: oklch(0.943 0.007 88.836);
--primary-foreground: oklch(0.459 0.03 89.012);
--secondary: oklch(0.377 0.01 88.934);
--secondary-foreground: oklch(0.888 0.005 88.825);
--accent: oklch(0.448 0.011 17.587);
--accent-foreground: oklch(0.953 0.002 17.187);
--destructive: oklch(0.633 0.201 26.649);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.943 0.007 88.836);
--chart-1: oklch(0.943 0.007 88.836);
--chart-2: oklch(0.377 0.01 88.934);
--chart-3: oklch(0.448 0.011 17.587);
--chart-4: oklch(0.407 0.011 88.936);
--chart-5: oklch(0.944 0.008 88.843);
}