From 30d1ee7be942d7a2201e1ab2ca7d96badff8bf50 Mon Sep 17 00:00:00 2001
From: 李 <344137771@qq.com>
Date: Sat, 23 May 2026 11:23:00 +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