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

Go to generator

10000+Themes for shadcn/ui

Dancer for shadcn/ui

Dancer is a shadcn/ui theme built around a vivid light green primary color (#dffad1) with vivid light green accents (#d1fad7). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light green primary (#dffad1) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#040802black
#ffffffwhite
Card
#ffffffwhite
#000000black
Card foreground
#040802black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#040802black
#ffffffwhite
Primary
#dffad1beige
#dffad1beige
Primary foreground
#132e05black
#132e05black
Secondary
#f4fad1lightgoldenrodyellow
#f4fad1lightgoldenrodyellow
Secondary foreground
#282e05black
#282e05black
Muted
#e5e7d9gainsboro
#242618black
Muted foreground
#484946darkslategray
#b9b9b6silver
Accent
#d1fad7gainsboro
#d1fad7gainsboro
Accent foreground
#052e0bblack
#052e0bblack
Destructive
#db2800orangered
#ff4c24orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dffad1beige
#dffad1beige

Contrast

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

Light mode
Text on background20.17:1AAA
Text on card20.17:1AAA
Primary button13.16:1AAA
Secondary button13.07:1AAA
Muted text7.26:1AAA
Accent13.07:1AAA
Destructive4.85:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button13.16:1AAA
Secondary button13.07:1AAA
Muted text7.85:1AAA
Accent13.07:1AAA
Destructive3.32:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.126 0.022 132.564);
  --muted: oklch(0.924 0.019 113.687);
  --muted-foreground: oklch(0.403 0.005 113.525);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.126 0.022 132.564);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.126 0.022 132.564);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.955 0.06 134.586);
  --primary-foreground: oklch(0.269 0.072 136.685);
  --secondary: oklch(0.969 0.053 114.319);
  --secondary-foreground: oklch(0.285 0.06 117.779);
  --accent: oklch(0.946 0.062 149.358);
  --accent-foreground: oklch(0.263 0.074 145.547);
  --destructive: oklch(0.575 0.216 32.306);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.955 0.06 134.586);
  --chart-1: oklch(0.955 0.06 134.586);
  --chart-2: oklch(0.969 0.053 114.319);
  --chart-3: oklch(0.946 0.062 149.358);
  --chart-4: oklch(0.978 0.037 114.012);
  --chart-5: oklch(0.956 0.062 134.6);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.26 0.025 115.105);
  --muted-foreground: oklch(0.785 0.004 113.401);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.955 0.06 134.586);
  --primary-foreground: oklch(0.269 0.072 136.685);
  --secondary: oklch(0.969 0.053 114.319);
  --secondary-foreground: oklch(0.285 0.06 117.779);
  --accent: oklch(0.946 0.062 149.358);
  --accent-foreground: oklch(0.263 0.074 145.547);
  --destructive: oklch(0.668 0.221 33.732);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.955 0.06 134.586);
  --chart-1: oklch(0.955 0.06 134.586);
  --chart-2: oklch(0.969 0.053 114.319);
  --chart-3: oklch(0.946 0.062 149.358);
  --chart-4: oklch(0.978 0.037 114.012);
  --chart-5: oklch(0.956 0.062 134.6);
}