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.
Bowed is a shadcn/ui theme built around a vivid red primary color (#f04842) with vivid teal accents (#42eaf0). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the vivid red primary (#f04842) on a red-tinted background (#0f0605).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f8snow | #0f0605black |
| Foreground | #150505black | #ffffffwhite |
| Card | #fcf8f8snow | #0f0605black |
| Card foreground | #150505black | #ffffffwhite |
| Popover | #fcf8f8snow | #0f0605black |
| Popover foreground | #150505black | #ffffffwhite |
| Primary | #f04842tomato | #f04842tomato |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #42eaf0turquoise | #42eaf0turquoise |
| Secondary foreground | #000000black | #000000black |
| Muted | #d8dedegainsboro | #212627darkslategray |
| Muted foreground | #586f6fdimgray | #90a7a7darkgray |
| Accent | #42eaf0turquoise | #42eaf0turquoise |
| Accent foreground | #000000black | #000000black |
| Destructive | #af3508firebrick | #db420aorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f04842tomato | #f04842tomato |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.86:1 | AAA |
| Text on card | 18.86:1 | AAA |
| Primary button | 3.68:1 | AA Large |
| Secondary button | 14.24:1 | AAA |
| Muted text | 3.93:1 | AA Large |
| Accent | 14.24:1 | AAA |
| Destructive | 6.28:1 | AA |
| Text on background | 20.05:1 | AAA |
| Text on card | 20.05:1 | AAA |
| Primary button | 3.68:1 | AA Large |
| Secondary button | 14.24:1 | AAA |
| Muted text | 6.01:1 | AA |
| Accent | 14.24:1 | AAA |
| Destructive | 4.37:1 | AA Large |
Paste this into your globals.css to use Bowed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.004 19.664);
--foreground: oklch(0.145 0.03 24.419);
--muted: oklch(0.896 0.006 199.515);
--muted-foreground: oklch(0.522 0.027 198.955);
--popover: oklch(0.982 0.004 19.664);
--popover-foreground: oklch(0.145 0.03 24.419);
--card: oklch(0.982 0.004 19.664);
--card-foreground: oklch(0.145 0.03 24.419);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.642 0.205 26.711);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.857 0.132 198.462);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.857 0.132 198.462);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.507 0.166 36.825);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.642 0.205 26.711);
--chart-1: oklch(0.642 0.205 26.711);
--chart-2: oklch(0.857 0.132 198.462);
--chart-3: oklch(0.857 0.132 198.462);
--chart-4: oklch(0.864 0.127 198.4);
--chart-5: oklch(0.644 0.211 26.974);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.019 22.714);
--foreground: oklch(1 0 180);
--muted: oklch(0.265 0.008 199.214);
--muted-foreground: oklch(0.71 0.026 199.138);
--popover: oklch(0.135 0.019 22.714);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.135 0.019 22.714);
--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.642 0.205 26.711);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.857 0.132 198.462);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.857 0.132 198.462);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.597 0.198 36.488);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.642 0.205 26.711);
--chart-1: oklch(0.642 0.205 26.711);
--chart-2: oklch(0.857 0.132 198.462);
--chart-3: oklch(0.857 0.132 198.462);
--chart-4: oklch(0.864 0.127 198.4);
--chart-5: oklch(0.644 0.211 26.974);
}