vanilla-theme
Version:
A small library to quickly add a light and dark mode functionality in you Vanilla JavaScript application
19 lines (10 loc) • 497 B
Markdown
# Vanilla Theme
Gives you the ability to easily toggle between light and dark mode in your web application.
## v0.1.7
Added the ability to change the default fallback
## v0.1.10
Fixed package.json
## v0.1.11
Fixed build format to be ESM and added set_storage() function
## v0.1.13
Added the ability to listen to theme change \(If the theme is system, the update value to be passed is either dark or light depending on the preferred theme of a user in CSS Media Query.\).