streamich/rx-use

Ambient Light

Open

#12 opened on May 17, 2020

 (0 comments) (0 reactions) (0 assignees)TypeScript (0 forks)github user discovery
good first issuehelp wanted

Repository metrics

Stars
 (21 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Use Ambient Light Events API to create:

  • ambientLigth$ observable.
  • Make use of ambientLight$ observable in darkMode$ observable to switch between modes depending on ambient light value.

Contributor guide