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: enable dark mode on GTK UIs #40010

Merged

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Sep 27, 2023

Backport of #38977

See that PR for details.

Notes: Detect system dark theme preference via xdg settings portal on Linux

feat: port DarkModeManagerLinux

This is needed after https://bugs.chromium.org/p/chromium/issues/detail?id=998903
and replaces the previous workaround to detect dark mode on GTK.
Detect system dark theme preference via xdg settings portal:
https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.Settings

Closes: #38961
Closes: #28838

Signed-off-by: Robert Günzler <r@gnzler.io>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>

Co-authored-by: Robert Günzler <r@gnzler.io>
@trop trop bot mentioned this pull request Sep 27, 2023
5 tasks
@trop trop bot added 27-x-y backport This is a backport PR backport/requested 🗳 semver/patch backwards-compatible bug fixes labels Sep 27, 2023
@jkleinsc jkleinsc merged commit 3e4adb9 into 27-x-y Sep 27, 2023
18 checks passed
@jkleinsc jkleinsc deleted the trop/27-x-y-bp-feat-enable-dark-mode-on-gtk-uis-1695838688038 branch September 27, 2023 20:44
@release-clerk
Copy link

release-clerk bot commented Sep 27, 2023

Release Notes Persisted

Detect system dark theme preference via xdg settings portal on Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
27-x-y backport/requested 🗳 backport This is a backport PR semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant