You've already forked AstralRinth
forked from didirus/AstralRinth
Implemented a dark theme
This commit is contained in:
3
static/js/main.js
Normal file
3
static/js/main.js
Normal file
@@ -0,0 +1,3 @@
|
||||
if (localStorage.getItem("theme")) {
|
||||
document.documentElement.setAttribute("data-theme", localStorage.getItem("theme"));
|
||||
}
|
||||
Reference in New Issue
Block a user