btorrent/modeTheme.js
2022-12-14 20:56:16 -03:00

4 lines
99 B
JavaScript

function modeTheme() {
var element = document.body;
element.classList.toggle("dark-mode");
}