Skip to content

Automatic dark mode based on surrounding light around.

Notifications You must be signed in to change notification settings

ananyaneogi/dark-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 😊

About

Automatic dark mode based on surrounding light around.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published