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

Go to generator

10000+Themes for shadcn/ui

Unacceptable for shadcn/ui

Unacceptable is a shadcn/ui theme built around a vivid cyan primary color (#098095) with muted light cyan accents (#bbcfd3). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid cyan primary (#098095) on a neutral background (#010304).

Color palette

TokenLightDark
Background
#fbfdfewhite
#010304black
Foreground
#010809black
#fcfdfdwhite
Card
#fbfdfewhite
#010304black
Card foreground
#010809black
#fcfdfdwhite
Popover
#fbfdfewhite
#010304black
Popover foreground
#010809black
#fcfdfdwhite
Primary
#098095darkcyan
#098095darkcyan
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d9e1e2gainsboro
#272e30darkslategray
Secondary foreground
#3b4c4edarkslategray
#bec8casilver
Muted
#d9eaedlavender
#122326black
Muted foreground
#38494cdarkslategray
#b3c4c7silver
Accent
#bbcfd3lightsteelblue
#304246darkslategray
Accent foreground
#243538darkslategray
#cbd9dclightgrey
Destructive
#dc0c04red
#fa0d05red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#098095darkcyan
#098095darkcyan

Contrast

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

Light mode
Text on background19.82:1AAA
Text on card19.82:1AAA
Primary button4.64:1AA
Secondary button6.79:1AA
Muted text7.61:1AAA
Accent7.91:1AAA
Destructive5.13:1AA
Dark mode
Text on background20.24:1AAA
Text on card20.24:1AAA
Primary button4.64:1AA
Secondary button8.06:1AAA
Muted text8.98:1AAA
Accent7.24:1AAA
Destructive4.09:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 209.463);
  --foreground: oklch(0.124 0.017 205.313);
  --muted: oklch(0.925 0.019 209.431);
  --muted-foreground: oklch(0.393 0.022 209.498);
  --popover: oklch(0.993 0.002 209.463);
  --popover-foreground: oklch(0.124 0.017 205.313);
  --card: oklch(0.993 0.002 209.463);
  --card-foreground: oklch(0.124 0.017 205.313);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.552 0.096 214.75);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.904 0.009 209.445);
  --secondary-foreground: oklch(0.402 0.021 209.485);
  --accent: oklch(0.841 0.022 209.429);
  --accent-foreground: oklch(0.314 0.022 209.589);
  --destructive: oklch(0.564 0.228 29.389);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.552 0.096 214.75);
  --chart-1: oklch(0.552 0.096 214.75);
  --chart-2: oklch(0.904 0.009 209.445);
  --chart-3: oklch(0.841 0.022 209.429);
  --chart-4: oklch(0.927 0.007 209.45);
  --chart-5: oklch(0.557 0.097 215.059);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.008 206.631);
  --foreground: oklch(0.993 0.001 209.466);
  --muted: oklch(0.243 0.024 209.904);
  --muted-foreground: oklch(0.807 0.019 209.43);
  --popover: oklch(0.096 0.008 206.631);
  --popover-foreground: oklch(0.993 0.001 209.466);
  --card: oklch(0.096 0.008 206.631);
  --card-foreground: oklch(0.993 0.001 209.466);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.552 0.096 214.75);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.296 0.011 209.436);
  --secondary-foreground: oklch(0.827 0.011 209.438);
  --accent: oklch(0.366 0.025 209.568);
  --accent-foreground: oklch(0.877 0.016 209.433);
  --destructive: oklch(0.621 0.251 29.372);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.552 0.096 214.75);
  --chart-1: oklch(0.552 0.096 214.75);
  --chart-2: oklch(0.296 0.011 209.436);
  --chart-3: oklch(0.366 0.025 209.568);
  --chart-4: oklch(0.328 0.012 209.438);
  --chart-5: oklch(0.557 0.097 215.059);
}