Aching is a shadcn/ui theme built around a muted deep green primary color (#233925) with muted deep teal accents (#233930). The light mode uses a neutral background (#fbfdfc). Dark mode keeps the muted deep green primary (#233925) on a neutral background (#020803).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfcwhite | #020803black |
| Foreground | #020803black | #f9fbf9mintcream |
| Card | #fbfdfcwhite | #020803black |
| Card foreground | #020803black | #f9fbf9mintcream |
| Popover | #fbfdfcwhite | #020803black |
| Popover foreground | #020803black | #f9fbf9mintcream |
| Primary | #233925darkslategray | #233925darkslategray |
| Primary foreground | #b9d4bcsilver | #b9d4bcsilver |
| Secondary | #2c3923darkslategray | #2c3923darkslategray |
| Secondary foreground | #c4d4b9silver | #c4d4b9silver |
| Muted | #d7e4cegainsboro | #24311bdarkslategray |
| Muted foreground | #616260dimgray | #9e9f9ddarkgray |
| Accent | #233930darkslategray | #233930darkslategray |
| Accent foreground | #b9d4casilver | #b9d4casilver |
| Destructive | #761805maroon | #f53a14orangered |
| Destructive foreground | #fcbdb1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #233925darkslategray | #233925darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.85:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 7.85:1 | AAA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 4.62:1 | AA |
| Accent | 7.85:1 | AAA |
| Destructive | 6.89:1 | AA |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 7.85:1 | AAA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 5.14:1 | AA |
| Accent | 7.85:1 | AAA |
| Destructive | 3.82:1 | AA Large |
Paste this into your globals.css to use Aching in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 148.558);
--foreground: oklch(0.122 0.02 147.423);
--muted: oklch(0.902 0.033 132.638);
--muted-foreground: oklch(0.494 0.003 132.409);
--popover: oklch(0.993 0.003 148.558);
--popover-foreground: oklch(0.122 0.02 147.423);
--card: oklch(0.993 0.003 148.558);
--card-foreground: oklch(0.122 0.02 147.423);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.319 0.045 146.873);
--primary-foreground: oklch(0.844 0.044 147.995);
--secondary: oklch(0.326 0.041 133.432);
--secondary-foreground: oklch(0.851 0.041 132.725);
--accent: oklch(0.323 0.032 167.33);
--accent-foreground: oklch(0.848 0.032 169.486);
--destructive: oklch(0.37 0.131 32.9);
--destructive-foreground: oklch(0.853 0.075 31.477);
--ring: oklch(0.319 0.045 146.873);
--chart-1: oklch(0.319 0.045 146.873);
--chart-2: oklch(0.326 0.041 133.432);
--chart-3: oklch(0.323 0.032 167.33);
--chart-4: oklch(0.359 0.047 133.47);
--chart-5: oklch(0.322 0.05 146.667);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.023 147.263);
--foreground: oklch(0.986 0.004 148.546);
--muted: oklch(0.296 0.042 133.603);
--muted-foreground: oklch(0.701 0.003 132.391);
--popover: oklch(0.123 0.023 147.263);
--popover-foreground: oklch(0.986 0.004 148.546);
--card: oklch(0.123 0.023 147.263);
--card-foreground: oklch(0.986 0.004 148.546);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.319 0.045 146.873);
--primary-foreground: oklch(0.844 0.044 147.995);
--secondary: oklch(0.326 0.041 133.432);
--secondary-foreground: oklch(0.851 0.041 132.725);
--accent: oklch(0.323 0.032 167.33);
--accent-foreground: oklch(0.848 0.032 169.486);
--destructive: oklch(0.634 0.227 32.557);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.319 0.045 146.873);
--chart-1: oklch(0.319 0.045 146.873);
--chart-2: oklch(0.326 0.041 133.432);
--chart-3: oklch(0.323 0.032 167.33);
--chart-4: oklch(0.359 0.047 133.47);
--chart-5: oklch(0.322 0.05 146.667);
}