-
Notifications
You must be signed in to change notification settings - Fork 16.5k
feat: add transparency checking to nativeTheme
#42862
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
Conversation
nativeTheme
Should we deprecate the macOS-only |
Oh yeah good call! they map to the same thing but this API is cross-platform. Will do! |
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.
API LGTM
@samuelmaddock done! |
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.
API LGTM
d1cec3a
to
51c7020
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.
API LGTM
51c7020
to
5084455
Compare
Release Notes Persisted
|
I was unable to backport this PR to "31-x-y" cleanly; |
I was unable to backport this PR to "30-x-y" cleanly; |
I have automatically backported this PR to "32-x-y", please check out #43024 |
@codebytere has manually backported this PR to "31-x-y", please check out #43137 |
@codebytere has manually backported this PR to "30-x-y", please check out #43138 |
Description of Change
Closes #27910.
Refs https://issues.chromium.org/issues/40260615.
Adds a new property
prefersReducedTransparency
tonativeTheme
, which indicates whether the user has chosen to reduce OS-level transparency via system accessibility settings.Checklist
npm test
passesRelease Notes
Notes: Added a new property
prefersReducedTransparency
tonativeTheme
, which indicates whether the user has chosen to reduce OS-level transparency via system accessibility settings.