Venerated for shadcn/ui

Venerated is a shadcn/ui theme built around a neutral gray primary color (#383932) with neutral gray accents (#333239). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#383932) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#070802black
#fbfbf8snow
Card
#fcfcfcsnow
#030303black
Card foreground
#040401black
#fdfdfcwhite
Popover
#fcfcfcsnow
#030303black
Popover foreground
#040401black
#fdfdfcwhite
Primary
#383932darkslategray
#383932darkslategray
Primary foreground
#d1d2cblightgrey
#d1d2cblightgrey
Secondary
#333239darkslategray
#333239darkslategray
Secondary foreground
#cccbd2lightgrey
#cccbd2lightgrey
Muted
#eeeef2whitesmoke
#0e0d11black
Muted foreground
#49484bdarkslategray
#b4b4b7silver
Accent
#333239darkslategray
#333239darkslategray
Accent foreground
#cccbd2lightgrey
#cccbd2lightgrey
Destructive
#9d2d10brown
#ea5834tomato
Destructive foreground
#fce8e3mistyrose
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#383932darkslategray
#383932darkslategray

Contrast

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

Light mode
Text on background20.10:1AAA
Text on card20.08:1AAA
Primary button7.63:1AAA
Secondary button7.89:1AAA
Muted text7.84:1AAA
Accent7.89:1AAA
Destructive6.33:1AA
Dark mode
Text on background20.25:1AAA
Text on card20.31:1AAA
Primary button7.63:1AAA
Secondary button7.89:1AAA
Muted text9.34:1AAA
Accent7.89:1AAA
Destructive5.94:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.132 0.02 113.72);
  --muted: oklch(0.95 0.005 292.446);
  --muted-foreground: oklch(0.405 0.005 292.315);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.104 0.016 113.72);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.104 0.016 113.72);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.342 0.013 113.241);
  --primary-foreground: oklch(0.861 0.009 112.745);
  --secondary: oklch(0.32 0.013 291.755);
  --secondary-foreground: oklch(0.845 0.009 292.335);
  --accent: oklch(0.32 0.013 291.755);
  --accent-foreground: oklch(0.845 0.009 292.335);
  --destructive: oklch(0.466 0.153 34.459);
  --destructive-foreground: oklch(0.946 0.023 34.298);
  --ring: oklch(0.342 0.013 113.241);
  --chart-1: oklch(0.342 0.013 113.241);
  --chart-2: oklch(0.32 0.013 291.755);
  --chart-3: oklch(0.32 0.013 291.755);
  --chart-4: oklch(0.349 0.015 291.733);
  --chart-5: oklch(0.347 0.018 113.515);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.988 0.004 112.623);
  --muted: oklch(0.164 0.008 291.647);
  --muted-foreground: oklch(0.77 0.004 292.442);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.994 0.002 112.583);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.994 0.002 112.583);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.342 0.013 113.241);
  --primary-foreground: oklch(0.861 0.009 112.745);
  --secondary: oklch(0.32 0.013 291.755);
  --secondary-foreground: oklch(0.845 0.009 292.335);
  --accent: oklch(0.32 0.013 291.755);
  --accent-foreground: oklch(0.845 0.009 292.335);
  --destructive: oklch(0.648 0.187 35.071);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.342 0.013 113.241);
  --chart-1: oklch(0.342 0.013 113.241);
  --chart-2: oklch(0.32 0.013 291.755);
  --chart-3: oklch(0.32 0.013 291.755);
  --chart-4: oklch(0.349 0.015 291.733);
  --chart-5: oklch(0.347 0.018 113.515);
}