Monitoring for shadcn/ui

Monitoring is a shadcn/ui theme built around a red primary color (#cf695e) with cyan accents (#5ec4cf). The light mode uses a neutral background (#fdfcfb). Dark mode keeps the red primary (#cf695e) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfcfbsnow
#000000black
Foreground
#050101black
#ffffffwhite
Card
#fdfcfbsnow
#000000black
Card foreground
#050101black
#ffffffwhite
Popover
#fdfcfbsnow
#000000black
Popover foreground
#050101black
#ffffffwhite
Primary
#cf695eindianred
#cf695eindianred
Primary foreground
#000000black
#000000black
Secondary
#5ec4cfmediumturquoise
#5ec4cfmediumturquoise
Secondary foreground
#000000black
#000000black
Muted
#d3e7e9gainsboro
#162a2cdarkslategray
Muted foreground
#3b484adarkslategray
#b5c3c4silver
Accent
#5ec4cfmediumturquoise
#5ec4cfmediumturquoise
Accent foreground
#000000black
#000000black
Destructive
#8c310dsaddlebrown
#e95216chocolate
Destructive foreground
#fbdcd0bisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cf695eindianred
#cf695eindianred

Contrast

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

Light mode
Text on background20.24:1AAA
Text on card20.24:1AAA
Primary button5.84:1AA
Secondary button10.23:1AAA
Muted text7.38:1AAA
Accent10.23:1AAA
Destructive6.34:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button5.84:1AA
Secondary button10.23:1AAA
Muted text8.25:1AAA
Accent10.23:1AAA
Destructive3.69:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 25.006);
  --foreground: oklch(0.082 0.018 33.907);
  --muted: oklch(0.913 0.021 204.83);
  --muted-foreground: oklch(0.391 0.017 204.733);
  --popover: oklch(0.991 0.002 25.006);
  --popover-foreground: oklch(0.082 0.018 33.907);
  --card: oklch(0.991 0.002 25.006);
  --card-foreground: oklch(0.082 0.018 33.907);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.638 0.131 27.833);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.763 0.096 205.096);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.763 0.096 205.096);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.441 0.132 39.091);
  --destructive-foreground: oklch(0.917 0.038 42.815);
  --ring: oklch(0.638 0.131 27.833);
  --chart-1: oklch(0.638 0.131 27.833);
  --chart-2: oklch(0.763 0.096 205.096);
  --chart-3: oklch(0.763 0.096 205.096);
  --chart-4: oklch(0.779 0.09 204.951);
  --chart-5: oklch(0.638 0.138 28.042);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.269 0.026 204.761);
  --muted-foreground: oklch(0.806 0.015 204.861);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.638 0.131 27.833);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.763 0.096 205.096);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.763 0.096 205.096);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.638 0.198 38.404);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.638 0.131 27.833);
  --chart-1: oklch(0.638 0.131 27.833);
  --chart-2: oklch(0.763 0.096 205.096);
  --chart-3: oklch(0.763 0.096 205.096);
  --chart-4: oklch(0.779 0.09 204.951);
  --chart-5: oklch(0.638 0.138 28.042);
}