mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-04 23:18:44 +08:00
feat(theme): 默认主题改为玻璃并升级版本至3.0.1触发打包
This commit is contained in:
@@ -282,7 +282,7 @@ const getUIModeIcon = computed(() => {
|
||||
|
||||
// 主题相关功能
|
||||
const { name: themeName, global: globalTheme } = useTheme()
|
||||
const savedTheme = ref(localStorage.getItem('theme') ?? 'auto')
|
||||
const savedTheme = ref(localStorage.getItem('theme') ?? 'glass')
|
||||
const currentThemeName = ref(savedTheme.value)
|
||||
const themeCustomizerSettings = ref(readThemeCustomizerSettings())
|
||||
|
||||
@@ -332,7 +332,7 @@ function getThemeLayoutTitle(layout: ThemeCustomizerSettings['layout']) {
|
||||
}
|
||||
|
||||
const currentThemeSummary = computed(() => {
|
||||
const themeTitle = themes.find(theme => theme.name === currentThemeName.value)?.title || t('theme.auto')
|
||||
const themeTitle = themes.find(theme => theme.name === currentThemeName.value)?.title || t('theme.glass')
|
||||
const layoutTitle = appMode.value ? '' : getThemeLayoutTitle(themeCustomizerSettings.value.layout)
|
||||
|
||||
if (layoutTitle) return `${themeTitle} · ${layoutTitle}`
|
||||
|
||||
Reference in New Issue
Block a user