Proponent for shadcn/ui

Proponent is a shadcn/ui theme built around a neutral gray primary color (#313030) with muted light pink accents (#e6dbdf). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the neutral gray primary (#313030) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdf7f9snow
#000000black
Foreground
#040102black
#faf5f7whitesmoke
Card
#fdf7f9snow
#000000black
Card foreground
#040102black
#faf5f7whitesmoke
Popover
#fdf7f9snow
#000000black
Popover foreground
#040102black
#faf5f7whitesmoke
Primary
#313030darkslategray
#313030darkslategray
Primary foreground
#cac9c9silver
#cac9c9silver
Secondary
#e6dbdfgainsboro
#312f30darkslategray
Secondary foreground
#553a45darkslategray
#cbc8c9silver
Muted
#ece9ealinen
#161314black
Muted foreground
#666063dimgray
#9f999bdarkgray
Accent
#e6dbdfgainsboro
#312f30darkslategray
Accent foreground
#553a45darkslategray
#cbc8c9silver
Destructive
#a01a0efirebrick
#d82313firebrick
Destructive foreground
#fde5e3mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#313030darkslategray
#313030darkslategray

Contrast

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

Light mode
Text on background19.63:1AAA
Text on card19.63:1AAA
Primary button7.96:1AAA
Secondary button7.47:1AAA
Muted text5.09:1AA
Accent7.47:1AAA
Destructive6.62:1AA
Dark mode
Text on background19.46:1AAA
Text on card19.46:1AAA
Primary button7.96:1AAA
Secondary button7.95:1AAA
Muted text6.60:1AA
Accent7.95:1AAA
Destructive5.04:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.007 349.876);
  --foreground: oklch(0.081 0.021 349.171);
  --muted: oklch(0.937 0.004 349.789);
  --muted-foreground: oklch(0.497 0.008 350.145);
  --popover: oklch(0.981 0.007 349.876);
  --popover-foreground: oklch(0.081 0.021 349.171);
  --card: oklch(0.981 0.007 349.876);
  --card-foreground: oklch(0.081 0.021 349.171);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.31 0.002 349.81);
  --primary-foreground: oklch(0.837 0.001 349.715);
  --secondary: oklch(0.901 0.014 350.11);
  --secondary-foreground: oklch(0.383 0.042 352.564);
  --accent: oklch(0.901 0.014 350.11);
  --accent-foreground: oklch(0.383 0.042 352.564);
  --destructive: oklch(0.455 0.17 30.049);
  --destructive-foreground: oklch(0.94 0.026 23.87);
  --ring: oklch(0.31 0.002 349.81);
  --chart-1: oklch(0.31 0.002 349.81);
  --chart-2: oklch(0.901 0.014 350.11);
  --chart-3: oklch(0.901 0.014 350.11);
  --chart-4: oklch(0.926 0.011 349.99);
  --chart-5: oklch(0.308 0.006 350.23);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.974 0.005 349.823);
  --muted: oklch(0.19 0.006 350.526);
  --muted-foreground: oklch(0.687 0.008 349.988);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.974 0.005 349.823);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.974 0.005 349.823);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.31 0.002 349.81);
  --primary-foreground: oklch(0.837 0.001 349.715);
  --secondary: oklch(0.309 0.003 349.95);
  --secondary-foreground: oklch(0.836 0.003 349.76);
  --accent: oklch(0.309 0.003 349.95);
  --accent-foreground: oklch(0.836 0.003 349.76);
  --destructive: oklch(0.567 0.215 30.085);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.31 0.002 349.81);
  --chart-1: oklch(0.31 0.002 349.81);
  --chart-2: oklch(0.309 0.003 349.95);
  --chart-3: oklch(0.309 0.003 349.95);
  --chart-4: oklch(0.339 0.004 349.959);
  --chart-5: oklch(0.308 0.006 350.23);
}