fix(config): 修复主题色均会变为290色的问题

This commit is contained in:
Ad-closeNN
2025-08-13 21:31:25 +08:00
parent 1a8cf414f0
commit 6d1a9417b1
+1 -1
View File
@@ -130,7 +130,7 @@ const bannerOffset =
// Load the hue from local storage // Load the hue from local storage
const currentDay = new Date().getDay(); const currentDay = new Date().getDay();
const hue = currentDay === 3 ? 290 : (localStorage.getItem('hue') || configHue); const hue = currentDay === 0 ? 290 : (localStorage.getItem('hue') || configHue);
//const hue = localStorage.getItem('hue') || configHue; //const hue = localStorage.getItem('hue') || configHue;
document.documentElement.style.setProperty('--hue', hue); document.documentElement.style.setProperty('--hue', hue);