Amazing for shadcn/ui

Amazing is a shadcn/ui theme built around a muted red primary color (#957e83) with muted teal accents (#7e9590). The light mode uses a neutral background (#fdf7f8). Dark mode keeps the muted red primary (#957e83) on a neutral background (#080203).

Color palette

TokenLightDark
Background
#fdf7f8snow
#080203black
Foreground
#040102black
#fbf8f9snow
Card
#fdf7f8snow
#080203black
Card foreground
#040102black
#fbf8f9snow
Popover
#fdf7f8snow
#080203black
Popover foreground
#040102black
#fbf8f9snow
Primary
#957e83gray
#957e83gray
Primary foreground
#000000black
#000000black
Secondary
#7e9590lightslategray
#7e9590lightslategray
Secondary foreground
#000000black
#000000black
Muted
#e6f0edlavender
#0f1a17black
Muted foreground
#5d6f6bdimgray
#90a29edarkgray
Accent
#7e9590lightslategray
#7e9590lightslategray
Accent foreground
#000000black
#000000black
Destructive
#652406maroon
#d94d0dchocolate
Destructive foreground
#fabfa3lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#957e83gray
#957e83gray

Contrast

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

Light mode
Text on background19.63:1AAA
Text on card19.63:1AAA
Primary button5.59:1AA
Secondary button6.61:1AA
Muted text4.55:1AA
Accent6.61:1AA
Destructive7.20:1AAA
Dark mode
Text on background19.47:1AAA
Text on card19.47:1AAA
Primary button5.59:1AA
Secondary button6.61:1AA
Muted text6.66:1AA
Accent6.61:1AA
Destructive4.18:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.006 2.24);
  --foreground: oklch(0.081 0.019 2.254);
  --muted: oklch(0.946 0.011 181.735);
  --muted-foreground: oklch(0.526 0.023 180.812);
  --popover: oklch(0.981 0.006 2.24);
  --popover-foreground: oklch(0.081 0.019 2.254);
  --card: oklch(0.981 0.006 2.24);
  --card-foreground: oklch(0.081 0.019 2.254);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.616 0.03 3.364);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.651 0.028 180.84);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.651 0.028 180.84);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.354 0.102 41.474);
  --destructive-foreground: oklch(0.85 0.078 46.014);
  --ring: oklch(0.616 0.03 3.364);
  --chart-1: oklch(0.616 0.03 3.364);
  --chart-2: oklch(0.651 0.028 180.84);
  --chart-3: oklch(0.651 0.028 180.84);
  --chart-4: oklch(0.675 0.026 180.972);
  --chart-5: oklch(0.612 0.039 3.77);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.105 0.018 2.2);
  --foreground: oklch(0.983 0.003 2.158);
  --muted: oklch(0.205 0.015 179.76);
  --muted-foreground: oklch(0.697 0.021 181.189);
  --popover: oklch(0.105 0.018 2.2);
  --popover-foreground: oklch(0.983 0.003 2.158);
  --card: oklch(0.105 0.018 2.2);
  --card-foreground: oklch(0.983 0.003 2.158);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.616 0.03 3.364);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.651 0.028 180.84);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.651 0.028 180.84);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.606 0.186 39.722);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.616 0.03 3.364);
  --chart-1: oklch(0.616 0.03 3.364);
  --chart-2: oklch(0.651 0.028 180.84);
  --chart-3: oklch(0.651 0.028 180.84);
  --chart-4: oklch(0.675 0.026 180.972);
  --chart-5: oklch(0.612 0.039 3.77);
}