Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support autoDetectColorScheme in icon sync #399

Merged
merged 1 commit into from
Jul 6, 2024

Conversation

backwardspy
Copy link
Member

@backwardspy backwardspy commented Jun 5, 2024

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)

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.
@sgoudham sgoudham merged commit 08de0d9 into main Jul 6, 2024
3 checks passed
@sgoudham sgoudham deleted the fix/color-theme-detection branch July 6, 2024 19:59
@github-actions github-actions bot mentioned this pull request Jul 6, 2024
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.

Godot scene .tscn icon not working in light mode
2 participants