Acquisition for shadcn/ui

Acquisition is a shadcn/ui theme built around a red primary color (#da3a34) with neutral gray accents (#e3e3e3). The light mode uses a neutral background (#fdf7f6). Dark mode keeps the red primary (#da3a34) on a red-tinted background (#0a0505).

Color palette

TokenLightDark
Background
#fdf7f6snow
#0a0505black
Foreground
#040101black
#fcf8f8snow
Card
#fdf2f2lavenderblush
#0d0707black
Card foreground
#000000black
#fdfcfcsnow
Popover
#fdf7f6snow
#0a0505black
Popover foreground
#040101black
#fcf8f8snow
Primary
#da3a34crimson
#da3a34crimson
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e3e3e3gainsboro
#161313black
Secondary foreground
#4a4a4adarkslategray
#b4a7a7darkgray
Muted
#f1eaealinen
#150f0eblack
Muted foreground
#6c5a5adimgray
#a59393rosybrown
Accent
#e3e3e3gainsboro
#161313black
Accent foreground
#4a4a4adarkslategray
#b4a7a7darkgray
Destructive
#7e1907maroon
#f34020orangered
Destructive foreground
#fbc5bblightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#da3a34crimson
#da3a34crimson

Contrast

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

Light mode
Text on background19.58:1AAA
Text on card19.19:1AAA
Primary button4.53:1AA
Secondary button6.90:1AA
Muted text5.42:1AA
Accent6.90:1AA
Destructive6.81:1AA
Dark mode
Text on background19.17:1AAA
Text on card19.48:1AAA
Primary button4.53:1AA
Secondary button7.94:1AAA
Muted text6.51:1AA
Accent7.94:1AAA
Destructive3.76:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.007 19.711);
  --foreground: oklch(0.082 0.015 24.265);
  --muted: oklch(0.941 0.008 17.294);
  --muted-foreground: oklch(0.487 0.023 17.987);
  --popover: oklch(0.98 0.007 19.711);
  --popover-foreground: oklch(0.082 0.015 24.265);
  --card: oklch(0.97 0.011 19.768);
  --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.59 0.198 27.207);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.916 0 180);
  --secondary-foreground: oklch(0.409 0 190.305);
  --accent: oklch(0.916 0 180);
  --accent-foreground: oklch(0.409 0 190.305);
  --destructive: oklch(0.388 0.139 32.18);
  --destructive-foreground: oklch(0.869 0.064 29.915);
  --ring: oklch(0.59 0.198 27.207);
  --chart-1: oklch(0.59 0.198 27.207);
  --chart-2: oklch(0.916 0 180);
  --chart-3: oklch(0.916 0 180);
  --chart-4: oklch(0.939 0 180);
  --chart-5: oklch(0.593 0.204 27.521);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.126 0.01 21.368);
  --foreground: oklch(0.982 0.004 19.658);
  --muted: oklch(0.175 0.012 20.644);
  --muted-foreground: oklch(0.679 0.021 20.048);
  --popover: oklch(0.126 0.01 21.368);
  --popover-foreground: oklch(0.982 0.004 19.658);
  --card: oklch(0.139 0.012 21.308);
  --card-foreground: oklch(0.991 0.002 19.631);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.59 0.198 27.207);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.19 0.005 20);
  --secondary-foreground: oklch(0.74 0.015 19.889);
  --accent: oklch(0.19 0.005 20);
  --accent-foreground: oklch(0.74 0.015 19.889);
  --destructive: oklch(0.637 0.22 32.272);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.59 0.198 27.207);
  --chart-1: oklch(0.59 0.198 27.207);
  --chart-2: oklch(0.19 0.005 20);
  --chart-3: oklch(0.19 0.005 20);
  --chart-4: oklch(0.223 0.007 20.054);
  --chart-5: oklch(0.593 0.204 27.521);
}