You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repaired code-block fallback and toolbar colors so rendered code remains on a valid theme-derived background.
Moved code highlighting to WCAG-compliant high-contrast syntax palettes and made mounted code blocks refresh when the IDE theme changes.
Kept initial code blocks positioned at line 1 while preserving bottom-following for later streaming updates.
Added VS Code's native contrast boundary to primary buttons and guarded shared buttons against flex compression and right-edge clipping.
Replaced saturated unchanged-diff fills with the semantic unchanged-code background and added numeric checks for context text, gutters, and syntax tokens.
Replaced fixed red, green, blue, gradient, and compounded-opacity treatments in command permissions, MCP tools, Marketplace states, context menus, and checkpoints with semantic VS Code theme colors.
Added numeric WCAG checks and four-theme visual coverage for the real code block and toolbar, syntax tokens, diffs, terminal output, command status controls, disabled MCP text, the full Welcome landing, and empty History.
Added a focused layout-drift matrix for the real Welcome screen across all four themes: normal width, 320px reflow, and WCAG 1.4.12 text-spacing overrides, with explicit overflow and clipping assertions.
Kept synthetic accessibility-gallery baselines scoped to the mounted component while retaining four-theme resting and focus coverage.
Corrected visual fixture sizing so code controls fit the panel width, Welcome uses the intended full-height viewport, and Azure settings render through the final controls without hidden overflow.
Extracted the Welcome landing presentation from provider setup so the real first-run screen can be exercised by the component-test harness.
Why this change was made
The shared-control contrast audit left high-frequency rendered content and composed screens uncovered. Several of those surfaces still used invalid CSS fallbacks or styling that assumed a dark theme, existing code blocks did not refresh syntax colors after a live theme switch, and visual coverage did not independently guard production layout against narrow viewports or user-adjusted text spacing.
Impact
Code output begins with its first lines visible, buttons retain complete geometry and clear boundaries, and unchanged diff rows use readable neutral backgrounds. Status controls, secondary text, and first-run/history surfaces remain identifiable in light, dark, high-contrast, and high-contrast-light IDE themes. The pinned visual suite now protects color, focus, component geometry, 320px reflow, and WCAG text-spacing behavior through 50 authoritative container-rendered comparisons.
Fixed the reported visibility issues and expanded layout-drift protection through 9f75096: initial code stays at line 1, high-contrast buttons use native boundaries, controls remain inside their component bounds, and unchanged diff rows use the readable semantic background. Synthetic gallery snapshots are component-scoped, while the real Welcome screen now has four-theme baselines for normal width, 320px reflow, and WCAG 1.4.12 text-spacing overrides with explicit overflow and clipping assertions. The full test suite passes (including 1,754 webview tests), the complete PR matrix is green, and the pinned visual run passed all 50 visual/theme checks: https://github.com/Zoo-Code-Org/Zoo-Code/actions/runs/32618086741
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Why this change was made
The shared-control contrast audit left high-frequency rendered content and composed screens uncovered. Several of those surfaces still used invalid CSS fallbacks or styling that assumed a dark theme, existing code blocks did not refresh syntax colors after a live theme switch, and visual coverage did not independently guard production layout against narrow viewports or user-adjusted text spacing.
Impact
Code output begins with its first lines visible, buttons retain complete geometry and clear boundaries, and unchanged diff rows use readable neutral backgrounds. Status controls, secondary text, and first-run/history surfaces remain identifiable in light, dark, high-contrast, and high-contrast-light IDE themes. The pinned visual suite now protects color, focus, component geometry, 320px reflow, and WCAG text-spacing behavior through 50 authoritative container-rendered comparisons.
Related PRs