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

Go to generator

10000+Themes for shadcn/ui

Incomplete for shadcn/ui

Incomplete is a shadcn/ui theme built around an orange primary color (#d79642) with violet accents (#9642d7). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#d79642) on a neutral background (#030302).

Color palette

TokenLightDark
Background
#ffffffwhite
#030302black
Foreground
#090602black
#f9f8f5whitesmoke
Card
#ffffffwhite
#030302black
Card foreground
#090602black
#f9f8f5whitesmoke
Popover
#ffffffwhite
#030302black
Popover foreground
#090602black
#f9f8f5whitesmoke
Primary
#d79642peru
#d79642peru
Primary foreground
#000000black
#000000black
Secondary
#42d796mediumaquamarine
#42d796mediumaquamarine
Secondary foreground
#0d3f2adarkslategray
#0d3f2adarkslategray
Muted
#dbe6e1gainsboro
#19241fblack
Muted foreground
#3d5249darkslategray
#adc2b9silver
Accent
#9642d7darkorchid
#9642d7darkorchid
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#e61f00red
#ff4a2etomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d79642peru
#d79642peru

Contrast

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

Light mode
Text on background20.22:1AAA
Text on card20.22:1AAA
Primary button8.33:1AAA
Secondary button6.45:1AA
Muted text6.56:1AA
Accent5.18:1AA
Destructive4.62:1AA
Dark mode
Text on background19.44:1AAA
Text on card19.44:1AAA
Primary button8.33:1AAA
Secondary button6.45:1AA
Muted text8.49:1AAA
Accent5.18:1AA
Destructive3.35:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.122 0.016 83.719);
  --muted: oklch(0.915 0.014 168.296);
  --muted-foreground: oklch(0.418 0.031 166.487);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.122 0.016 83.719);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.122 0.016 83.719);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.722 0.126 70.458);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.785 0.156 160.235);
  --secondary-foreground: oklch(0.329 0.065 160.365);
  --accent: oklch(0.561 0.219 306.474);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.589 0.23 30.957);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.722 0.126 70.458);
  --chart-1: oklch(0.722 0.126 70.458);
  --chart-2: oklch(0.785 0.156 160.235);
  --chart-3: oklch(0.561 0.219 306.474);
  --chart-4: oklch(0.796 0.149 161.134);
  --chart-5: oklch(0.726 0.131 70.048);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.094 0.006 79.442);
  --foreground: oklch(0.979 0.004 74.932);
  --muted: oklch(0.249 0.019 166.399);
  --muted-foreground: oklch(0.796 0.027 167.762);
  --popover: oklch(0.094 0.006 79.442);
  --popover-foreground: oklch(0.979 0.004 74.932);
  --card: oklch(0.094 0.006 79.442);
  --card-foreground: oklch(0.979 0.004 74.932);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.722 0.126 70.458);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.785 0.156 160.235);
  --secondary-foreground: oklch(0.329 0.065 160.365);
  --accent: oklch(0.561 0.219 306.474);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.667 0.222 31.65);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.722 0.126 70.458);
  --chart-1: oklch(0.722 0.126 70.458);
  --chart-2: oklch(0.785 0.156 160.235);
  --chart-3: oklch(0.561 0.219 306.474);
  --chart-4: oklch(0.796 0.149 161.134);
  --chart-5: oklch(0.726 0.131 70.048);
}