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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.77:1 | AAA |
| Text on card | 19.39:1 | AAA |
| Primary button | 7.99:1 | AAA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 8.18:1 | AAA |
| Accent | 7.52:1 | AAA |
| Destructive | 7.01:1 | AAA |
| Text on background | 19.29:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 7.99:1 | AAA |
| Secondary button | 8.17:1 | AAA |
| Muted text | 9.63:1 | AAA |
| Accent | 8.17:1 | AAA |
| Destructive | 3.53:1 | AA Large |
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);
}