<--add a mode class to body tag--> + <body class="mode"> <div class=v-template-dark-mode"> </div> <div class="v-dark-mode"> <div class="toggle-mode"> </div> </div>
v-dark-mode version
// add class mode of tag body + <body class="mode"> <div class="v-template-light-mode"> </div> <div class="v-dark-mode"> <div class="toggle-mode"> </div> </div>
v-light-mode version