Aunt is a shadcn/ui theme built around a vivid blue primary color (#0420af) with vivid green accents (#20af04). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#0420af) on a neutral background (#010204).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010204black |
| Foreground | #050814black | #f9f9fbghostwhite |
| Card | #fcfcfcsnow | #020308black |
| Card foreground | #040610black | #fcfcfdwhite |
| Popover | #fcfcfcsnow | #020308black |
| Popover foreground | #040610black | #fcfcfdwhite |
| Primary | #0420afmediumblue | #0420afmediumblue |
| Primary foreground | #e6eafelavender | #e6eafelavender |
| Secondary | #af0420firebrick | #af0420firebrick |
| Secondary foreground | #fee6eamistyrose | #fee6eamistyrose |
| Muted | #f3ecedlinen | #130c0dblack |
| Muted foreground | #50494adarkslategray | #b6afb0darkgray |
| Accent | #20af04forestgreen | #20af04forestgreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #c2290afirebrick | #f4502ftomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0420afmediumblue | #0420afmediumblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.97:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 9.59:1 | AAA |
| Secondary button | 6.20:1 | AA |
| Muted text | 7.54:1 | AAA |
| Accent | 2.92:1 | Fail |
| Destructive | 5.82:1 | AA |
| Text on background | 19.77:1 | AAA |
| Text on card | 20.08:1 | AAA |
| Primary button | 9.59:1 | AAA |
| Secondary button | 6.20:1 | AA |
| Muted text | 8.98:1 | AAA |
| Accent | 2.92:1 | Fail |
| Destructive | 3.48:1 | AA Large |
Paste this into your globals.css to use Aunt in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.137 0.029 271.21);
--muted: oklch(0.949 0.008 5.66);
--muted-foreground: oklch(0.412 0.01 6.101);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.126 0.025 270.587);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.126 0.025 270.587);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.367 0.218 264.574);
--primary-foreground: oklch(0.94 0.028 276.834);
--secondary: oklch(0.477 0.191 23.732);
--secondary-foreground: oklch(0.946 0.027 6.188);
--accent: oklch(0.656 0.218 141.58);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.529 0.192 32.395);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.367 0.218 264.574);
--chart-1: oklch(0.367 0.218 264.574);
--chart-2: oklch(0.477 0.191 23.732);
--chart-3: oklch(0.656 0.218 141.58);
--chart-4: oklch(0.506 0.203 23.94);
--chart-5: oklch(0.368 0.223 264.268);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.079 0.014 269.895);
--foreground: oklch(0.983 0.002 277.229);
--muted: oklch(0.163 0.012 7.386);
--muted-foreground: oklch(0.76 0.009 5.752);
--popover: oklch(0.1 0.018 269.895);
--popover-foreground: oklch(0.992 0.001 277.244);
--card: oklch(0.1 0.018 269.895);
--card-foreground: oklch(0.992 0.001 277.244);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.367 0.218 264.574);
--primary-foreground: oklch(0.94 0.028 276.834);
--secondary: oklch(0.477 0.191 23.732);
--secondary-foreground: oklch(0.946 0.027 6.188);
--accent: oklch(0.656 0.218 141.58);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.654 0.206 33.181);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.367 0.218 264.574);
--chart-1: oklch(0.367 0.218 264.574);
--chart-2: oklch(0.477 0.191 23.732);
--chart-3: oklch(0.656 0.218 141.58);
--chart-4: oklch(0.506 0.203 23.94);
--chart-5: oklch(0.368 0.223 264.268);
}