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
@@ -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}`