Making for shadcn/ui

Making is a shadcn/ui theme built around a muted red primary color (#ba8c92) with muted blue accents (#8c92ba). The light mode uses a neutral background (#fefbfc). Dark mode keeps the muted red primary (#ba8c92) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefbfcsnow
#000000black
Foreground
#000000black
#f9f5f6whitesmoke
Card
#fefbfcsnow
#000000black
Card foreground
#000000black
#f9f5f6whitesmoke
Popover
#fefbfcsnow
#000000black
Popover foreground
#000000black
#f9f5f6whitesmoke
Primary
#ba8c92rosybrown
#ba8c92rosybrown
Primary foreground
#0d0808black
#0d0808black
Secondary
#92ba8cdarkseagreen
#92ba8cdarkseagreen
Secondary foreground
#080d08black
#080d08black
Muted
#e7f0e6beige
#101a0fblack
Muted foreground
#5d6b5bdimgray
#95a494darkseagreen
Accent
#8c92balightslategray
#8c92balightslategray
Accent foreground
#08080dblack
#08080dblack
Destructive
#9e2800saddlebrown
#ff470aorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ba8c92rosybrown
#ba8c92rosybrown

Contrast

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

Light mode
Text on background20.43:1AAA
Text on card20.43:1AAA
Primary button6.88:1AA
Secondary button8.98:1AAA
Muted text4.82:1AA
Accent6.58:1AA
Destructive7.62:1AAA
Dark mode
Text on background19.41:1AAA
Text on card19.41:1AAA
Primary button6.88:1AA
Secondary button8.98:1AAA
Muted text6.83:1AA
Accent6.58:1AA
Destructive3.40:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 8.968);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.945 0.017 142.052);
  --muted-foreground: oklch(0.512 0.03 141.91);
  --popover: oklch(0.991 0.002 8.968);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.991 0.002 8.968);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.686 0.056 10.856);
  --primary-foreground: oklch(0.14 0.01 9.713);
  --secondary: oklch(0.748 0.078 141.753);
  --secondary-foreground: oklch(0.151 0.013 141.467);
  --accent: oklch(0.669 0.06 278.763);
  --accent-foreground: oklch(0.137 0.01 278.368);
  --destructive: oklch(0.462 0.16 35.527);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.686 0.056 10.856);
  --chart-1: oklch(0.686 0.056 10.856);
  --chart-2: oklch(0.748 0.078 141.753);
  --chart-3: oklch(0.669 0.06 278.763);
  --chart-4: oklch(0.769 0.071 141.793);
  --chart-5: oklch(0.683 0.063 11.117);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.974 0.004 9.014);
  --muted: oklch(0.203 0.024 141.708);
  --muted-foreground: oklch(0.701 0.028 141.976);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.974 0.004 9.014);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.974 0.004 9.014);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.686 0.056 10.856);
  --primary-foreground: oklch(0.14 0.01 9.713);
  --secondary: oklch(0.748 0.078 141.753);
  --secondary-foreground: oklch(0.151 0.013 141.467);
  --accent: oklch(0.669 0.06 278.763);
  --accent-foreground: oklch(0.137 0.01 278.368);
  --destructive: oklch(0.663 0.227 35.303);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.686 0.056 10.856);
  --chart-1: oklch(0.686 0.056 10.856);
  --chart-2: oklch(0.748 0.078 141.753);
  --chart-3: oklch(0.669 0.06 278.763);
  --chart-4: oklch(0.769 0.071 141.793);
  --chart-5: oklch(0.683 0.063 11.117);
}