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

Go to generator

10000+Themes for shadcn/ui

Stimulus for shadcn/ui

Stimulus is a shadcn/ui theme built around a light violet primary color (#d7ceed) with light green accents (#ceedd7). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the light violet primary (#d7ceed) on a neutral background (#020104).

Color palette

TokenLightDark
Background
#fcfbfewhite
#020104black
Foreground
#05020dblack
#f9f9fbghostwhite
Card
#f9f7fdghostwhite
#040208black
Card foreground
#030209black
#fcfcfdwhite
Popover
#fcfbfewhite
#020104black
Popover foreground
#05020dblack
#f9f9fbghostwhite
Primary
#d7ceedgainsboro
#d7ceedgainsboro
Primary foreground
#362465midnightblue
#362465midnightblue
Secondary
#edd7cegainsboro
#edd7cegainsboro
Secondary foreground
#653624saddlebrown
#653624saddlebrown
Muted
#f0e8e5linen
#1a120fblack
Muted foreground
#60524ddimgray
#b2a49fdarkgray
Accent
#ceedd7gainsboro
#ceedd7gainsboro
Accent foreground
#091a0eblack
#091a0eblack
Destructive
#9d0c02darkred
#e31102red
Destructive foreground
#ffd5d2bisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d7ceedgainsboro
#d7ceedgainsboro

Contrast

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

Light mode
Text on background19.95:1AAA
Text on card19.43:1AAA
Primary button8.74:1AAA
Secondary button7.20:1AAA
Muted text6.18:1AA
Accent14.38:1AAA
Destructive6.33:1AA
Dark mode
Text on background19.79:1AAA
Text on card20.12:1AAA
Primary button8.74:1AAA
Secondary button7.20:1AAA
Muted text7.66:1AAA
Accent14.38:1AAA
Destructive4.82:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.004 298.502);
  --foreground: oklch(0.107 0.032 297.976);
  --muted: oklch(0.937 0.009 41.228);
  --muted-foreground: oklch(0.452 0.02 41.027);
  --popover: oklch(0.99 0.004 298.502);
  --popover-foreground: oklch(0.107 0.032 297.976);
  --card: oklch(0.979 0.007 298.436);
  --card-foreground: oklch(0.093 0.027 298.366);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.869 0.043 297.687);
  --primary-foreground: oklch(0.322 0.109 291.356);
  --secondary: oklch(0.894 0.028 41.095);
  --secondary-foreground: oklch(0.388 0.074 40.497);
  --accent: oklch(0.919 0.045 153.633);
  --accent-foreground: oklch(0.2 0.034 150.992);
  --destructive: oklch(0.44 0.175 30.071);
  --destructive-foreground: oklch(0.907 0.047 22.872);
  --ring: oklch(0.869 0.043 297.687);
  --chart-1: oklch(0.869 0.043 297.687);
  --chart-2: oklch(0.894 0.028 41.095);
  --chart-3: oklch(0.919 0.045 153.633);
  --chart-4: oklch(0.919 0.021 41.141);
  --chart-5: oklch(0.867 0.046 297.628);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.078 0.018 298.416);
  --foreground: oklch(0.983 0.003 298.518);
  --muted: oklch(0.191 0.014 40.92);
  --muted-foreground: oklch(0.729 0.018 41.132);
  --popover: oklch(0.078 0.018 298.416);
  --popover-foreground: oklch(0.983 0.003 298.518);
  --card: oklch(0.098 0.022 298.416);
  --card-foreground: oklch(0.991 0.001 298.542);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.869 0.043 297.687);
  --primary-foreground: oklch(0.322 0.109 291.356);
  --secondary: oklch(0.894 0.028 41.095);
  --secondary-foreground: oklch(0.388 0.074 40.497);
  --accent: oklch(0.919 0.045 153.633);
  --accent-foreground: oklch(0.2 0.034 150.992);
  --destructive: oklch(0.579 0.232 29.818);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.869 0.043 297.687);
  --chart-1: oklch(0.869 0.043 297.687);
  --chart-2: oklch(0.894 0.028 41.095);
  --chart-3: oklch(0.919 0.045 153.633);
  --chart-4: oklch(0.919 0.021 41.141);
  --chart-5: oklch(0.867 0.046 297.628);
}