Wednesday, July 3, 2019

Darkmodejs : Utility package for managing Dark Mode on the Web

Darkmodejs is utility package for managing Dark Mode on the Web.Dark Mode is a feature in modern Operating Systems which allows you to change your default UI from a light to dark theme. On the web we can take advantage of this to control the theme of our website.

Utilises the matchMedia API and its listeners, in combination with the prefers-color-scheme media query, in order to fire functions whenever you’re in Dark Mode.

The post Darkmodejs : Utility package for managing Dark Mode on the Web appeared first on Best jQuery.


by Admin via Best jQuery

No comments:

Post a Comment