pref:移除黑夜模式

This commit is contained in:
zdl
2025-11-24 15:07:13 +08:00
parent e201f35b18
commit 528e61b961
5 changed files with 36 additions and 171 deletions

View File

@@ -40,6 +40,13 @@ export function AppProviders({ children }) {
<ReduxProvider store={store}>
<ChakraProvider
theme={theme}
// ✅ 强制使用浅色主题(禁用深色模式)
colorModeManager={{
type: 'cookie',
ssr: false,
get: () => 'light', // 始终返回 'light'
set: () => {}, // 禁止设置(忽略切换操作)
}}
toastOptions={{
defaultOptions: {
position: 'top',