From ef52095f5e9f0a9fe2da779bb1573947d77d75b6 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Fri, 22 May 2026 10:53:01 +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