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
|
|
@ -28,14 +28,14 @@ const Footer_Links = [
|
|||
];
|
||||
|
||||
const footerLinkClass =
|
||||
"text-white/65 hover:text-[var(--green-2)] text-sm transition-colors";
|
||||
"text-white/65 hover:text-[var(--pal-green-2)] text-sm transition-colors";
|
||||
|
||||
// inline-block with a little height of its own, so a finger can hit it.
|
||||
const pageLinkClass =
|
||||
"inline-block py-1 text-white/80 hover:text-[var(--green-2)] text-sm font-semibold transition-colors";
|
||||
"inline-block py-1 text-white/80 hover:text-[var(--pal-green-2)] text-sm font-semibold transition-colors";
|
||||
|
||||
const sectionLinkClass =
|
||||
"inline-block py-1 text-white/65 hover:text-[var(--green-2)] text-sm transition-colors";
|
||||
"inline-block py-1 text-white/65 hover:text-[var(--pal-green-2)] text-sm transition-colors";
|
||||
|
||||
const headingClass = "text-white/90 text-sm font-semibold mb-4";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue