Aching is a shadcn/ui theme built around a light blue primary color (#ecf3f8) with light blue accents (#ecedf8). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the light blue primary (#ecf3f8) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fbfdghostwhite | #010304black |
| Foreground | #03090cblack | #f8fafcghostwhite |
| Card | #f2f8fcaliceblue | #020608black |
| Card foreground | #020608black | #fbfdfdwhite |
| Popover | #f2f8fcaliceblue | #020608black |
| Popover foreground | #020608black | #fbfdfdwhite |
| Primary | #ecf3f8aliceblue | #ecf3f8aliceblue |
| Primary foreground | #142a39darkslategray | #142a39darkslategray |
| Secondary | #ecf8f7aliceblue | #ecf8f7aliceblue |
| Secondary foreground | #143935darkslategray | #143935darkslategray |
| Muted | #d4e3e1gainsboro | #1c2b2adarkslategray |
| Muted foreground | #44504fdarkslategray | #afbbbasilver |
| Accent | #ecedf8lavender | #ecedf8lavender |
| Accent foreground | #2e3784darkslateblue | #2e3784darkslateblue |
| Destructive | #ce1f12firebrick | #e62214crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ecf3f8aliceblue | #ecf3f8aliceblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.17:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 13.24:1 | AAA |
| Secondary button | 11.63:1 | AAA |
| Muted text | 6.32:1 | AA |
| Accent | 9.06:1 | AAA |
| Destructive | 5.47:1 | AA |
| Text on background | 19.76:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 13.24:1 | AAA |
| Secondary button | 11.63:1 | AAA |
| Muted text | 7.43:1 | AAA |
| Accent | 9.06:1 | AAA |
| Destructive | 4.56:1 | AA |
Paste this into your globals.css to use Aching in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.005 236.514);
--foreground: oklch(0.132 0.014 230.155);
--muted: oklch(0.904 0.016 189.667);
--muted-foreground: oklch(0.42 0.015 189.241);
--popover: oklch(0.977 0.008 236.555);
--popover-foreground: oklch(0.115 0.012 229.437);
--card: oklch(0.977 0.008 236.555);
--card-foreground: oklch(0.115 0.012 229.437);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.961 0.01 236.589);
--primary-foreground: oklch(0.274 0.039 239.54);
--secondary: oklch(0.971 0.013 189.77);
--secondary-foreground: oklch(0.315 0.042 186.387);
--accent: oklch(0.949 0.015 281.032);
--accent-foreground: oklch(0.377 0.128 273.735);
--destructive: oklch(0.546 0.209 29.687);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.961 0.01 236.589);
--chart-1: oklch(0.961 0.01 236.589);
--chart-2: oklch(0.971 0.013 189.77);
--chart-3: oklch(0.949 0.015 281.032);
--chart-4: oklch(0.988 0.005 189.957);
--chart-5: oklch(0.961 0.011 236.598);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.091 0.009 229.669);
--foreground: oklch(0.985 0.003 236.483);
--muted: oklch(0.276 0.02 188.306);
--muted-foreground: oklch(0.782 0.013 189.689);
--popover: oklch(0.115 0.012 229.669);
--popover-foreground: oklch(0.992 0.002 236.459);
--card: oklch(0.115 0.012 229.669);
--card-foreground: oklch(0.992 0.002 236.459);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.961 0.01 236.589);
--primary-foreground: oklch(0.274 0.039 239.54);
--secondary: oklch(0.971 0.013 189.77);
--secondary-foreground: oklch(0.315 0.042 186.387);
--accent: oklch(0.949 0.015 281.032);
--accent-foreground: oklch(0.377 0.128 273.735);
--destructive: oklch(0.592 0.227 29.705);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.961 0.01 236.589);
--chart-1: oklch(0.961 0.01 236.589);
--chart-2: oklch(0.971 0.013 189.77);
--chart-3: oklch(0.949 0.015 281.032);
--chart-4: oklch(0.988 0.005 189.957);
--chart-5: oklch(0.961 0.011 236.598);
}