- Allows to change from dark to light mode, and regulate between black, nine grays and white.
- Permite cambiar de modo oscuro a claro, y regular entre el negro, nueve grises y blanco
How to use it:
- Include the darkMode.js file together with the folder.
- Insert the following snippet into the HTML file where we want to display the button panel with dark mode:
<div id="darkModeDom"></div>
- Lastly, make the call to the javaScript file as:
<script src="js/darkMode.js"></script>