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

Go to generator

10000+Themes for shadcn/ui

Grove for shadcn/ui

Grove is a shadcn/ui theme built around a cyan primary color (#5197b3) with orange accents (#b36d51). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#5197b3) on a neutral background (#020303).

Color palette

TokenLightDark
Background
#ffffffwhite
#020303black
Foreground
#010709black
#ffffffwhite
Card
#fcfcfcsnow
#030607black
Card foreground
#010304black
#ffffffwhite
Popover
#ffffffwhite
#020303black
Popover foreground
#010709black
#ffffffwhite
Primary
#5197b3steelblue
#5197b3steelblue
Primary foreground
#000000black
#000000black
Secondary
#b36d51indianred
#b36d51indianred
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e7d3cblightgrey
#342018black
Muted foreground
#5e504adarkolivegreen
#b5a6a1darkgray
Accent
#b36d51indianred
#b36d51indianred
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#8c1703darkred
#fa3f1eorangered
Destructive foreground
#feccc3pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#5197b3steelblue
#5197b3steelblue

Contrast

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

Light mode
Text on background20.27:1AAA
Text on card20.22:1AAA
Primary button6.43:1AA
Secondary button4.02:1AA Large
Muted text5.34:1AA
Accent4.02:1AA Large
Destructive6.53:1AA
Dark mode
Text on background20.66:1AAA
Text on card20.33:1AAA
Primary button6.43:1AA
Secondary button4.02:1AA Large
Muted text6.52:1AA
Accent4.02:1AA Large
Destructive3.61:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.119 0.015 216.637);
  --muted: oklch(0.88 0.025 42.901);
  --muted-foreground: oklch(0.443 0.022 42.769);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.119 0.015 216.637);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.094 0.012 216.637);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.642 0.082 226.002);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.605 0.098 42.168);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.605 0.098 42.168);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.414 0.154 32.071);
  --destructive-foreground: oklch(0.886 0.058 29.847);
  --ring: oklch(0.642 0.082 226.002);
  --chart-1: oklch(0.642 0.082 226.002);
  --chart-2: oklch(0.605 0.098 42.168);
  --chart-3: oklch(0.605 0.098 42.168);
  --chart-4: oklch(0.628 0.091 42.284);
  --chart-5: oklch(0.646 0.087 226.347);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.093 0.006 219.783);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.267 0.034 42.385);
  --muted-foreground: oklch(0.737 0.019 42.918);
  --popover: oklch(0.093 0.006 219.783);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.117 0.007 219.783);
  --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.642 0.082 226.002);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.605 0.098 42.168);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.605 0.098 42.168);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.648 0.227 32.213);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.642 0.082 226.002);
  --chart-1: oklch(0.642 0.082 226.002);
  --chart-2: oklch(0.605 0.098 42.168);
  --chart-3: oklch(0.605 0.098 42.168);
  --chart-4: oklch(0.628 0.091 42.284);
  --chart-5: oklch(0.646 0.087 226.347);
}