forked from e621ng/e621ng
change default theme from hexagon (blue) to phonon (black)
This commit is contained in:
parent
648636d9a7
commit
b8d3dc6824
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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';
|
||||||
|
Loading…
Reference in New Issue
Block a user