Skip to content

[WIP] Fix custom SVG icons to respect theme foreground color in tree view#311346

Draft
Copilot wants to merge 1 commit intomainfrom
copilot/fix-svg-icons-theme-color
Draft

[WIP] Fix custom SVG icons to respect theme foreground color in tree view#311346
Copilot wants to merge 1 commit intomainfrom
copilot/fix-svg-icons-theme-color

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 20, 2026

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>Custom SVG icons in tree view do not respect theme foreground color</issue_title>
<issue_description>Works correctly in the Activity Bar, but in the Tree View the icon is rendered black, likely because no theme foreground color is applied to the context:

Image

When an explicit color is set, it is applied, indicating color leakage into the Tree View. This likely should not be allowed:

Image

Image Image

Comments on the Issue (you are @copilot in this section)

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.

Custom SVG icons in tree view do not respect theme foreground color

2 participants