catppuccin / vscode

🦌 Soothing pastel theme for VSCode & Azure Data Studio
https://marketplace.visualstudio.com/items?itemName=Catppuccin.catppuccin-vsc-pack
MIT License
1.43k stars 52 forks source link

feat: support `autoDetectColorScheme` in icon sync #399

Closed backwardspy closed 4 months ago

backwardspy commented 5 months ago

users can set their active color theme either with workbench.colorTheme or with window.autoDetectColorScheme.

in the latter case, four other settings control the theme that is enabled.

this commit updates the syncToIconPack function to take autoDetectColorScheme into account and correctly sync the icon theme when it's enabled.

fixes #398 (or rather a secondary issue that was raised there)