@magica11y/light-level

@magica11y/light-level JS library homepage @magica11y/light-level JS library on GitHub @magica11y/light-level JS library on npm Download @magica11y/light-level JS library

Detects the ambient light-level of the user’s device using the 'light-level' CSS3 level 5 media query.

Version 1.0.7 License MIT
@magica11y/light-level JS library homepage
@magica11y/light-level JS library on GitHub
@magica11y/light-level JS library on npm
Download @magica11y/light-level JS library
Keywords
a11yaccessibilitycssmedia-querylevel-5matchmediaprefers-reduced-motionlight-levelenvironment-blendinginverted-colorsprefers-reduced-transparencyprefers-contrastprefers-color-schemeforced-colors