Accessibility: reader view and full palette swaps; version v1.12.1-accessibility
- Reading mode is now a reader view (ReaderView.tsx): the page renders hidden and its headings, paragraphs, links and described pictures are written out in one column, with no header, backdrop or footer. - Color blind modes swap all three color families (teal, green, amber); palette hexes in components and CSS are now var(--pal-<family>-<shade>) so the modes reach them. - CLAUDE.md and docs/updating-data-in-code.md describe both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
420a8058b4
commit
de17da7dc8
19 changed files with 507 additions and 192 deletions
|
|
@ -25,7 +25,7 @@ export default function Banner() {
|
|||
if (!visible) return null;
|
||||
|
||||
const linkClass =
|
||||
"underline underline-offset-4 decoration-[var(--green-2)] hover:text-white transition-colors";
|
||||
"underline underline-offset-4 decoration-[var(--pal-green-2)] hover:text-white transition-colors";
|
||||
|
||||
return (
|
||||
<div
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue