Releases: livresaber/darkmode-vue
0.4.0
0.3.0
Refactory setMode
Remove class for lightmode and stay only darkmode in body document
Export with useDarkModeVue two instance, first this method for toggleMode and last the variable with value of mode
Update props for custom with labelDark, labelLight.
Implementation template with slots for modification of icon and button text
0.2.6
Update colors for red
Gtag add in index document of project
0.2.5
History commits versions for 0.2.5
Commits on Apr 26, 2023
update for version 0.2.3
adjustment icon margin in hiddenLabel
add variable colors and update readme
adjustment import darkmode-vue in example
update darkmode with props hidden icon and label
Commits on Apr 25, 2023
update lock modules
Version 0.2.0
Description of component
If DarkModeVue usage in a page, a class in body document is update with class darkmode or lightmode.
In LocalStorage is created a key store with value current mode.
Do you usage children body.darkmode or body.lightmode styles for your application.
I recommend create a variables colors in css and update this with toggle class of body document.
Publish package in https://www.npmjs.com/package/darkmode-vue
Version 0.1.2
- Add firebase hosting
- Add CI/CD with Github actions
- Adjustment styles
- Test unit for localStorage DarkMode
Version 0.1.0
- Changed darkmode and lightmode in body document
- Persistence with localStorage state mode
- Test unit render App and component DarkMode