From 2bdd0c2c80173f36a982da2989b604677dd9a138 Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Tue, 24 Mar 2026 12:32:38 +0800 Subject: [PATCH] fix(a11y): bump hero-proof text lightness from 68% to 75% for WCAG AA contrast The "Xk+ stars on GitHub / Updated ..." text at oklch(68%) on the dark hero gradient (oklch 14-28%) could dip below 4.5:1 contrast at the darkest portions. Raising to oklch(75%) ensures the ratio stays above 4.5:1 across the full gradient range. Co-Authored-By: Claude Opus 4.6 (1M context) --- website/static/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/static/style.css b/website/static/style.css index 384af71..980668b 100644 --- a/website/static/style.css +++ b/website/static/style.css @@ -70,7 +70,7 @@ --hero-muted: oklch(88% 0.02 82); --hero-line: oklch(100% 0 0 / 0.16); --hero-kicker: oklch(82% 0.04 72); - --hero-proof: oklch(68% 0.02 72); + --hero-proof: oklch(75% 0.02 72); --hero-bg-start: oklch(14% 0.03 32); --hero-bg-mid: oklch(19% 0.035 35); --hero-bg-end: oklch(28% 0.05 42);