@flourish/utils-env
v2.0.0
Published
Flourish module with handy tools for getting environment information
Downloads
4
Maintainers
Keywords
Readme
@flourish/utils-env
A module for getting environment information.
Methods
prefersReducedMotion()
Evaluates the prefers-reduced-motion: reduce
media query on device. Returns true
or false
.
prefersDarkMode()
Evaluates the prefers-color-scheme: dark
media query on device. Returns true
or false
.