Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart Light-Dark mode detection #40

Merged
merged 2 commits into from
Sep 9, 2020

Conversation

pabliqe
Copy link
Contributor

@pabliqe pabliqe commented Sep 7, 2020

Use case

When user has already chosen a Dark Mode preference (ie macOS/iOS) and site start in white mode killing your eyes. This will make the site smart enough to detect that preference and switch the Dark Mode on.

Nothing critical changed.

Next steps

Could be improved to let site author chose if they want to turn this feature on/off (based on style preferences).

Use case is where user has already chosen a Dark Mode preference (ie macOS/iOS) and site start in white mode killing your eyes. This will make the site smart enough to detect that preference and switch the Dark Mode on.

Nothing critical changed.

Could be improved to let site author chose if they want to turn this feature on/off (based on style preferences).
@pabliqe
Copy link
Contributor Author

pabliqe commented Sep 7, 2020

Already being tested here

worker.js Outdated Show resolved Hide resolved
worker.js Outdated Show resolved Hide resolved
Fixing typo in comment at stephenou#256 (basded) and fixing function invoking at stephenou#265 (toggl())
@stephenou stephenou merged commit 5bc77e0 into stephenou:master Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants