change default theme from hexagon (blue) to phonon (black)

This commit is contained in:
edshot99 2024-10-28 12:22:06 -05:00
parent 648636d9a7
commit b8d3dc6824
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ $(function () {
}); });
{ {
let theme = LStorage.get("theme") || "hexagon"; let theme = LStorage.get("theme") || "phonon";
$("body").attr("data-th-main", theme); $("body").attr("data-th-main", theme);
$("#theme-switcher").val(theme); $("#theme-switcher").val(theme);
} }

View File

@ -1,7 +1,7 @@
<%= javascript_tag nonce: true do -%> <%= javascript_tag nonce: true do -%>
(function() { (function() {
try { try {
var theme = localStorage.getItem('theme') || 'hexagon'; var theme = localStorage.getItem('theme') || 'phonon';
var extra = localStorage.getItem('theme-extra') || 'hexagon'; var extra = localStorage.getItem('theme-extra') || 'hexagon';
var palette = localStorage.getItem('theme-palette') || 'default'; var palette = localStorage.getItem('theme-palette') || 'default';
var nav = localStorage.getItem('theme-nav') || 'top'; var nav = localStorage.getItem('theme-nav') || 'top';