summaryrefslogtreecommitdiff
path: root/js/toggleTheme.js
blob: cfc1394a2cbc31365a0d05a8c22f692f92d357e3 (plain) (blame)
1
2
3
4
5
6
7
function toggleTheme() {
	if (localStorage.getItem("theme") === "light") {
		setTheme("dark");
		return;
	}
	setTheme("light");
}