10BC0 feat: Add `getAccentColor` on Linux (#48027) by mlaurencin · Pull Request #49531 · electron/electron · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@mlaurencin
Copy link
Member

Backport of #48027

See that PR for details.

Notes: Added the ability to retrieve the system accent color on Linux using systemPreferences.getAccentColor.

* feat: Implement `getAccentColor` on Linux

* doc: Update OS support for accent color APIs
@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Jan 26, 2026
@trop trop bot mentioned this pull request Jan 26, 2026
5 tasks
@trop trop bot requested a review from a team January 26, 2026 19:52
@trop trop bot added 38-x-y backport This is a backport PR backport/requested 🗳 semver/minor backwards-compatible functionality labels Jan 26, 2026
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Jan 26, 2026
@nikwen
Copy link
Member
nikwen commented Jan 26, 2026

The original PR mentions that a Chromium patch is necessary for it to work. I don't see the patch here. Do you know more about this?

@mlaurencin
Copy link
Member Author

The original PR mentions that a Chromium patch is necessary for it to work. I don't see the patch here. Do you know more about this?

Good question, it looks like the changes from said upstreamed patch were first included in Chromium version 141.0.7352.0, so the original patch would have to be included here as well to get the full feature in 38-x-y. Given that the preference was to have it be upstreamed for the original PR, I'm curious to hear if people's opinions are different for the backports seeing as both 37-x-y and 38-x-y were requested at the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

38-x-y backport/requested 🗳 backport This is a backport PR semver/minor backwards-compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

0