feat(theme): 默认主题改为玻璃并升级版本至3.0.1触发打包

This commit is contained in:
jxxghp
2026-08-16 08:33:52 +08:00
parent b65682da53
commit 485f599489
8 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -572,9 +572,9 @@
return /^#[0-9a-f]{6}$/i.test(cachedBackground || '') ? cachedBackground : null
}
// 读取已保存的主题偏好,缺省时跟随系统
// 读取已保存的主题偏好,缺省时使用玻璃主题
function getSavedThemePreference() {
return getLocalStorageValue('theme') || 'auto'
return getLocalStorageValue('theme') || 'glass'
}
// 将启动阶段的主题偏好解析为实际主题。