+
茶ICP备2025080144号
+
萌ICP备20256087号
©
{currentYear} {profileConfig.name}. All Rights Reserved.
diff --git a/src/components/widget/Profile.astro b/src/components/widget/Profile.astro
index a8d8ca7..d9bb014 100644
--- a/src/components/widget/Profile.astro
+++ b/src/components/widget/Profile.astro
@@ -29,19 +29,7 @@ const config = profileConfig;
-
-
-
@@ -80,20 +68,6 @@ const config = profileConfig;
-
-
-
-
+
\ No newline at end of file
diff --git a/src/styles/markdown.css b/src/styles/markdown.css
index 7d214d5..154378d 100644
--- a/src/styles/markdown.css
+++ b/src/styles/markdown.css
@@ -100,4 +100,4 @@
margin: 1em 0;
}
-}
+}
\ No newline at end of file
diff --git a/src/utils/setting-utils.ts b/src/utils/setting-utils.ts
index 835e20c..b6d7484 100644
--- a/src/utils/setting-utils.ts
+++ b/src/utils/setting-utils.ts
@@ -14,24 +14,12 @@ export function getDefaultHue(): number {
}
export function getHue(): number {
- const currentDay = new Date().getDay();
- // 去你妈的给我查日期先
- if (currentDay === 0){
- return 290;
- }
- // 如果不是,则返回默认值
const stored = localStorage.getItem("hue");
return stored ? Number.parseInt(stored) : getDefaultHue();
}
export function setHue(hue: number): void {
- const currentDay = new Date().getDay();
- if (currentDay === 0){
- //
- }
- if (currentDay != 0){
- localStorage.setItem("hue", String(hue));
- }
+ localStorage.setItem("hue", String(hue));
const r = document.querySelector(":root") as HTMLElement;
if (!r) {
return;