Acquaintance for shadcn/ui

Acquaintance is a shadcn/ui theme built around a light yellow primary color (#f8f7dd) with light indigo accents (#dddff8). The light mode uses a neutral background (#fefefb). Dark mode keeps the light yellow primary (#f8f7dd) on a yellow-tinted background (#0b0b04).

Color palette

TokenLightDark
Background
#fefefbwhite
#0b0b04black
Foreground
#090901black
#fcfbf8snow
Card
#fefefbwhite
#0b0b04black
Card foreground
#090901black
#fcfbf8snow
Popover
#fefefbwhite
#0b0b04black
Popover foreground
#090901black
#fcfbf8snow
Primary
#f8f7ddbeige
#f8f7ddbeige
Primary foreground
#33310ablack
#33310ablack
Secondary
#dddff8lavender
#dddff8lavender
Secondary foreground
#1a2289midnightblue
#1a2289midnightblue
Muted
#f1f1f4whitesmoke
#0b0c0eblack
Muted foreground
#626364dimgray
#9b9b9ddarkgray
Accent
#dddff8lavender
#dddff8lavender
Accent foreground
#1a2289midnightblue
#1a2289midnightblue
Destructive
#660c0amaroon
#df1916crimson
Destructive foreground
#f7adablightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f8f7ddbeige
#f8f7ddbeige

Contrast

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

Light mode
Text on background19.76:1AAA
Text on card19.76:1AAA
Primary button12.18:1AAA
Secondary button9.75:1AAA
Muted text5.33:1AA
Accent9.75:1AAA
Destructive7.10:1AAA
Dark mode
Text on background19.09:1AAA
Text on card19.09:1AAA
Primary button12.18:1AAA
Secondary button9.75:1AAA
Muted text7.06:1AAA
Accent9.75:1AAA
Destructive4.90:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.996 0.004 103.177);
  --foreground: oklch(0.135 0.024 106.774);
  --muted: oklch(0.959 0.003 283.045);
  --muted-foreground: oklch(0.499 0.003 283.007);
  --popover: oklch(0.996 0.004 103.177);
  --popover-foreground: oklch(0.135 0.024 106.774);
  --card: oklch(0.996 0.004 103.177);
  --card-foreground: oklch(0.135 0.024 106.774);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.97 0.034 103.674);
  --primary-foreground: oklch(0.306 0.056 105.231);
  --secondary: oklch(0.909 0.035 282.423);
  --secondary-foreground: oklch(0.331 0.167 270.016);
  --accent: oklch(0.909 0.035 282.423);
  --accent-foreground: oklch(0.331 0.167 270.016);
  --destructive: oklch(0.329 0.123 27.954);
  --destructive-foreground: oklch(0.817 0.087 20.222);
  --ring: oklch(0.97 0.034 103.674);
  --chart-1: oklch(0.97 0.034 103.674);
  --chart-2: oklch(0.909 0.035 282.423);
  --chart-3: oklch(0.909 0.035 282.423);
  --chart-4: oklch(0.943 0.022 282.707);
  --chart-5: oklch(0.971 0.035 103.696);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.146 0.016 105.386);
  --foreground: oklch(0.989 0.005 103.183);
  --muted: oklch(0.153 0.006 282.469);
  --muted-foreground: oklch(0.689 0.003 283.04);
  --popover: oklch(0.146 0.016 105.386);
  --popover-foreground: oklch(0.989 0.005 103.183);
  --card: oklch(0.146 0.016 105.386);
  --card-foreground: oklch(0.989 0.005 103.183);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.97 0.034 103.674);
  --primary-foreground: oklch(0.306 0.056 105.231);
  --secondary: oklch(0.909 0.035 282.423);
  --secondary-foreground: oklch(0.331 0.167 270.016);
  --accent: oklch(0.909 0.035 282.423);
  --accent-foreground: oklch(0.331 0.167 270.016);
  --destructive: oklch(0.575 0.225 28.655);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.97 0.034 103.674);
  --chart-1: oklch(0.97 0.034 103.674);
  --chart-2: oklch(0.909 0.035 282.423);
  --chart-3: oklch(0.909 0.035 282.423);
  --chart-4: oklch(0.943 0.022 282.707);
  --chart-5: oklch(0.971 0.035 103.696);
}