Skip to content

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

@n-gist

Description

@n-gist

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

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugtree-viewsExtension tree view issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions