Skip to content

fix: improve text selection contrast in Solarized Light#301572

Open
TomasMartinsFerreira wants to merge 2 commits intomicrosoft:mainfrom
TomasMartinsFerreira:test
Open

fix: improve text selection contrast in Solarized Light#301572
TomasMartinsFerreira wants to merge 2 commits intomicrosoft:mainfrom
TomasMartinsFerreira:test

Conversation

@TomasMartinsFerreira
Copy link
Copy Markdown

Fixes #297509

Solution

Update editor.selectionBackground from #EEE8D5 to #878b9180. The
previous color lacked sufficient contrast, making it difficult to
distinguish selected text from the background. The new color matches
existing selection background logic used in other parts of the theme,
ensuring visual consistency and better accessibility.

Result

Before Fix

Screenshot from 2026-03-13 18-46-13

After Fix

Screenshot from 2026-03-13 18-49-29

Copilot AI review requested due to automatic review settings March 13, 2026 19:05
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

This PR adjusts the Solarized Light theme’s editor text selection color to improve selection visibility/contrast and better match existing selection styling used elsewhere in the theme.

Changes:

  • Update editor.selectionBackground from #EEE8D5 to #878b9180 in the Solarized Light theme.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread extensions/theme-solarized-light/themes/solarized-light-color-theme.json Outdated
Fixes microsoft#297509

Update editor.selectionBackground from #EEE8D5 to #878b9180. The
previous color lacked sufficient contrast, making it difficult to
distinguish selected text from the background. The new color matches
existing selection background logic used in other parts of the theme,
ensuring visual consistency and better accessibility.
Include minimap.selectionHighlight

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@TomasMartinsFerreira
Copy link
Copy Markdown
Author

Hello @jo-oikawa , is there any news about this PR ?
Thanks

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.

Selection is invisible in solarized light theme

3 participants