feat: add nativeTheme.inForcedColorsMode (#32956) (#33360)

This commit is contained in:
Milan Burda
2022-03-24 00:55:09 +01:00
committed by GitHub
parent f043e665dd
commit 37dfd8be4a
4 changed files with 18 additions and 1 deletions

View File

@@ -67,3 +67,8 @@ or is being instructed to show a high-contrast UI.
A `Boolean` for if the OS / Chromium currently has an inverted color scheme
or is being instructed to use an inverted color scheme.
### `nativeTheme.inForcedColorsMode` _Windows_ _Readonly_
A `boolean` indicating whether Chromium is in forced colors mode, controlled by system accessibility settings.
Currently, Windows high contrast is the only system setting that triggers forced colors mode.