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

Go to generator

10000+Themes for shadcn/ui

Monokai Vibrant for shadcn/ui

Monokai Vibrant is a shadcn/ui theme built around a muted light blue primary color (#d7dae0) with muted deep blue accents (#373a49). The light mode uses a blue-tinted background (#16171d). Dark mode keeps the muted light blue primary (#d7dae0) on a blue-tinted background (#16171d).

Color palette

TokenLightDark
Background
#16171dblack
#16171dblack
Foreground
#f8f8f1whitesmoke
#f8f8f1whitesmoke
Card
#121217black
#121217black
Card foreground
#ffffffwhite
#ffffffwhite
Popover
#0f1014black
#0f1014black
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#d7dae0gainsboro
#d7dae0gainsboro
Primary foreground
#3a3f4bdarkslategray
#3a3f4bdarkslategray
Secondary
#3e3f42darkslategray
#3e3f42darkslategray
Secondary foreground
#d8d8dagainsboro
#d8d8dagainsboro
Muted
#22232bdarkslategray
#22232bdarkslategray
Muted foreground
#9b9eb0darkgray
#9b9eb0darkgray
Accent
#373a49darkslategray
#373a49darkslategray
Accent foreground
#d3d5delightgrey
#d3d5delightgrey
Destructive
#f04a38tomato
#f04a38tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#252528darkslategray
#252528darkslategray
Input
#2c2d30darkslategray
#2c2d30darkslategray
Ring
#d7dae0gainsboro
#d7dae0gainsboro

Contrast

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

Light mode
Text on background16.76:1AAA
Text on card18.64:1AAA
Primary button7.50:1AAA
Secondary button7.39:1AAA
Muted text5.89:1AA
Accent7.74:1AAA
Destructive3.65:1AA Large
Dark mode
Text on background16.76:1AAA
Text on card18.64:1AAA
Primary button7.50:1AAA
Secondary button7.39:1AAA
Muted text5.89:1AA
Accent7.74:1AAA
Destructive3.65:1AA Large

CSS variables

Paste this into your globals.css to use Monokai Vibrant in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.206 0.012 277.394);
  --foreground: oklch(0.979 0.01 106.577);
  --muted: oklch(0.258 0.015 277.423);
  --muted-foreground: oklch(0.703 0.027 277.74);
  --popover: oklch(0.175 0.009 277.532);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.185 0.01 277.479);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.266 0.005 278.049);
  --input: oklch(0.296 0.006 278.036);
  --primary: oklch(0.887 0.009 264.517);
  --primary-foreground: oklch(0.369 0.021 264.27);
  --secondary: oklch(0.368 0.005 264.508);
  --secondary-foreground: oklch(0.883 0.002 264.543);
  --accent: oklch(0.35 0.027 277.095);
  --accent-foreground: oklch(0.874 0.013 278.107);
  --destructive: oklch(0.643 0.205 29.973);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.887 0.009 264.517);
  --chart-1: oklch(0.887 0.009 264.517);
  --chart-2: oklch(0.368 0.005 264.508);
  --chart-3: oklch(0.35 0.027 277.095);
  --chart-4: oklch(0.396 0.005 264.507);
  --chart-5: oklch(0.886 0.011 264.508);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.206 0.012 277.394);
  --foreground: oklch(0.979 0.01 106.577);
  --muted: oklch(0.258 0.015 277.423);
  --muted-foreground: oklch(0.703 0.027 277.74);
  --popover: oklch(0.175 0.009 277.532);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.185 0.01 277.479);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.266 0.005 278.049);
  --input: oklch(0.296 0.006 278.036);
  --primary: oklch(0.887 0.009 264.517);
  --primary-foreground: oklch(0.369 0.021 264.27);
  --secondary: oklch(0.368 0.005 264.508);
  --secondary-foreground: oklch(0.883 0.002 264.543);
  --accent: oklch(0.35 0.027 277.095);
  --accent-foreground: oklch(0.874 0.013 278.107);
  --destructive: oklch(0.643 0.205 29.973);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.887 0.009 264.517);
  --chart-1: oklch(0.887 0.009 264.517);
  --chart-2: oklch(0.368 0.005 264.508);
  --chart-3: oklch(0.35 0.027 277.095);
  --chart-4: oklch(0.396 0.005 264.507);
  --chart-5: oklch(0.886 0.011 264.508);
}