diff --git a/backend/init/migration/migrations/init.go b/backend/init/migration/migrations/init.go index 3af26a063..ca2f469b8 100644 --- a/backend/init/migration/migrations/init.go +++ b/backend/init/migration/migrations/init.go @@ -85,7 +85,7 @@ var AddTableSetting = &gormigrate.Migration{ if err := tx.Create(&model.Setting{Key: "Language", Value: "zh"}).Error; err != nil { return err } - if err := tx.Create(&model.Setting{Key: "Theme", Value: "light"}).Error; err != nil { + if err := tx.Create(&model.Setting{Key: "Theme", Value: "auto"}).Error; err != nil { return err } diff --git a/frontend/src/store/index.ts b/frontend/src/store/index.ts index 423ae77ed..bd972be50 100644 --- a/frontend/src/store/index.ts +++ b/frontend/src/store/index.ts @@ -18,7 +18,7 @@ export const GlobalStore = defineStore({ themeConfig: { panelName: '', primary: '#005EEB', - theme: 'bright', + theme: 'auto', footer: true, }, isFullScreen: false,