Aching for shadcn/ui

Aching is a shadcn/ui theme built around a muted light pink primary color (#d1b7be) with muted light pink accents (#e0d7d9). The light mode uses a neutral background (#fefbfc). Dark mode keeps the muted light pink primary (#d1b7be) on a neutral background (#040102).

Color palette

TokenLightDark
Background
#fefbfcsnow
#040102black
Foreground
#0c0306black
#f8f6f7whitesmoke
Card
#fdf7f8snow
#070304black
Card foreground
#080204black
#fbf9fasnow
Popover
#fefbfcsnow
#040102black
Popover foreground
#0c0306black
#f8f6f7whitesmoke
Primary
#d1b7besilver
#d1b7besilver
Primary foreground
#352227darkslategray
#352227darkslategray
Secondary
#e0d7d9gainsboro
#272022black
Secondary foreground
#4b3a3edarkslategray
#c3b7basilver
Muted
#ebe0e3gainsboro
#1f1417black
Muted foreground
#423e3fdarkslategray
#c1bdbesilver
Accent
#e0d7d9gainsboro
#272022black
Accent foreground
#4b3a3edarkslategray
#c3b7basilver
Destructive
#6c2909saddlebrown
#eb5814chocolate
Destructive foreground
#f8c6afpeachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d1b7besilver
#d1b7besilver

Contrast

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

Light mode
Text on background19.77:1AAA
Text on card19.39:1AAA
Primary button7.99:1AAA
Secondary button7.52:1AAA
Muted text8.18:1AAA
Accent7.52:1AAA
Destructive7.01:1AAA
Dark mode
Text on background19.29:1AAA
Text on card19.57:1AAA
Primary button7.99:1AAA
Secondary button8.17:1AAA
Muted text9.63:1AAA
Accent8.17:1AAA
Destructive3.53:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.004 358.892);
  --foreground: oklch(0.12 0.022 358.857);
  --muted: oklch(0.916 0.012 359.163);
  --muted-foreground: oklch(0.367 0.006 359.208);
  --popover: oklch(0.99 0.004 358.892);
  --popover-foreground: oklch(0.12 0.022 358.857);
  --card: oklch(0.98 0.008 359.003);
  --card-foreground: oklch(0.105 0.019 358.62);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.805 0.031 359.853);
  --primary-foreground: oklch(0.277 0.03 1.786);
  --secondary: oklch(0.886 0.011 359.126);
  --secondary-foreground: oklch(0.368 0.025 0.682);
  --accent: oklch(0.886 0.011 359.126);
  --accent-foreground: oklch(0.368 0.025 0.682);
  --destructive: oklch(0.373 0.104 41.742);
  --destructive-foreground: oklch(0.865 0.065 46.147);
  --ring: oklch(0.805 0.031 359.853);
  --chart-1: oklch(0.805 0.031 359.853);
  --chart-2: oklch(0.886 0.011 359.126);
  --chart-3: oklch(0.886 0.011 359.126);
  --chart-4: oklch(0.911 0.008 359.044);
  --chart-5: oklch(0.803 0.035 0.002);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.085 0.012 358.659);
  --foreground: oklch(0.976 0.002 358.844);
  --muted: oklch(0.207 0.018 1.203);
  --muted-foreground: oklch(0.803 0.005 358.944);
  --popover: oklch(0.085 0.012 358.659);
  --popover-foreground: oklch(0.976 0.002 358.844);
  --card: oklch(0.107 0.015 358.659);
  --card-foreground: oklch(0.984 0.001 358.823);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.805 0.031 359.853);
  --primary-foreground: oklch(0.277 0.03 1.786);
  --secondary: oklch(0.254 0.01 359.911);
  --secondary-foreground: oklch(0.789 0.014 359.292);
  --accent: oklch(0.254 0.01 359.911);
  --accent-foreground: oklch(0.789 0.014 359.292);
  --destructive: oklch(0.648 0.194 40.388);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.805 0.031 359.853);
  --chart-1: oklch(0.805 0.031 359.853);
  --chart-2: oklch(0.254 0.01 359.911);
  --chart-3: oklch(0.254 0.01 359.911);
  --chart-4: oklch(0.284 0.012 359.972);
  --chart-5: oklch(0.803 0.035 0.002);
}