Skip to content

Check if device is using dark mode on load#73

Open
jasonli0616 wants to merge 1 commit intoitstechnova:mainfrom
jasonli0616:feature/auto-check-dark-mode
Open

Check if device is using dark mode on load#73
jasonli0616 wants to merge 1 commit intoitstechnova:mainfrom
jasonli0616:feature/auto-check-dark-mode

Conversation

@jasonli0616
Copy link

Function added to natively check if device is using dark mode. It runs on load, and will switch website to dark mode if device is on dark mode.

@jasonli0616
Copy link
Author

jasonli0616 commented Aug 24, 2021

Manual testing:

  • Works on Windows (Chrome)
  • Works on macOS (Safari, Chrome)
  • Works on Linux (Firefox)
  • Works on iOS (Safari)

Tests:

  • Passes all previously passed npm test tests (react-scripts test)
  • Passes all Netlify tests

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.

1 participant