mirror of
https://github.com/vinta/awesome-python.git
synced 2026-04-11 02:11:42 +08:00
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) <noreply@anthropic.com>
This commit is contained in:
parent
f91c8fa979
commit
2bdd0c2c80
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user