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

Go to generator

10000+Themes for shadcn/ui

Aware for shadcn/ui

Aware is a shadcn/ui theme built around a vivid deep pink primary color (#4a0727) with muted light pink accents (#d0c3c9). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the vivid deep pink primary (#4a0727) on a pink-tinted background (#0b0507).

Color palette

TokenLightDark
Background
#fcf8fasnow
#0b0507black
Foreground
#040102black
#f8f6f7whitesmoke
Card
#fcf8fasnow
#0b0507black
Card foreground
#040102black
#f8f6f7whitesmoke
Popover
#fcf8fasnow
#0b0507black
Popover foreground
#040102black
#f8f6f7whitesmoke
Primary
#4a0727maroon
#4a0727maroon
Primary foreground
#f490belightpink
#f490belightpink
Secondary
#e2dfe0gainsboro
#372f33darkslategray
Secondary foreground
#4c4347darkslategray
#d0c8cclightgrey
Muted
#f4f1f2whitesmoke
#0e0b0dblack
Muted foreground
#52474cdarkslategray
#b8adb2darkgray
Accent
#d0c3c9thistle
#49373fdarkslategray
Accent foreground
#362b30darkslategray
#ded3d8gainsboro
Destructive
#881106darkred
#db1c0ared
Destructive foreground
#fcc9c5pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#4a0727maroon
#4a0727maroon

Contrast

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

Light mode
Text on background19.71:1AAA
Text on card19.71:1AAA
Primary button7.07:1AAA
Secondary button7.19:1AAA
Muted text7.89:1AAA
Accent7.98:1AAA
Destructive6.68:1AA
Dark mode
Text on background18.81:1AAA
Text on card18.81:1AAA
Primary button7.07:1AAA
Secondary button7.90:1AAA
Muted text8.99:1AAA
Accent7.60:1AAA
Destructive5.01:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.005 347.044);
  --foreground: oklch(0.083 0.019 346.582);
  --muted: oklch(0.96 0.004 347.022);
  --muted-foreground: oklch(0.411 0.016 347.958);
  --popover: oklch(0.982 0.005 347.044);
  --popover-foreground: oklch(0.083 0.019 346.582);
  --card: oklch(0.982 0.005 347.044);
  --card-foreground: oklch(0.083 0.019 346.582);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.274 0.1 358.584);
  --primary-foreground: oklch(0.771 0.133 351.236);
  --secondary: oklch(0.906 0.005 347.044);
  --secondary-foreground: oklch(0.393 0.013 347.798);
  --accent: oklch(0.83 0.017 347.437);
  --accent-foreground: oklch(0.303 0.019 348.562);
  --destructive: oklch(0.403 0.154 30.17);
  --destructive-foreground: oklch(0.88 0.059 24.357);
  --ring: oklch(0.274 0.1 358.584);
  --chart-1: oklch(0.274 0.1 358.584);
  --chart-2: oklch(0.906 0.005 347.044);
  --chart-3: oklch(0.83 0.017 347.437);
  --chart-4: oklch(0.929 0.003 347.006);
  --chart-5: oklch(0.275 0.103 359.024);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.016 346.767);
  --foreground: oklch(0.976 0.003 346.98);
  --muted: oklch(0.155 0.007 348.007);
  --muted-foreground: oklch(0.759 0.014 347.401);
  --popover: oklch(0.125 0.016 346.767);
  --popover-foreground: oklch(0.976 0.003 346.98);
  --card: oklch(0.125 0.016 346.767);
  --card-foreground: oklch(0.976 0.003 346.98);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.274 0.1 358.584);
  --primary-foreground: oklch(0.771 0.133 351.236);
  --secondary: oklch(0.316 0.012 347.883);
  --secondary-foreground: oklch(0.841 0.009 347.198);
  --accent: oklch(0.359 0.029 348.949);
  --accent-foreground: oklch(0.878 0.014 347.319);
  --destructive: oklch(0.569 0.222 30.067);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.274 0.1 358.584);
  --chart-1: oklch(0.274 0.1 358.584);
  --chart-2: oklch(0.316 0.012 347.883);
  --chart-3: oklch(0.359 0.029 348.949);
  --chart-4: oklch(0.345 0.013 347.911);
  --chart-5: oklch(0.275 0.103 359.024);
}