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

Go to generator

10000+Themes for shadcn/ui

Winged for shadcn/ui

Winged is a shadcn/ui theme built around a deep purple primary color (#39142e) with deep green accents (#14391e). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep purple primary (#39142e) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#12030dblack
#fdfcfdwhite
Card
#ffffffwhite
#000000black
Card foreground
#12030dblack
#fdfcfdwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#12030dblack
#fdfcfdwhite
Primary
#39142edarkslategray
#39142edarkslategray
Primary foreground
#dea1cdplum
#dea1cdplum
Secondary
#14391edarkgreen
#14391edarkgreen
Secondary foreground
#a1deb2palegreen
#a1deb2palegreen
Muted
#f1f3f2whitesmoke
#0c0e0cblack
Muted foreground
#495a4edarkslategray
#a5b6aadarkgray
Accent
#14391edarkgreen
#14391edarkgreen
Accent foreground
#a1deb2palegreen
#a1deb2palegreen
Destructive
#c2300ffirebrick
#ee3e17orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#39142edarkslategray
#39142edarkslategray

Contrast

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

Light mode
Text on background20.10:1AAA
Text on card20.10:1AAA
Primary button7.69:1AAA
Secondary button8.36:1AAA
Muted text6.61:1AA
Accent8.36:1AAA
Destructive5.63:1AA
Dark mode
Text on background20.51:1AAA
Text on card20.51:1AAA
Primary button7.69:1AAA
Secondary button8.36:1AAA
Muted text9.12:1AAA
Accent8.36:1AAA
Destructive3.94:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.134 0.04 338.045);
  --muted: oklch(0.963 0.003 155.136);
  --muted-foreground: oklch(0.449 0.028 154.003);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.134 0.04 338.045);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.134 0.04 338.045);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.259 0.07 339.754);
  --primary-foreground: oklch(0.779 0.092 337.208);
  --secondary: oklch(0.308 0.063 150.387);
  --secondary-foreground: oklch(0.847 0.087 153.113);
  --accent: oklch(0.308 0.063 150.387);
  --accent-foreground: oklch(0.847 0.087 153.113);
  --destructive: oklch(0.536 0.188 33.265);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.259 0.07 339.754);
  --chart-1: oklch(0.259 0.07 339.754);
  --chart-2: oklch(0.308 0.063 150.387);
  --chart-3: oklch(0.308 0.063 150.387);
  --chart-4: oklch(0.346 0.073 150.177);
  --chart-5: oklch(0.259 0.073 340.018);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.002 335.233);
  --muted: oklch(0.16 0.005 154.662);
  --muted-foreground: oklch(0.759 0.024 154.586);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.002 335.233);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.992 0.002 335.233);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.259 0.07 339.754);
  --primary-foreground: oklch(0.779 0.092 337.208);
  --secondary: oklch(0.308 0.063 150.387);
  --secondary-foreground: oklch(0.847 0.087 153.113);
  --accent: oklch(0.308 0.063 150.387);
  --accent-foreground: oklch(0.847 0.087 153.113);
  --destructive: oklch(0.625 0.217 33.358);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.259 0.07 339.754);
  --chart-1: oklch(0.259 0.07 339.754);
  --chart-2: oklch(0.308 0.063 150.387);
  --chart-3: oklch(0.308 0.063 150.387);
  --chart-4: oklch(0.346 0.073 150.177);
  --chart-5: oklch(0.259 0.073 340.018);
}