pref:移除黑夜模式
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user