Generate feedback colors (success, warning, error, and info) for shadcn/ui

Go to generator

10000+Themes for shadcn/ui

Dobri Next -B01- Hard for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background8.00:1AAA
Text on card9.70:1AAA
Primary button6.71:1AA
Secondary button6.99:1AA
Muted text6.13:1AA
Accent7.83:1AAA
Destructive4.11:1AA Large
Dark mode
Text on background8.00:1AAA
Text on card9.70:1AAA
Primary button6.71:1AA
Secondary button6.99:1AA
Muted text6.13:1AA
Accent7.83:1AAA
Destructive4.11:1AA Large

CSS variables

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);
}