feat(config): 加入 周日知更鸟主题

Fuwari 藏得东西还是太多了
1. 知更鸟背景
2. 档案,在银河中孤独摇摆
3. 紫色主题色
This commit is contained in:
Ad-closeNN
2025-08-13 21:00:44 +08:00
parent e3d3b4d759
commit 1a8cf414f0
7 changed files with 77 additions and 8 deletions
+3 -1
View File
@@ -129,7 +129,9 @@ const bannerOffset =
}
// Load the hue from local storage
const hue = localStorage.getItem('hue') || configHue;
const currentDay = new Date().getDay();
const hue = currentDay === 3 ? 290 : (localStorage.getItem('hue') || configHue);
//const hue = localStorage.getItem('hue') || configHue;
document.documentElement.style.setProperty('--hue', hue);
// calculate the --banner-height-extend, which needs to be a multiple of 4 to avoid blurry text