From 6d1a9417b1dc8da84865fbaef6e82fdd788c426f Mon Sep 17 00:00:00 2001 From: Ad-closeNN <1709301095@qq.com> Date: Wed, 13 Aug 2025 21:31:25 +0800 Subject: [PATCH] =?UTF-8?q?fix(config):=20=E4=BF=AE=E5=A4=8D=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E8=89=B2=E5=9D=87=E4=BC=9A=E5=8F=98=E4=B8=BA290?= =?UTF-8?q?=E8=89=B2=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/Layout.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index a38025a..e01c1a1 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -130,7 +130,7 @@ const bannerOffset = // Load the hue from local storage 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; document.documentElement.style.setProperty('--hue', hue);