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.
Dobri Next -B01- Hard is a shadcn/ui theme built around a vivid orange primary color (#ff8f05) with deep blue accents (#253646). The light mode uses a blue-tinted background (#0b0f14). Dark mode keeps the vivid orange primary (#ff8f05) on a blue-tinted background (#0b0f14).
| Token | Light | Dark |
|---|---|---|
| Background | #0b0f14black | #0b0f14black |
| Foreground | #97a8c8darkgray | #97a8c8darkgray |
| Card | #070a0dblack | #070a0dblack |
| Card foreground | #a8b6d1lightsteelblue | #a8b6d1lightsteelblue |
| Popover | #05080ablack | #05080ablack |
| Popover foreground | #b9c4dalightsteelblue | #b9c4dalightsteelblue |
| Primary | #ff8f05darkorange | #ff8f05darkorange |
| Primary foreground | #381f00black | #381f00black |
| Secondary | #53422ddarkolivegreen | #53422ddarkolivegreen |
| Secondary foreground | #e4dacdgainsboro | #e4dacdgainsboro |
| Muted | #22262bdarkslategray | #22262bdarkslategray |
| Muted foreground | #9ba6b0darkgray | #9ba6b0darkgray |
| Accent | #253646darkslategray | #253646darkslategray |
| Accent foreground | #c0cfdelightsteelblue | #c0cfdelightsteelblue |
| Destructive | #f12c1eorangered | #f12c1eorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #161c22black | #161c22black |
| Input | #1c242bdarkslategray | #1c242bdarkslategray |
| Ring | #ff8f05darkorange | #ff8f05darkorange |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 8.00:1 | AAA |
| Text on card | 9.70:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 6.99:1 | AA |
| Muted text | 6.13:1 | AA |
| Accent | 7.83:1 | AAA |
| Destructive | 4.11:1 | AA Large |
| Text on background | 8.00:1 | AAA |
| Text on card | 9.70:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 6.99:1 | AA |
| Muted text | 6.13:1 | AA |
| Accent | 7.83:1 | AAA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Dobri Next -B01- Hard in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.167 0.013 248.582);
--foreground: oklch(0.729 0.051 264.188);
--muted: oklch(0.267 0.011 248.233);
--muted-foreground: oklch(0.719 0.02 248.103);
--popover: oklch(0.13 0.008 243.449);
--popover-foreground: oklch(0.819 0.033 264.372);
--card: oklch(0.143 0.009 245.965);
--card-foreground: oklch(0.774 0.042 264.292);
--border: oklch(0.223 0.015 248.477);
--input: oklch(0.255 0.018 248.529);
--primary: oklch(0.755 0.177 59.254);
--primary-foreground: oklch(0.266 0.059 67.15);
--secondary: oklch(0.39 0.041 71.784);
--secondary-foreground: oklch(0.893 0.02 73.036);
--accent: oklch(0.324 0.037 249.025);
--accent-foreground: oklch(0.846 0.027 248.142);
--destructive: oklch(0.617 0.231 29.563);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.755 0.177 59.254);
--chart-1: oklch(0.755 0.177 59.254);
--chart-2: oklch(0.39 0.041 71.784);
--chart-3: oklch(0.324 0.037 249.025);
--chart-4: oklch(0.421 0.045 71.739);
--chart-5: oklch(0.76 0.181 58.58);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.167 0.013 248.582);
--foreground: oklch(0.729 0.051 264.188);
--muted: oklch(0.267 0.011 248.233);
--muted-foreground: oklch(0.719 0.02 248.103);
--popover: oklch(0.13 0.008 243.449);
--popover-foreground: oklch(0.819 0.033 264.372);
--card: oklch(0.143 0.009 245.965);
--card-foreground: oklch(0.774 0.042 264.292);
--border: oklch(0.223 0.015 248.477);
--input: oklch(0.255 0.018 248.529);
--primary: oklch(0.755 0.177 59.254);
--primary-foreground: oklch(0.266 0.059 67.15);
--secondary: oklch(0.39 0.041 71.784);
--secondary-foreground: oklch(0.893 0.02 73.036);
--accent: oklch(0.324 0.037 249.025);
--accent-foreground: oklch(0.846 0.027 248.142);
--destructive: oklch(0.617 0.231 29.563);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.755 0.177 59.254);
--chart-1: oklch(0.755 0.177 59.254);
--chart-2: oklch(0.39 0.041 71.784);
--chart-3: oklch(0.324 0.037 249.025);
--chart-4: oklch(0.421 0.045 71.739);
--chart-5: oklch(0.76 0.181 58.58);
}