-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
fix: read GTK dark theme setting on Linux #23678
Conversation
e3fd8b0
to
31e32c9
Compare
31e32c9
to
00a3f97
Compare
00a3f97
to
2bf5541
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Release Notes Persisted
|
/trop run backport-to 10-x-y |
10-x-y is no longer supported - no backport will be initiated. |
/trop run backport |
The backport process for this PR has been manually initiated, here we go! :D |
/trop run backport |
/trop run backport-to 10-x-y |
10-x-y is no longer supported - no backport will be initiated. |
I have automatically backported this PR to "9-x-y", please check out #23712 |
/trop run backport-to 10-x-y |
The backport process for this PR has been manually initiated - |
I have automatically backported this PR to "10-x-y", please check out #23718 |
@zcbenz can this be backported to 8? It utilizes |
It should be able to be backported, I'll take care of it. |
Description of Change
Close #21427.
Chromium does not respect the dark theme settings from GTK, according to a Chromium issue it is intended and because of Chromium having its own settings of themes (custom theme, WebUI theme, forced dark theme).
This PR makes sure the default dark theme setting of Electron is synced with GTK.
I don't have a test for this though, since it involves desktop environment settings of the host machine. (We don't test dark theme for macOS neither.)
Release Notes
Notes: Fix GTK dark theme setting not respected in Electron on Linux.