修复主题颜色与字体问题

This commit is contained in:
2025-07-31 19:39:53 +08:00
parent 01892ba3c8
commit 86055073b1
4 changed files with 63 additions and 26 deletions

View File

@@ -0,0 +1,8 @@
export default defineNuxtPlugin(() => {
const { initializeTheme } = useTheme()
// 在客户端初始化主题
if (import.meta.client) {
initializeTheme()
}
})