Skip to content

feat: add new nativeTheme API - #19758

Merged
codebytere merged 5 commits into
7-0-xfrom
trop/7-0-x-bp-feat-add-new-nativetheme-api-1565815397494
Aug 15, 2019
Merged

codebytere merged 5 commits into
7-0-xfrom
trop/7-0-x-bp-feat-add-new-nativetheme-api-1565815397494

Conversation

@trop

@trop trop Bot commented Aug 14, 2019

Copy link
Copy Markdown
Contributor

Backport of #19656

See that PR for details.

Notes: Added new nativeTheme API to read and respond to changes in the OS's theme and color scheme

@trop trop Bot mentioned this pull request Aug 14, 2019
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Aug 14, 2019
@trop trop Bot added 7-0-x backport This is a backport PR labels Aug 14, 2019
ckerr
ckerr previously requested changes Aug 14, 2019

Returns `Boolean` - `true` if a high contrast theme is active, `false` otherwise.

**Depreacted:** Should use the new [`nativeTheme.shouldUseHighContrastColors`](native-theme.md#nativethemeshouldusehighcontrastcolors-macos-windows-readonly) API.

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.

s/Depreacted/Deprecated

@ckerr
ckerr dismissed their stale review August 14, 2019 23:23

As per verbal discussion, @MarshallOfSound will fix in master

@codebytere
codebytere merged commit d01a8ea into 7-0-x Aug 15, 2019
@release-clerk

release-clerk Bot commented Aug 15, 2019

Copy link
Copy Markdown

Release Notes Persisted

Added new nativeTheme API to read and respond to changes in the OS's theme and color scheme

@codebytere
codebytere deleted the trop/7-0-x-bp-feat-add-new-nativetheme-api-1565815397494 branch August 15, 2019 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

7-0-x backport This is a backport PR new-pr 🌱 PR opened recently

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants