feat(frontend): add a terminal theme and three-way theme switcher
Adds the cyber theme to the console and login page, replaces the dark/light toggle with a theme switcher, and moves the login page script to /login.js so it is served under the existing CSP.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
var t = localStorage.getItem("floci-theme");
|
||||
document.documentElement.setAttribute(
|
||||
"data-theme",
|
||||
t === "light" ? "light" : "dark",
|
||||
t === "light" || t === "cyber" ? t : "dark",
|
||||
);
|
||||
})();
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user