Skip to content

fix: restore diagram contrast across documentation themes - #49

Merged
imran-siddique merged 1 commit into
mainfrom
fix/diagram-contrast
Sep 6, 2026
Merged

fix: restore diagram contrast across documentation themes#49
imran-siddique merged 1 commit into
mainfrom
fix/diagram-contrast

Conversation

@imran-siddique

Copy link
Copy Markdown
Member

Mermaid inherited the pale foreground used by dark code blocks, making labels and edges nearly invisible on the light documentation theme. Give diagrams dedicated foreground, background, edge, and node tokens based on the current AgenTrust theme.

Add a keyboard-focusable diagram scroll-container style for diagrams that become unreadable when shrunk to mobile width. The corresponding docs wrappers are in the cMCP, Manifest, and cA2A reader-path changes.

Evidence: the deployed cMCP diagram computed its label foreground as #e4e0d6 on the light parchment surface. Desktop and 390px screenshots reproduced the unreadable labels. The site check passes for 39 HTML pages and 584 local links/assets. Post-deployment visual checks will confirm both themes.

@imran-siddique
imran-siddique merged commit 63b531b into main Sep 6, 2026
4 checks passed
@imran-siddique
imran-siddique deleted the fix/diagram-contrast branch September 6, 2026 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant