Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Fix bug where day/time clock was ignored for light/dark theme #1

Merged
merged 1 commit into from
Dec 2, 2020

Conversation

acollierr17
Copy link
Contributor

For the daylight cycle to work in the previous iteration, matches for both light and dark mode media queries had to return false for the daylight cycle to work. However, the previous implementation broke the daylight cycle check overall.

The comment in the previous iteration of this function stated this is accounted for if older browsers are being used. I don't think this is really needed anymore as it's 2020, and these guides are geared towards developers. The daylight cycle should now function as normal.

Also, I updated the README with checkboxes.

@Strandxo Strandxo merged commit 18e2955 into master Dec 2, 2020
@acollierr17 acollierr17 deleted the fix/dark-mode branch February 18, 2021 21:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants