Pro Audit for shadcn/ui

Pro Audit is a shadcn/ui theme built around a muted deep yellow primary color (#2e2d1e) with muted deep green accents (#272e1e). The light mode uses a neutral background (#fdfdf7). Dark mode keeps the muted deep yellow primary (#2e2d1e) on a yellow-tinted background (#0f0e06).

Color palette

TokenLightDark
Background
#fdfdf7snow
#0f0e06black
Foreground
#0d0d02black
#fcfbf8snow
Card
#fdfdf7snow
#0f0e06black
Card foreground
#0d0d02black
#fcfbf8snow
Popover
#fdfdf7snow
#0f0e06black
Popover foreground
#0d0d02black
#fcfbf8snow
Primary
#2e2d1edarkslategray
#2e2d1edarkslategray
Primary foreground
#cdcbb2silver
#cdcbb2silver
Secondary
#2e251edarkslategray
#2e251edarkslategray
Secondary foreground
#cdbeb2silver
#cdbeb2silver
Muted
#f4f2f0whitesmoke
#0f0d0bblack
Muted foreground
#554e4adarkslategray
#b5afaadarkgray
Accent
#272e1edarkslategray
#272e1edarkslategray
Accent foreground
#c1cdb2silver
#c1cdb2silver
Destructive
#a50903darkred
#fa2119red
Destructive foreground
#fedddcmistyrose
#ffffffwhite
Border
#e3e3degainsboro
#272720darkslategray
Input
#e3e3degainsboro
#272720darkslategray
Ring
#2e2d1edarkslategray
#2e2d1edarkslategray

Contrast

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

Light mode
Text on background19.10:1AAA
Text on card19.10:1AAA
Primary button8.41:1AAA
Secondary button8.24:1AAA
Muted text7.31:1AAA
Accent8.42:1AAA
Destructive6.28:1AA
Dark mode
Text on background18.69:1AAA
Text on card18.69:1AAA
Primary button8.41:1AAA
Secondary button8.24:1AAA
Muted text8.96:1AAA
Accent8.42:1AAA
Destructive3.95:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.008 104.11);
  --foreground: oklch(0.155 0.026 107.021);
  --muted: oklch(0.963 0.004 62.143);
  --muted-foreground: oklch(0.43 0.011 61.835);
  --popover: oklch(0.992 0.008 104.11);
  --popover-foreground: oklch(0.155 0.026 107.021);
  --card: oklch(0.992 0.008 104.11);
  --card-foreground: oklch(0.155 0.026 107.021);
  --border: oklch(0.914 0.007 104.103);
  --input: oklch(0.914 0.007 104.103);
  --primary: oklch(0.295 0.026 105.351);
  --primary-foreground: oklch(0.837 0.034 104.651);
  --secondary: oklch(0.274 0.019 61.211);
  --secondary-foreground: oklch(0.81 0.024 61.8);
  --accent: oklch(0.29 0.03 127.829);
  --accent-foreground: oklch(0.831 0.039 127.039);
  --destructive: oklch(0.456 0.183 29.452);
  --destructive-foreground: oklch(0.925 0.037 20.194);
  --ring: oklch(0.295 0.026 105.351);
  --chart-1: oklch(0.295 0.026 105.351);
  --chart-2: oklch(0.274 0.019 61.211);
  --chart-3: oklch(0.29 0.03 127.829);
  --chart-4: oklch(0.306 0.022 61.158);
  --chart-5: oklch(0.299 0.029 105.489);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.162 0.018 105.812);
  --foreground: oklch(0.989 0.004 104.045);
  --muted: oklch(0.159 0.006 61.701);
  --muted-foreground: oklch(0.759 0.01 62.02);
  --popover: oklch(0.162 0.018 105.812);
  --popover-foreground: oklch(0.989 0.004 104.045);
  --card: oklch(0.162 0.018 105.812);
  --card-foreground: oklch(0.989 0.004 104.045);
  --border: oklch(0.269 0.011 104.646);
  --input: oklch(0.269 0.011 104.646);
  --primary: oklch(0.295 0.026 105.351);
  --primary-foreground: oklch(0.837 0.034 104.651);
  --secondary: oklch(0.274 0.019 61.211);
  --secondary-foreground: oklch(0.81 0.024 61.8);
  --accent: oklch(0.29 0.03 127.829);
  --accent-foreground: oklch(0.831 0.039 127.039);
  --destructive: oklch(0.629 0.245 28.988);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.295 0.026 105.351);
  --chart-1: oklch(0.295 0.026 105.351);
  --chart-2: oklch(0.274 0.019 61.211);
  --chart-3: oklch(0.29 0.03 127.829);
  --chart-4: oklch(0.306 0.022 61.158);
  --chart-5: oklch(0.299 0.029 105.489);
}