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

Extended dark mode and light/dark toggle support #242

Closed
vladimiry opened this issue Jan 29, 2020 · 1 comment
Closed

Extended dark mode and light/dark toggle support #242

vladimiry opened this issue Jan 29, 2020 · 1 comment

Comments

@vladimiry
Copy link
Owner

Since the app already uses Electron v7 we could utilize the goodies provided by https://www.electronjs.org/docs/api/native-theme API (available since v7).

@vladimiry vladimiry changed the title Extended dark mode support and light/dark toggle Extended dark mode support and enable light/dark toggle Jan 29, 2020
@vladimiry vladimiry changed the title Extended dark mode support and enable light/dark toggle Extended dark mode and light/dark toggle support Jan 30, 2020
@vladimiry
Copy link
Owner Author

vladimiry commented Apr 6, 2021

Here is how it's going to look. The default value is "follow system" which means following the system preference.

Only the app UI gets affected. Maybe in new releases the app will apply the mode to @ProtonMail UI too (only applying on the fly without modifying the account dark/light mode preferences).

img

vladimiry added a commit that referenced this issue Apr 6, 2021
* Defaults to OS's dark mode preference.
vladimiry added a commit that referenced this issue Apr 7, 2021
* Defaults to OS's dark mode preference.
vladimiry added a commit that referenced this issue Apr 8, 2021
* Defaults to OS's dark mode preference.
vladimiry added a commit that referenced this issue Apr 8, 2021
* Defaults to OS's dark mode preference.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant