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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.58:1 | AAA |
| Text on card | 19.19:1 | AAA |
| Primary button | 4.53:1 | AA |
| Secondary button | 6.90:1 | AA |
| Muted text | 5.42:1 | AA |
| Accent | 6.90:1 | AA |
| Destructive | 6.81:1 | AA |
| Text on background | 19.17:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 4.53:1 | AA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 6.51:1 | AA |
| Accent | 7.94:1 | AAA |
| Destructive | 3.76:1 | AA Large |
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);
}