Skip to content

add dark theme override for ch-added class#6829

Merged
srietkerk merged 4 commits into
masterfrom
srietkerk/dark-tutorial-highlight
May 14, 2026
Merged

add dark theme override for ch-added class#6829
srietkerk merged 4 commits into
masterfrom
srietkerk/dark-tutorial-highlight

Conversation

@srietkerk
Copy link
Copy Markdown
Contributor

When testing the fix for microsoft/pxt#11306, I noticed that the same contrast problem was present in the dark theme. This is the same override for high contrast but for the dark theme as well.

I ran Accessibility Insights for all cases and they all pass contrast ratios.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a dark-theme-specific CSS override to improve text contrast for character-level “added” highlights in the diff view (mirroring an existing high-contrast fix referenced in the PR description).

Changes:

  • Add a dark theme override targeting .ch-added within added diff rows in table.diffview.update.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread theme/color-themes/overrides/microbit-dark-overrides.css Outdated
Copy link
Copy Markdown
Member

@riknoll riknoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see copilot suggestion

srietkerk and others added 3 commits May 14, 2026 17:32
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@srietkerk srietkerk merged commit aaa6cc8 into master May 14, 2026
20 checks passed
@srietkerk srietkerk deleted the srietkerk/dark-tutorial-highlight branch May 14, 2026 18:23
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.

4 participants