summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/partials/article-card.html
AgeCommit message (Collapse)AuthorFilesLines
2026-04-22chore: extract theme into git submodule (danix2-hugo-theme)Danilo M.1-92/+0
2026-04-21fix: improve badge text color contrast for WCAG AA complianceDanilo M.1-2/+2
Added CSS custom properties --type-{name}-text for each article type with appropriate text colors per theme: - Dark mode: all types use black text (#000000) for sufficient contrast - Light mode: tech and photo types use white text (#ffffff), life/quote/link use black text (#000000) Updated article-header.html and article-card.html to use color: var(--type-{name}-text) instead of hardcoded text-white class. Improves contrast ratios: - Quote type dark mode: 1.34:1 → 15.66:1 (white on #00ff88 was failing WCAG AA) - All other types now pass 4.5:1 minimum for WCAG AA small text Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-21fix: use dedicated article-card partial for taxonomy pagesDanilo M.1-0/+92
The timeline partial (article-list-item.html) always emits <li> with timeline connector and node markup — calling it with . still produces the same timeline HTML. Created article-card.html with the original <article class="card"> markup and wired taxonomy templates to use it. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>