From 75308055f7cf4a73923125d7271e493bf1fc1935 Mon Sep 17 00:00:00 2001 From: colin Date: Thu, 31 Jul 2025 17:49:51 +0800 Subject: [PATCH] chore(vben5-platform): update `preferences.ts` - Set `defaultHomePath` to `/workspace` - Set Theme following system - Set Theme radius to `0.25` - Hide the default notification widget --- apps/vben5/apps/app-antd/src/preferences.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/vben5/apps/app-antd/src/preferences.ts b/apps/vben5/apps/app-antd/src/preferences.ts index 4ee0c5515..94d2a3ca8 100644 --- a/apps/vben5/apps/app-antd/src/preferences.ts +++ b/apps/vben5/apps/app-antd/src/preferences.ts @@ -9,7 +9,15 @@ export const overridesPreferences = defineOverridesPreferences({ // overrides app: { accessMode: 'backend', + defaultHomePath: '/workspace', enableRefreshToken: true, name: import.meta.env.VITE_APP_TITLE, }, + theme: { + mode: 'auto', + radius: '0.25', + }, + widget: { + notification: false, + }, });