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

Go to generator

10000+Themes for shadcn/ui

Material Theme Palenight for shadcn/ui

Material Theme Palenight is a shadcn/ui theme built around a teal primary color (#80cbc4) with muted blue accents (#474e6b). The light mode uses a blue-tinted background (#292d3d). Dark mode keeps the teal primary (#80cbc4) on a blue-tinted background (#292d3d).

Color palette

TokenLightDark
Background
#292d3ddarkslategray
#292d3ddarkslategray
Foreground
#babed8lightsteelblue
#babed8lightsteelblue
Card
#252837darkslategray
#252837darkslategray
Card foreground
#cbcee2lightgrey
#cbcee2lightgrey
Popover
#232634darkslategray
#232634darkslategray
Popover foreground
#dbddebgainsboro
#dbddebgainsboro
Primary
#80cbc4mediumaquamarine
#80cbc4mediumaquamarine
Primary foreground
#071211black
#071211black
Secondary
#2d534fdarkslategray
#2d534fdarkslategray
Secondary foreground
#cde4e2gainsboro
#cde4e2gainsboro
Muted
#363945darkslategray
#363945darkslategray
Muted foreground
#b5b8c5silver
#b5b8c5silver
Accent
#474e6bdarkslateblue
#474e6bdarkslateblue
Accent foreground
#f0f1f5whitesmoke
#f0f1f5whitesmoke
Destructive
#f63e37tomato
#f63e37tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#393c46darkslategray
#393c46darkslategray
Input
#40434fdarkslategray
#40434fdarkslategray
Ring
#80cbc4mediumaquamarine
#80cbc4mediumaquamarine

Contrast

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

Light mode
Text on background7.48:1AAA
Text on card9.36:1AAA
Primary button10.22:1AAA
Secondary button6.42:1AA
Muted text5.84:1AA
Accent7.23:1AAA
Destructive3.72:1AA Large
Dark mode
Text on background7.48:1AAA
Text on card9.36:1AAA
Primary button10.22:1AAA
Secondary button6.42:1AA
Muted text5.84:1AA
Accent7.23:1AAA
Destructive3.72:1AA Large

CSS variables

Paste this into your globals.css to use Material Theme Palenight in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.299 0.031 274.589);
  --foreground: oklch(0.808 0.037 278.614);
  --muted: oklch(0.345 0.021 275.276);
  --muted-foreground: oklch(0.783 0.019 275.845);
  --popover: oklch(0.271 0.027 274.661);
  --popover-foreground: oklch(0.901 0.019 279.022);
  --card: oklch(0.281 0.028 274.635);
  --card-foreground: oklch(0.855 0.028 278.835);
  --border: oklch(0.357 0.018 275.439);
  --input: oklch(0.384 0.02 275.423);
  --primary: oklch(0.792 0.076 187.715);
  --primary-foreground: oklch(0.172 0.016 187.914);
  --secondary: oklch(0.412 0.044 187.35);
  --secondary-foreground: oklch(0.902 0.025 189.451);
  --accent: oklch(0.43 0.049 274.385);
  --accent-foreground: oklch(0.958 0.006 276.089);
  --destructive: oklch(0.641 0.221 27.521);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.792 0.076 187.715);
  --chart-1: oklch(0.792 0.076 187.715);
  --chart-2: oklch(0.412 0.044 187.35);
  --chart-3: oklch(0.43 0.049 274.385);
  --chart-4: oklch(0.445 0.049 187.304);
  --chart-5: oklch(0.797 0.08 187.568);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.299 0.031 274.589);
  --foreground: oklch(0.808 0.037 278.614);
  --muted: oklch(0.345 0.021 275.276);
  --muted-foreground: oklch(0.783 0.019 275.845);
  --popover: oklch(0.271 0.027 274.661);
  --popover-foreground: oklch(0.901 0.019 279.022);
  --card: oklch(0.281 0.028 274.635);
  --card-foreground: oklch(0.855 0.028 278.835);
  --border: oklch(0.357 0.018 275.439);
  --input: oklch(0.384 0.02 275.423);
  --primary: oklch(0.792 0.076 187.715);
  --primary-foreground: oklch(0.172 0.016 187.914);
  --secondary: oklch(0.412 0.044 187.35);
  --secondary-foreground: oklch(0.902 0.025 189.451);
  --accent: oklch(0.43 0.049 274.385);
  --accent-foreground: oklch(0.958 0.006 276.089);
  --destructive: oklch(0.641 0.221 27.521);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.792 0.076 187.715);
  --chart-1: oklch(0.792 0.076 187.715);
  --chart-2: oklch(0.412 0.044 187.35);
  --chart-3: oklch(0.43 0.049 274.385);
  --chart-4: oklch(0.445 0.049 187.304);
  --chart-5: oklch(0.797 0.08 187.568);
}