Skip to content

Conversation

@mrleemurray
Copy link
Contributor

@mrleemurray mrleemurray commented Oct 24, 2025

Enhance the contrast of history item labels against colored badges by using the panel background color, improving overall readability. Remove unused imports for cleaner code.

Before:
image

After:
Recording 2025-10-24 at 13 28 41

…adge color present to increase legibility.

Replace historyItemHoverLabelForeground with PANEL_BACKGROUND and update import to ensure label text contrasts against colored badges. Removed unused import.
Copilot AI review requested due to automatic review settings October 24, 2025 13:48
Copy link
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

This PR improves the readability of history item labels in the SCM view by adjusting the text color for labels displayed over colored badges. The change uses the panel background color instead of a hover-specific foreground color to enhance contrast against colored badges.

Key changes:

  • Updated text color logic to use PANEL_BACKGROUND for better contrast on colored badges
  • Removed unused historyItemHoverLabelForeground import

@mrleemurray mrleemurray self-assigned this Oct 24, 2025
@mrleemurray mrleemurray requested a review from lszomoru October 24, 2025 13:49
@mrleemurray mrleemurray added ux User experience issues papercut 🩸 A particularly annoying issue impacting someone on the team labels Oct 24, 2025
@mrleemurray mrleemurray marked this pull request as ready for review October 24, 2025 13:49
@vs-code-engineering vs-code-engineering bot added this to the October 2025 milestone Oct 24, 2025
@bpasero
Copy link
Member

bpasero commented Oct 24, 2025

@microsoft-github-policy-service rerun

1 similar comment
@lszomoru
Copy link
Member

@microsoft-github-policy-service rerun

mrleemurray and others added 2 commits October 27, 2025 10:38
…ort token

Change historyItemHoverLabelForeground default to the panel background token and
export the identifier for use in the view pane. Use the exported token in
scmHistoryViewPane and remove the now-unused buttonForeground import.
@mrleemurray mrleemurray merged commit ce50e96 into main Oct 27, 2025
28 checks passed
@mrleemurray mrleemurray deleted the mrleemurray/immense-heron-green branch October 27, 2025 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

papercut 🩸 A particularly annoying issue impacting someone on the team ux User experience issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants