feat(theme): sync defaultTheme=ClassicLight enabledThemes=[ClassicLight,ModernLight] across all 6 fallback locations
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Failing after 2m50s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Skipped
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Failing after 3s

This commit is contained in:
2026-09-12 00:13:27 +08:00
parent 6462b1b8a1
commit 0e60f15cfe
6 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -60,8 +60,8 @@ export const useSiteConfig = () => {
enableReplayRequests: false,
enableCollaborativeSubmission: true,
enableSubmissionRemarks: false,
defaultTheme: 'System',
enabledThemes: '["System","ClassicDark","ClassicLight","ModernLight"]'
defaultTheme: 'ClassicLight',
enabledThemes: '["ClassicLight","ModernLight"]'
}
isLoaded.value = true
} finally {
+2 -2
View File
@@ -350,8 +350,8 @@ export const systemSettings = pgTable('SystemSettings', {
autoBackupConfig: text('autoBackupConfig'),
statisticsCode: text('statisticsCode'),
statisticsCodeEnabled: boolean('statisticsCodeEnabled').default(false).notNull(),
defaultTheme: text('defaultTheme').default('System').notNull(),
enabledThemes: text('enabledThemes').default('[\"System\",\"ClassicDark\",\"ClassicLight\",\"ModernLight\"]').notNull(),
defaultTheme: text('defaultTheme').default('ClassicLight').notNull(),
enabledThemes: text('enabledThemes').default('[\"ClassicLight\",\"ModernLight\"]').notNull(),
enabledPlatforms: text('enabledPlatforms'),
platformOrder: text('platformOrder'),
});