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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.76:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 12.18:1 | AAA |
| Secondary button | 9.75:1 | AAA |
| Muted text | 5.33:1 | AA |
| Accent | 9.75:1 | AAA |
| Destructive | 7.10:1 | AAA |
| Text on background | 19.09:1 | AAA |
| Text on card | 19.09:1 | AAA |
| Primary button | 12.18:1 | AAA |
| Secondary button | 9.75:1 | AAA |
| Muted text | 7.06:1 | AAA |
| Accent | 9.75:1 | AAA |
| Destructive | 4.90:1 | AA |
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);
}