From aa666fa93b76a96ab0913e9ec9db4a14ff271a46 Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Thu, 19 Mar 2026 20:31:27 +0100 Subject: [PATCH] a11y: fix contrast failures on post-type labels and AI links (WCAG AA) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bump sky-600→sky-700, green-600→green-800, amber-600→amber-800 in light mode across recent-posts, featured-posts, and ai-usage components. Dark-mode -400 variants remain unchanged (already 7–9:1 on #1d2021). Co-Authored-By: Claude Sonnet 4.6 --- _includes/components/sections/ai-usage.njk | 4 ++-- _includes/components/sections/featured-posts.njk | 6 +++--- _includes/components/sections/recent-posts.njk | 14 +++++++------- _includes/components/widgets/ai-usage.njk | 4 ++-- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/_includes/components/sections/ai-usage.njk b/_includes/components/sections/ai-usage.njk index 7410a82..b620474 100644 --- a/_includes/components/sections/ai-usage.njk +++ b/_includes/components/sections/ai-usage.njk @@ -18,7 +18,7 @@
Total posts
-
{{ stats.aiCount }}
+
{{ stats.aiCount }}
AI-involved
@@ -56,7 +56,7 @@ {% endif %}
- + View full AI transparency report diff --git a/_includes/components/sections/featured-posts.njk b/_includes/components/sections/featured-posts.njk index 8b45bc0..8ecb893 100644 --- a/_includes/components/sections/featured-posts.njk +++ b/_includes/components/sections/featured-posts.njk @@ -82,7 +82,7 @@
- Bookmarked + Bookmarked @@ -115,7 +115,7 @@
@@ -142,7 +142,7 @@
{% endif %} - Permalink + Permalink
@@ -182,7 +182,7 @@
{% endif %} - Permalink + Permalink
diff --git a/_includes/components/widgets/ai-usage.njk b/_includes/components/widgets/ai-usage.njk index 5063562..6c9a7c4 100644 --- a/_includes/components/widgets/ai-usage.njk +++ b/_includes/components/widgets/ai-usage.njk @@ -18,7 +18,7 @@
Total
-
{{ stats.aiCount }}
+
{{ stats.aiCount }}
AI-involved
@@ -53,7 +53,7 @@ {% postGraph aiPostsList, { prefix: "ai-widget", limit: 1, noLabels: true, boxColorDark: "#504945", highlightColorLight: "#076678", highlightColorDark: "#83a598" } %} {% endif %} - + View full AI report