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

Go to generator

10000+Themes for shadcn/ui

Incompatible for shadcn/ui

Incompatible is a shadcn/ui theme built around a teal primary color (#2d9f75) with muted light teal accents (#c3d5ce). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the teal primary (#2d9f75) on a teal-tinted background (#040b09).

Color palette

TokenLightDark
Background
#f8fcfamintcream
#040b09black
Foreground
#04110cblack
#ffffffwhite
Card
#f4faf8mintcream
#060f0bblack
Card foreground
#030c09black
#ffffffwhite
Popover
#f4faf8mintcream
#060f0bblack
Popover foreground
#030c09black
#ffffffwhite
Primary
#2d9f75mediumseagreen
#2d9f75mediumseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#c3d5celightgrey
#1b2320black
Secondary foreground
#2a3c35darkslategray
#aec1basilver
Muted
#d5ebe3gainsboro
#142a22black
Muted foreground
#4a645adimgray
#9bb5acdarkgray
Accent
#c3d5celightgrey
#1b2320black
Accent foreground
#2a3c35darkslategray
#aec1basilver
Destructive
#a51d0dfirebrick
#ef4f3etomato
Destructive foreground
#fdeae7linen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2d9f75mediumseagreen
#2d9f75mediumseagreen

Contrast

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

Light mode
Text on background18.60:1AAA
Text on card18.80:1AAA
Primary button3.31:1AA Large
Secondary button7.65:1AAA
Muted text5.17:1AA
Accent7.65:1AAA
Destructive6.51:1AA
Dark mode
Text on background19.85:1AAA
Text on card19.45:1AAA
Primary button3.31:1AA Large
Secondary button8.55:1AAA
Muted text6.96:1AA
Accent8.55:1AAA
Destructive3.57:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.005 172.436);
  --foreground: oklch(0.161 0.022 169.921);
  --muted: oklch(0.923 0.026 171.746);
  --muted-foreground: oklch(0.478 0.035 170.271);
  --popover: oklch(0.981 0.007 172.364);
  --popover-foreground: oklch(0.144 0.019 172.231);
  --card: oklch(0.981 0.007 172.364);
  --card-foreground: oklch(0.144 0.019 172.231);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.629 0.119 163.99);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.858 0.022 171.82);
  --secondary-foreground: oklch(0.339 0.026 170.058);
  --accent: oklch(0.858 0.022 171.82);
  --accent-foreground: oklch(0.339 0.026 170.058);
  --destructive: oklch(0.467 0.173 30.52);
  --destructive-foreground: oklch(0.951 0.022 25.189);
  --ring: oklch(0.629 0.119 163.99);
  --chart-1: oklch(0.629 0.119 163.99);
  --chart-2: oklch(0.858 0.022 171.82);
  --chart-3: oklch(0.858 0.022 171.82);
  --chart-4: oklch(0.879 0.018 171.954);
  --chart-5: oklch(0.637 0.124 163.555);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.014 172.624);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.262 0.032 168.196);
  --muted-foreground: oklch(0.752 0.032 171.298);
  --popover: oklch(0.156 0.017 170.588);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.156 0.017 170.588);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.629 0.119 163.99);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.245 0.013 170.981);
  --secondary-foreground: oklch(0.794 0.022 171.733);
  --accent: oklch(0.245 0.013 170.981);
  --accent-foreground: oklch(0.794 0.022 171.733);
  --destructive: oklch(0.648 0.199 29.771);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.629 0.119 163.99);
  --chart-1: oklch(0.629 0.119 163.99);
  --chart-2: oklch(0.245 0.013 170.981);
  --chart-3: oklch(0.245 0.013 170.981);
  --chart-4: oklch(0.279 0.015 170.875);
  --chart-5: oklch(0.637 0.124 163.555);
}