-
Couldn't load subscription status.
- Fork 35.8k
Improve history item label text legibility in SCM view #273118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…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.
There was a problem hiding this 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_BACKGROUNDfor better contrast on colored badges - Removed unused
historyItemHoverLabelForegroundimport
|
@microsoft-github-policy-service rerun |
1 similar comment
|
@microsoft-github-policy-service rerun |
…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.
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:

After:
