feat: enable resetting accent color by codebytere · Pull Request #48274 · electron/electron · GitHub
Skip to content

feat: enable resetting accent color#48274

Merged
jkleinsc merged 1 commit into
mainfrom
reset-accent-color
Oct 21, 2025
Merged

feat: enable resetting accent color#48274
jkleinsc merged 1 commit into
mainfrom
reset-accent-color

Conversation

@codebytere

Copy link
Copy Markdown
Member

Description of Change

Closes #48232.

Enables resetting accent color to follow system accent settings if a previous color has been set.

Checklist

Release Notes

Notes: Enables resetting accent color to follow system accent settings if a previous color has been set via window.setAccentColor(null).

@codebytere codebytere added semver/minor backwards-compatible functionality target/37-x-y PR should also be added to the "37-x-y" branch. target/38-x-y PR should also be added to the "38-x-y" branch. target/39-x-y PR should also be added to the "39-x-y" branch. labels Sep 8, 2025
Comment thread docs/api/base-window.md Outdated
@ckerr

ckerr commented Sep 11, 2025

Copy link
Copy Markdown
Member

@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Sep 15, 2025
Comment thread docs/api/browser-window.md
Comment thread docs/api/base-window.md Outdated
@codebytere codebytere force-pushed the reset-accent-color branch 2 times, most recently from 908ee22 to 6fd43ca Compare October 10, 2025 15:15
Comment thread docs/api/base-window.md Outdated

@itsananderson itsananderson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple comments to try to make the examples super specific, but otherwise API LGTM

Comment thread docs/api/browser-window.md Outdated
Comment thread docs/api/browser-window.md
Comment thread docs/api/browser-window.md
@codebytere codebytere requested a review from erickzhao October 20, 2025 11:53
@codebytere codebytere requested review from a team as code owners October 20, 2025 11:53
@jkleinsc jkleinsc merged commit 0a19176 into main Oct 21, 2025
107 of 108 checks passed
@jkleinsc jkleinsc deleted the reset-accent-color branch October 21, 2025 14:49
@release-clerk

release-clerk Bot commented Oct 21, 2025

Copy link
Copy Markdown

Release Notes Persisted

Enables resetting accent color to follow system accent settings if a previous color has been set via window.setAccentColor(null).

@trop

trop Bot commented Oct 21, 2025

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "37-x-y" cleanly;
you will need to perform this backport manually.

@trop trop Bot removed the target/37-x-y PR should also be added to the "37-x-y" branch. label Oct 21, 2025
@trop

trop Bot commented Oct 21, 2025

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "39-x-y" cleanly;
you will need to perform this backport manually.

@trop trop Bot added needs-manual-bp/37-x-y and removed target/39-x-y PR should also be added to the "39-x-y" branch. labels Oct 21, 2025
@trop

trop Bot commented Oct 21, 2025

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "38-x-y" cleanly;
you will need to perform this backport manually.

@trop trop Bot added needs-manual-bp/39-x-y needs-manual-bp/38-x-y and removed target/38-x-y PR should also be added to the "38-x-y" branch. labels Oct 21, 2025
TheCommieAxolotl pushed a commit to TheCommieAxolotl/electron that referenced this pull request Nov 2, 2025
@bpasero

bpasero commented Nov 8, 2025

Copy link
Copy Markdown
Contributor

@codebytere can this be backported at least to Electron 39?

@trop

trop Bot commented Nov 8, 2025

Copy link
Copy Markdown
Contributor

@codebytere has manually backported this PR to "39-x-y", please check out #48852

@trop

trop Bot commented Nov 8, 2025

Copy link
Copy Markdown
Contributor

@trop trop Bot added in-flight/38-x-y merged/39-x-y PR was merged to the "39-x-y" branch. merged/38-x-y PR was merged to the "38-x-y" branch. and removed needs-manual-bp/38-x-y in-flight/39-x-y in-flight/38-x-y labels Nov 8, 2025
nilayarya pushed a commit to nilayarya/electron that referenced this pull request Nov 21, 2025
nilayarya added a commit to nilayarya/electron that referenced this pull request Nov 21, 2025
nilayarya added a commit to nilayarya/electron that referenced this pull request Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-review/approved ✅ merged/38-x-y PR was merged to the "38-x-y" branch. merged/39-x-y PR was merged to the "39-x-y" branch. needs-manual-bp/37-x-y semver/minor backwards-compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows: accent color cannot be reset without a restart

7 participants