Skip to content
Automatic dark mode based on surrounding light around.
CSS HTML JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Dark theme for fun! 🎊

Switching between dark mode and normal mode on a website based on the illuminant light around you.

Made using Ambient Light API to detect the "light level" and switching styles with our simple ol' CSS.

The API is not enabled by default but can be enabled in Chrome through a flag! Check caniuse stats for more info.

No extra installation needed, enable the flag in chrome to see how it works 😊

You can’t perform that action at this time.