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

Go to generator

10000+Themes for shadcn/ui

Allure (rainglow) for shadcn/ui

Allure (rainglow) is a shadcn/ui theme built around a muted light blue primary color (#c1cddc) with muted blue accents (#555d68). The light mode uses a blue-tinted background (#32383e). Dark mode keeps the muted light blue primary (#c1cddc) on a blue-tinted background (#32383e).

Color palette

TokenLightDark
Background
#32383edarkslategray
#32383edarkslategray
Foreground
#c1cddclightsteelblue
#c1cddclightsteelblue
Card
#2e3238darkslategray
#2e3238darkslategray
Card foreground
#d2dae5gainsboro
#d2dae5gainsboro
Popover
#2c3035darkslategray
#2c3035darkslategray
Popover foreground
#e2e7eelavender
#e2e7eelavender
Primary
#c1cddclightsteelblue
#c1cddclightsteelblue
Primary foreground
#273444darkslategray
#273444darkslategray
Secondary
#353f4bdarkslategray
#353f4bdarkslategray
Secondary foreground
#d2d8dfgainsboro
#d2d8dfgainsboro
Muted
#3a424adarkslategray
#3a424adarkslategray
Muted foreground
#bac1c9silver
#bac1c9silver
Accent
#555d68dimgray
#555d68dimgray
Accent foreground
#f7f7f8whitesmoke
#f7f7f8whitesmoke
Destructive
#fd3b21orangered
#fd3b21orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#454545darkslategray
#454545darkslategray
Input
#4d4d4ddarkslategray
#4d4d4ddarkslategray
Ring
#c1cddclightsteelblue
#c1cddclightsteelblue

Contrast

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

Light mode
Text on background7.38:1AAA
Text on card9.09:1AAA
Primary button7.86:1AAA
Secondary button7.48:1AAA
Muted text5.64:1AA
Accent6.19:1AA
Destructive3.61:1AA Large
Dark mode
Text on background7.38:1AAA
Text on card9.09:1AAA
Primary button7.86:1AAA
Secondary button7.48:1AAA
Muted text5.64:1AA
Accent6.19:1AA
Destructive3.61:1AA Large

CSS variables

Paste this into your globals.css to use Allure (rainglow) in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.337 0.013 253.449);
  --foreground: oklch(0.844 0.024 253.395);
  --muted: oklch(0.374 0.018 253.497);
  --muted-foreground: oklch(0.808 0.014 253.328);
  --popover: oklch(0.307 0.011 253.443);
  --popover-foreground: oklch(0.927 0.011 253.298);
  --card: oklch(0.317 0.012 253.445);
  --card-foreground: oklch(0.886 0.017 253.346);
  --border: oklch(0.39 0 165.964);
  --input: oklch(0.418 0 173.29);
  --primary: oklch(0.844 0.024 253.395);
  --primary-foreground: oklch(0.321 0.033 253.772);
  --secondary: oklch(0.362 0.024 253.593);
  --secondary-foreground: oklch(0.88 0.012 253.307);
  --accent: oklch(0.476 0.02 253.467);
  --accent-foreground: oklch(0.977 0.001 253.228);
  --destructive: oklch(0.649 0.232 31.041);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.844 0.024 253.395);
  --chart-1: oklch(0.844 0.024 253.395);
  --chart-2: oklch(0.362 0.024 253.593);
  --chart-3: oklch(0.476 0.02 253.467);
  --chart-4: oklch(0.391 0.027 253.6);
  --chart-5: oklch(0.844 0.027 253.413);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.337 0.013 253.449);
  --foreground: oklch(0.844 0.024 253.395);
  --muted: oklch(0.374 0.018 253.497);
  --muted-foreground: oklch(0.808 0.014 253.328);
  --popover: oklch(0.307 0.011 253.443);
  --popover-foreground: oklch(0.927 0.011 253.298);
  --card: oklch(0.317 0.012 253.445);
  --card-foreground: oklch(0.886 0.017 253.346);
  --border: oklch(0.39 0 165.964);
  --input: oklch(0.418 0 173.29);
  --primary: oklch(0.844 0.024 253.395);
  --primary-foreground: oklch(0.321 0.033 253.772);
  --secondary: oklch(0.362 0.024 253.593);
  --secondary-foreground: oklch(0.88 0.012 253.307);
  --accent: oklch(0.476 0.02 253.467);
  --accent-foreground: oklch(0.977 0.001 253.228);
  --destructive: oklch(0.649 0.232 31.041);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.844 0.024 253.395);
  --chart-1: oklch(0.844 0.024 253.395);
  --chart-2: oklch(0.362 0.024 253.593);
  --chart-3: oklch(0.476 0.02 253.467);
  --chart-4: oklch(0.391 0.027 253.6);
  --chart-5: oklch(0.844 0.027 253.413);
}