You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is due to the fact that extensions provide a custom svg and use a mask + background color to make them themeable. However our activity bar now uses an icon font and needs to use the color property instead.
@misolori I have a local fix that makes the first case of the isExtension check redundant. Would you be interested in a PR that only fixes this first case?
@misolori Cleaned it up. It seems, you do not need to know if the activity item is coming from extension or not, instead you have to know if the activity item is using iconUrl to render icon. So changed the code to use this as a differentiation factor to apply proper styles. Please take a look.
Related to the discussion in #83113, we need to find a cleaner way to detect if an item in the activity bar is an extension:
vscode/src/vs/workbench/browser/parts/compositeBarActions.ts
Lines 162 to 165 in e198750
This is due to the fact that extensions provide a custom svg and use a mask + background color to make them themeable. However our activity bar now uses an icon font and needs to use the color property instead.
FYI @isidorn
The text was updated successfully, but these errors were encountered: