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

Go to generator

10000+Themes for shadcn/ui

Party for shadcn/ui

Party is a shadcn/ui theme built around a vivid green primary color (#3ca611) with vivid violet accents (#7c11a6). The light mode uses a neutral background (#f9fcf8). Dark mode keeps the vivid green primary (#3ca611) on a green-tinted background (#060b04).

Color palette

TokenLightDark
Background
#f9fcf8mintcream
#060b04black
Foreground
#000000black
#f9fbf9mintcream
Card
#f9fcf8mintcream
#060b04black
Card foreground
#000000black
#f9fbf9mintcream
Popover
#f9fcf8mintcream
#060b04black
Popover foreground
#000000black
#f9fbf9mintcream
Primary
#3ca611forestgreen
#3ca611forestgreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#7c11a6darkmagenta
#7c11a6darkmagenta
Secondary foreground
#f8edfdlavenderblush
#f8edfdlavenderblush
Muted
#eae4eclavender
#19131bblack
Muted foreground
#524955darkslategray
#b3aab6darkgray
Accent
#7c11a6darkmagenta
#7c11a6darkmagenta
Accent foreground
#f8edfdlavenderblush
#f8edfdlavenderblush
Destructive
#dd1d08red
#f62a13orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#3ca611forestgreen
#3ca611forestgreen

Contrast

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

Light mode
Text on background20.33:1AAA
Text on card20.33:1AAA
Primary button3.15:1AA Large
Secondary button7.43:1AAA
Muted text6.87:1AA
Accent7.43:1AAA
Destructive4.91:1AA
Dark mode
Text on background19.07:1AAA
Text on card19.07:1AAA
Primary button3.15:1AA Large
Secondary button7.43:1AAA
Muted text8.13:1AAA
Accent7.43:1AAA
Destructive3.98:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.007 136.631);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.926 0.013 316.568);
  --muted-foreground: oklch(0.418 0.024 316.443);
  --popover: oklch(0.988 0.007 136.631);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.007 136.631);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.639 0.197 139.503);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.45 0.213 312.748);
  --secondary-foreground: oklch(0.959 0.025 316.532);
  --accent: oklch(0.45 0.213 312.748);
  --accent-foreground: oklch(0.959 0.025 316.532);
  --destructive: oklch(0.573 0.223 30.375);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.639 0.197 139.503);
  --chart-1: oklch(0.639 0.197 139.503);
  --chart-2: oklch(0.45 0.213 312.748);
  --chart-3: oklch(0.45 0.213 312.748);
  --chart-4: oklch(0.476 0.226 312.675);
  --chart-5: oklch(0.646 0.202 139.648);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.021 135.235);
  --foreground: oklch(0.987 0.004 136.621);
  --muted: oklch(0.197 0.019 316.33);
  --muted-foreground: oklch(0.748 0.021 316.529);
  --popover: oklch(0.141 0.021 135.235);
  --popover-foreground: oklch(0.987 0.004 136.621);
  --card: oklch(0.141 0.021 135.235);
  --card-foreground: oklch(0.987 0.004 136.621);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.639 0.197 139.503);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.45 0.213 312.748);
  --secondary-foreground: oklch(0.959 0.025 316.532);
  --accent: oklch(0.45 0.213 312.748);
  --accent-foreground: oklch(0.959 0.025 316.532);
  --destructive: oklch(0.626 0.238 30.487);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.639 0.197 139.503);
  --chart-1: oklch(0.639 0.197 139.503);
  --chart-2: oklch(0.45 0.213 312.748);
  --chart-3: oklch(0.45 0.213 312.748);
  --chart-4: oklch(0.476 0.226 312.675);
  --chart-5: oklch(0.646 0.202 139.648);
}