From 8ac5f9dfa0bf5b679dfea090a47c8146ee3d0e3c Mon Sep 17 00:00:00 2001
From: 李 <344137771@qq.com>
Date: Tue, 26 May 2026 09:46:16 +0800
Subject: [PATCH] 1
---
src/main.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main.js b/src/main.js
index 063cd07..2f84512 100644
--- a/src/main.js
+++ b/src/main.js
@@ -17,8 +17,8 @@
import { getStorage } from '@/utils/utis'
pinia.use(piniaPluginPersistedstate)
-// 初始化主题为黑夜模式
-const theme = getStorage('theme') || 'dark'
+// 初始化主题:白色背景 + 黑灰字体(参考 BlueWhale)
+const theme = getStorage('theme') || 'light'
window.document.documentElement.setAttribute('data-theme', theme)
const app = createApp(App)
--
Gitblit v1.9.3