| | |
| | | const defaultPreferences: Preferences = { |
| | | app: { |
| | | accessMode: 'frontend', |
| | | authPageLayout: 'panel-right', |
| | | authPageLayout: 'panel-center', |
| | | checkUpdatesInterval: 1, |
| | | colorGrayMode: false, |
| | | colorWeakMode: false, |
| | | compact: false, |
| | | contentCompact: 'wide', |
| | | contentCompactWidth: 1200, |
| | | contentPadding: 0, |
| | | contentPaddingBottom: 0, |
| | | contentPaddingLeft: 0, |
| | | contentPaddingRight: 0, |
| | | contentPaddingTop: 0, |
| | | contentCompact: 'full', |
| | | contentCompactWidth: 1320, |
| | | contentPadding: 20, |
| | | contentPaddingBottom: 24, |
| | | contentPaddingLeft: 20, |
| | | contentPaddingRight: 20, |
| | | contentPaddingTop: 20, |
| | | defaultAvatar: |
| | | 'https://unpkg.com/@vbenjs/static-source@0.1.7/source/avatar-v1.webp', |
| | | defaultHomePath: '/analytics', |
| | |
| | | enableRefreshToken: false, |
| | | enableStickyPreferencesNavigationBar: true, |
| | | isMobile: false, |
| | | layout: 'sidebar-nav', |
| | | layout: 'mixed-nav', |
| | | locale: 'zh-CN', |
| | | loginExpiredMode: 'page', |
| | | name: 'Vben Admin', |
| | | name: 'FieldFlow', |
| | | preferencesButtonPosition: 'auto', |
| | | timezone: 'Asia/Shanghai', |
| | | watermark: false, |
| | |
| | | }, |
| | | header: { |
| | | enable: true, |
| | | height: 50, |
| | | height: 64, |
| | | hidden: false, |
| | | menuAlign: 'start', |
| | | mode: 'fixed', |
| | |
| | | navigation: { |
| | | accordion: true, |
| | | split: true, |
| | | styleType: 'rounded', |
| | | styleType: 'plain', |
| | | }, |
| | | shortcutKeys: { |
| | | enable: true, |
| | |
| | | fixedButton: true, |
| | | hidden: false, |
| | | mixedWidth: 80, |
| | | width: 224, |
| | | width: 264, |
| | | }, |
| | | tabbar: { |
| | | draggable: true, |
| | | enable: true, |
| | | height: 38, |
| | | height: 44, |
| | | keepAlive: true, |
| | | maxCount: 0, |
| | | middleClickToClose: false, |
| | |
| | | theme: { |
| | | builtinType: 'default', |
| | | colorDestructive: 'hsl(348 100% 61%)', |
| | | colorPrimary: 'hsl(212 100% 45%)', |
| | | colorSuccess: 'hsl(144 57% 58%)', |
| | | colorWarning: 'hsl(42 84% 61%)', |
| | | colorPrimary: 'hsl(250 72% 56%)', |
| | | colorSuccess: 'hsl(157 60% 42%)', |
| | | colorWarning: 'hsl(24 92% 56%)', |
| | | mode: 'light', |
| | | radius: '0.75', |
| | | radius: '1.15', |
| | | fontSize: 16, |
| | | semiDarkHeader: false, |
| | | semiDarkSidebar: false, |