We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aefd07c commit 7a5bc3bCopy full SHA for 7a5bc3b
logseq/custom.js
@@ -1 +1,10 @@
1
+// change theme to black
2
+if (document.querySelector("html").getAttribute("data-theme") === "light") {
3
+ document.querySelector("html").setAttribute("data-theme", "dark");
4
+
5
+ document.querySelector("body").classList.remove("light-theme");
6
+ document.querySelector("body").classList.remove("white-theme");
7
+ document.querySelector("body").classList.add("dark-theme");
8
+}
9
10
document.querySelector(".journals-nav .flex-1").innerHTML = "Blog";
0 commit comments