The Night Mode Cometh: make your site easier on the eyes at night.
HTML JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img
js
.gitignore
Gruntfile.js
README.md
index-original.html
index.html
package.json

README.md

night-mode

The Night Mode Cometh: make your site easier on the eyes at night.

Just add night

Include the night-mode script to your site, then between 8pm and 6am, your users will be able to enable Night Mode. If it's enabled, it will automatically show for the users entire session (unless it's between 6am and 8pm) until they turn it off.

How it works

Toggle this feature at night

Enjoy