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

Go to generator

10000+Themes for shadcn/ui

Powerless for shadcn/ui

Powerless is a shadcn/ui theme built around a neutral gray primary color (#333630) with neutral gray accents (#333036). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#333630) on a neutral background (#050802).

Color palette

TokenLightDark
Background
#ffffffwhite
#050802black
Foreground
#050901black
#ffffffwhite
Card
#ffffffwhite
#050802black
Card foreground
#050901black
#ffffffwhite
Popover
#ffffffwhite
#050802black
Popover foreground
#050901black
#ffffffwhite
Primary
#333630darkslategray
#333630darkslategray
Primary foreground
#cccfc9lightgrey
#cccfc9lightgrey
Secondary
#333036darkslategray
#333036darkslategray
Secondary foreground
#ccc9cflightgrey
#ccc9cflightgrey
Muted
#efedf2whitesmoke
#0f0d12black
Muted foreground
#514b58darkslategray
#ada7b4darkgray
Accent
#333036darkslategray
#333036darkslategray
Accent foreground
#ccc9cflightgrey
#ccc9cflightgrey
Destructive
#801d0amaroon
#f05233tomato
Destructive foreground
#facbc1pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#333630darkslategray
#333630darkslategray

Contrast

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

Light mode
Text on background20.07:1AAA
Text on card20.07:1AAA
Primary button7.82:1AAA
Secondary button7.90:1AAA
Muted text7.25:1AAA
Accent7.90:1AAA
Destructive6.83:1AA
Dark mode
Text on background20.15:1AAA
Text on card20.15:1AAA
Primary button7.82:1AAA
Secondary button7.90:1AAA
Muted text8.25:1AAA
Accent7.90:1AAA
Destructive3.52:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.131 0.026 125.233);
  --muted: oklch(0.95 0.007 306.335);
  --muted-foreground: oklch(0.424 0.023 305.749);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.131 0.026 125.233);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.131 0.026 125.233);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.327 0.009 126.799);
  --primary-foreground: oklch(0.85 0.007 126.54);
  --secondary: oklch(0.315 0.009 306.044);
  --secondary-foreground: oklch(0.841 0.007 306.315);
  --accent: oklch(0.315 0.009 306.044);
  --accent-foreground: oklch(0.841 0.007 306.315);
  --destructive: oklch(0.396 0.137 32.87);
  --destructive-foreground: oklch(0.88 0.056 31.304);
  --ring: oklch(0.327 0.009 126.799);
  --chart-1: oklch(0.327 0.009 126.799);
  --chart-2: oklch(0.315 0.009 306.044);
  --chart-3: oklch(0.315 0.009 306.044);
  --chart-4: oklch(0.344 0.011 306.033);
  --chart-5: oklch(0.331 0.015 127.016);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.127 0.019 125.527);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.163 0.011 305.59);
  --muted-foreground: oklch(0.737 0.02 306.088);
  --popover: oklch(0.127 0.019 125.527);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.127 0.019 125.527);
  --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.327 0.009 126.799);
  --primary-foreground: oklch(0.85 0.007 126.54);
  --secondary: oklch(0.315 0.009 306.044);
  --secondary-foreground: oklch(0.841 0.007 306.315);
  --accent: oklch(0.315 0.009 306.044);
  --accent-foreground: oklch(0.841 0.007 306.315);
  --destructive: oklch(0.651 0.199 33.209);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.327 0.009 126.799);
  --chart-1: oklch(0.327 0.009 126.799);
  --chart-2: oklch(0.315 0.009 306.044);
  --chart-3: oklch(0.315 0.009 306.044);
  --chart-4: oklch(0.344 0.011 306.033);
  --chart-5: oklch(0.331 0.015 127.016);
}