Skip to content

React to OS dark theme setting

Administrator requested to merge os-dark-theme into master

Created by: felixfbecker

https://caniuse.com/#feat=prefers-color-scheme

Closes #507

Also cleans up some of the isLightTheme props passing.

2019-02-21 00 19 53

2019-02-21 00 22 38

If no preference is saved yet, system is the default (which will be light for browsers/OS not supporting it).

Merge request reports

Loading