Commit Graph

10 Commits

Author SHA1 Message Date
Matilde Park
e8b087ea87 clock: revert removal of initial media query check
This commit restores a small check for a match of the query,
so that when you load in dark mode, the clock loads in dark(ly).
Without this commit, it would only shift modes as part of a media query
change.
2020-03-09 20:57:13 -04:00
Matilde Park
f4a06589c0 clock: prevent canvas draw smears
Trying to use a transparent background revealed constant
redraws each second -- this commit returns a color
declaration to the background, changing with the media query.
2020-03-09 20:52:53 -04:00
Matilde Park
4275f7fc94 clock: use addListener for media query
Previously, we used addEventListener, which was returned by the
media query as an inheritance from the window object.
Safari doesn't support this, but it, and all browsers,
support an alias that uses function-based checks.

This commit uses that alias.
2020-03-09 20:51:20 -04:00
Matilde Park
71ca2ec419 clock: add dark mode event listener, hex colors 2020-02-21 21:57:46 -05:00
Gavin Atkinson
c93d026a70 get geolocation from weather app, revise clock appearance to match new
launch page
2020-02-05 18:08:22 -08:00
Matilde Park
21f6be96a1 launch, various: new tiles and launch (but clock) 2020-02-05 18:16:56 -05:00
Gavin Atkinson
f648f57605 cleanup 2020-02-03 16:48:54 -08:00
Gavin Atkinson
728ef7fc16 clock 2020-02-03 16:48:54 -08:00
Logan Allen
ab2cdd6adc Updated build files and removed repeated console.logs from tiles 2019-08-01 22:15:08 +00:00
Isaac Visintainer
5244f96dd4 moved subapps up one directory 2019-07-23 12:59:01 -07:00