mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-08-29 03:56:51 +08:00
feat(theme): 默认主题改为玻璃并升级版本至3.0.1触发打包
This commit is contained in:
+2
-2
@@ -572,9 +572,9 @@
|
||||
return /^#[0-9a-f]{6}$/i.test(cachedBackground || '') ? cachedBackground : null
|
||||
}
|
||||
|
||||
// 读取已保存的主题偏好,缺省时跟随系统。
|
||||
// 读取已保存的主题偏好,缺省时使用玻璃主题。
|
||||
function getSavedThemePreference() {
|
||||
return getLocalStorageValue('theme') || 'auto'
|
||||
return getLocalStorageValue('theme') || 'glass'
|
||||
}
|
||||
|
||||
// 将启动阶段的主题偏好解析为实际主题。
|
||||
|
||||
Reference in New Issue
Block a user