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.
Gigantism is a shadcn/ui theme built around a muted deep orange primary color (#110f0d) with muted deep yellow accents (#11110d). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep orange primary (#110f0d) on a neutral background (#080402).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080402black |
| Foreground | #040201black | #f8f7f6whitesmoke |
| Card | #ffffffwhite | #080402black |
| Card foreground | #040201black | #f8f7f6whitesmoke |
| Popover | #ffffffwhite | #080402black |
| Popover foreground | #040201black | #f8f7f6whitesmoke |
| Primary | #110f0dblack | #110f0dblack |
| Primary foreground | #b4a59cdarkgray | #b4a59cdarkgray |
| Secondary | #110d0eblack | #110d0eblack |
| Secondary foreground | #b49c9fdarkgray | #b49c9fdarkgray |
| Muted | #e8e3e3gainsboro | #1c1717black |
| Muted foreground | #4f4042darkslategray | #bfb0b2silver |
| Accent | #11110dblack | #11110dblack |
| Accent foreground | #b4b19cdarkgray | #b4b19cdarkgray |
| Destructive | #dc4c09orangered | #f5580forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #110f0dblack | #110f0dblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.70:1 | AAA |
| Text on card | 20.70:1 | AAA |
| Primary button | 8.02:1 | AAA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 7.69:1 | AAA |
| Accent | 8.74:1 | AAA |
| Destructive | 4.12:1 | AA Large |
| Text on background | 19.05:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 8.02:1 | AAA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 8.50:1 | AAA |
| Accent | 8.74:1 | AAA |
| Destructive | 3.34:1 | AA Large |
Paste this into your globals.css to use Gigantism in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.092 0.01 60.599);
--muted: oklch(0.92 0.006 7.913);
--muted-foreground: oklch(0.387 0.022 9.133);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.092 0.01 60.599);
--card: oklch(1 0 180);
--card-foreground: oklch(0.092 0.01 60.599);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.17 0.006 52.151);
--primary-foreground: oklch(0.733 0.022 52.187);
--secondary: oklch(0.166 0.007 8.834);
--secondary-foreground: oklch(0.716 0.029 8.733);
--accent: oklch(0.176 0.007 99.924);
--accent-foreground: oklch(0.758 0.029 99.88);
--destructive: oklch(0.61 0.191 39.22);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.17 0.006 52.151);
--chart-1: oklch(0.17 0.006 52.151);
--chart-2: oklch(0.166 0.007 8.834);
--chart-3: oklch(0.176 0.007 99.924);
--chart-4: oklch(0.198 0.011 9.052);
--chart-5: oklch(0.17 0.007 52.062);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.115 0.013 61.113);
--foreground: oklch(0.977 0.002 52.557);
--muted: oklch(0.21 0.009 8.802);
--muted-foreground: oklch(0.77 0.018 8.326);
--popover: oklch(0.115 0.013 61.113);
--popover-foreground: oklch(0.977 0.002 52.557);
--card: oklch(0.115 0.013 61.113);
--card-foreground: oklch(0.977 0.002 52.557);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.17 0.006 52.151);
--primary-foreground: oklch(0.733 0.022 52.187);
--secondary: oklch(0.166 0.007 8.834);
--secondary-foreground: oklch(0.716 0.029 8.733);
--accent: oklch(0.176 0.007 99.924);
--accent-foreground: oklch(0.758 0.029 99.88);
--destructive: oklch(0.663 0.205 39.632);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.17 0.006 52.151);
--chart-1: oklch(0.17 0.006 52.151);
--chart-2: oklch(0.166 0.007 8.834);
--chart-3: oklch(0.176 0.007 99.924);
--chart-4: oklch(0.198 0.011 9.052);
--chart-5: oklch(0.17 0.007 52.062);
}