Experienced for shadcn/ui

Experienced is a shadcn/ui theme built around a neutral gray primary color (#c3bdbb) with neutral gray accents (#c3c1bb). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#c3bdbb) on a neutral background (#070403).

Color palette

TokenLightDark
Background
#ffffffwhite
#070403black
Foreground
#140906black
#fcf9f8snow
Card
#fcfcfcsnow
#0b0604black
Card foreground
#100705black
#fdfcfbsnow
Popover
#ffffffwhite
#070403black
Popover foreground
#140906black
#fcf9f8snow
Primary
#c3bdbbsilver
#c3bdbbsilver
Primary foreground
#292524darkslategray
#292524darkslategray
Secondary
#c3bbbdsilver
#c3bbbdsilver
Secondary foreground
#292425darkslategray
#292425darkslategray
Muted
#f7edf0whitesmoke
#12080ablack
Muted foreground
#5e5e5edimgray
#a1a1a1darkgray
Accent
#c3c1bbsilver
#c3c1bbsilver
Accent foreground
#292724darkslategray
#292724darkslategray
Destructive
#ab3c0dsaddlebrown
#f06c33tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c3bdbbsilver
#c3bdbbsilver

Contrast

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

Light mode
Text on background19.59:1AAA
Text on card19.48:1AAA
Primary button8.19:1AAA
Secondary button8.15:1AAA
Muted text5.66:1AA
Accent8.28:1AAA
Destructive6.20:1AA
Dark mode
Text on background19.49:1AAA
Text on card19.66:1AAA
Primary button8.19:1AAA
Secondary button8.15:1AAA
Muted text7.64:1AAA
Accent8.28:1AAA
Destructive6.87:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.155 0.02 42.332);
  --muted: oklch(0.955 0.011 0.204);
  --muted-foreground: oklch(0.483 0 180);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.155 0.02 42.332);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.142 0.017 44.542);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.804 0.007 39.452);
  --primary-foreground: oklch(0.268 0.006 39.388);
  --secondary: oklch(0.8 0.009 0.182);
  --secondary-foreground: oklch(0.266 0.007 0.617);
  --accent: oklch(0.811 0.008 91.496);
  --accent-foreground: oklch(0.274 0.006 91.599);
  --destructive: oklch(0.509 0.154 39.475);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.804 0.007 39.452);
  --chart-1: oklch(0.804 0.007 39.452);
  --chart-2: oklch(0.8 0.009 0.182);
  --chart-3: oklch(0.811 0.008 91.496);
  --chart-4: oklch(0.825 0.008 0.134);
  --chart-5: oklch(0.803 0.011 39.427);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.113 0.01 44.851);
  --foreground: oklch(0.984 0.003 39.484);
  --muted: oklch(0.149 0.019 2.536);
  --muted-foreground: oklch(0.708 0 158.199);
  --popover: oklch(0.113 0.01 44.851);
  --popover-foreground: oklch(0.984 0.003 39.484);
  --card: oklch(0.129 0.012 44.765);
  --card-foreground: oklch(0.992 0.002 39.496);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.804 0.007 39.452);
  --primary-foreground: oklch(0.268 0.006 39.388);
  --secondary: oklch(0.8 0.009 0.182);
  --secondary-foreground: oklch(0.266 0.007 0.617);
  --accent: oklch(0.811 0.008 91.496);
  --accent-foreground: oklch(0.274 0.006 91.599);
  --destructive: oklch(0.683 0.177 41.712);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.804 0.007 39.452);
  --chart-1: oklch(0.804 0.007 39.452);
  --chart-2: oklch(0.8 0.009 0.182);
  --chart-3: oklch(0.811 0.008 91.496);
  --chart-4: oklch(0.825 0.008 0.134);
  --chart-5: oklch(0.803 0.011 39.427);
}