-
Notifications
You must be signed in to change notification settings - Fork 16.8k
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! |
erickzhao
left a comment
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! |
samuelmaddock
left a comment
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
jkleinsc
left a comment
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
prefersReducedTransparencytonativeTheme, which indicates whether the user has chosen to reduce OS-level transparency via system accessibility settings.Checklist
npm testpassesRelease Notes
Notes: Added a new property
prefersReducedTransparencytonativeTheme, which indicates whether the user has chosen to reduce OS-level transparency via system accessibility settings.