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

Use dark-light on Mac and Windows #1726

Merged
merged 4 commits into from
Jun 9, 2022
Merged

Use dark-light on Mac and Windows #1726

merged 4 commits into from
Jun 9, 2022

Conversation

emilk
Copy link
Owner

@emilk emilk commented Jun 9, 2022

dark-light has a nasty problem on Linux: frewsxcv/rust-dark-light#17

So we made dark-light opt-in in #1437

This PR makes dark-light a default dependency again, but only use it on Mac and Windows.

This is controlled with the new NativeOptions::follow_system_theme.
If this isn't enabled, then NativeOptions::default_theme is used.

emilk added 4 commits June 9, 2022 16:37
dark-light has a nasty problem on Linux: frewsxcv/rust-dark-light#17

So we made dark-light opt-in in #1437

This PR makes dark-light a default dependency again,
but only use it on Max and Windows.

This is controlled with the new NativeOptions::follow_system_theme.
If this isn't enabled, then NativeOptions::default_theme is used.
@emilk emilk merged commit 317436c into master Jun 9, 2022
@emilk emilk deleted the dark-light-except-linux branch June 9, 2022 15:42
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.

1 participant