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.
Ponzu Brown Alpaca is a shadcn/ui theme built around a deep red primary color (#270c0e) with deep indigo accents (#0c0e27). The light mode uses a neutral background (#fefbfb). Dark mode keeps the deep red primary (#270c0e) on a red-tinted background (#0f0606).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #0f0606black |
| Foreground | #150506black | #fbf8f9snow |
| Card | #fefbfbsnow | #0f0606black |
| Card foreground | #150506black | #fbf8f9snow |
| Popover | #fefbfbsnow | #0f0606black |
| Popover foreground | #150506black | #fbf8f9snow |
| Primary | #270c0eblack | #270c0eblack |
| Primary foreground | #dc898fpalevioletred | #dc898fpalevioletred |
| Secondary | #0e270cblack | #0e270cblack |
| Secondary foreground | #44c43blimegreen | #44c43blimegreen |
| Muted | #e6f0e5beige | #101a0fblack |
| Muted foreground | #546f52dimgray | #92ad90darkseagreen |
| Accent | #0c0e27black | #0c0e27black |
| Accent foreground | #898fdcmediumpurple | #898fdcmediumpurple |
| Destructive | #db0700red | #fa0800red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #ede8e8linen | #291f1fblack |
| Input | #ede8e8linen | #291f1fblack |
| Ring | #270c0eblack | #270c0eblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.30:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 7.00:1 | AAA |
| Secondary button | 6.98:1 | AA |
| Muted text | 4.76:1 | AA |
| Accent | 6.35:1 | AA |
| Destructive | 5.18:1 | AA |
| Text on background | 18.99:1 | AAA |
| Text on card | 18.99:1 | AAA |
| Primary button | 7.00:1 | AAA |
| Secondary button | 6.98:1 | AA |
| Muted text | 7.32:1 | AAA |
| Accent | 6.35:1 | AA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Ponzu Brown Alpaca in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 12.498);
--foreground: oklch(0.144 0.032 16.328);
--muted: oklch(0.945 0.018 143.534);
--muted-foreground: oklch(0.513 0.055 143.051);
--popover: oklch(0.99 0.003 12.498);
--popover-foreground: oklch(0.144 0.032 16.328);
--card: oklch(0.99 0.003 12.498);
--card-foreground: oklch(0.144 0.032 16.328);
--border: oklch(0.935 0.006 12.565);
--input: oklch(0.935 0.006 12.565);
--primary: oklch(0.199 0.046 18.229);
--primary-foreground: oklch(0.718 0.101 15.596);
--secondary: oklch(0.245 0.059 142.35);
--secondary-foreground: oklch(0.724 0.209 142.156);
--accent: oklch(0.177 0.052 276.65);
--accent-foreground: oklch(0.676 0.114 279.767);
--destructive: oklch(0.562 0.228 29.547);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.199 0.046 18.229);
--chart-1: oklch(0.199 0.046 18.229);
--chart-2: oklch(0.245 0.059 142.35);
--chart-3: oklch(0.177 0.052 276.65);
--chart-4: oklch(0.287 0.072 142.289);
--chart-5: oklch(0.199 0.049 18.645);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.018 14.313);
--foreground: oklch(0.983 0.003 12.496);
--muted: oklch(0.203 0.026 142.933);
--muted-foreground: oklch(0.718 0.051 143.252);
--popover: oklch(0.135 0.018 14.313);
--popover-foreground: oklch(0.983 0.003 12.496);
--card: oklch(0.135 0.018 14.313);
--card-foreground: oklch(0.983 0.003 12.496);
--border: oklch(0.25 0.016 13.752);
--input: oklch(0.25 0.016 13.752);
--primary: oklch(0.199 0.046 18.229);
--primary-foreground: oklch(0.718 0.101 15.596);
--secondary: oklch(0.245 0.059 142.35);
--secondary-foreground: oklch(0.724 0.209 142.156);
--accent: oklch(0.177 0.052 276.65);
--accent-foreground: oklch(0.676 0.114 279.767);
--destructive: oklch(0.62 0.252 29.499);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.199 0.046 18.229);
--chart-1: oklch(0.199 0.046 18.229);
--chart-2: oklch(0.245 0.059 142.35);
--chart-3: oklch(0.177 0.052 276.65);
--chart-4: oklch(0.287 0.072 142.289);
--chart-5: oklch(0.199 0.049 18.645);
}