gaoluyang
2026-10-29 a7dcbf2d709475c4364b3ac5e8ba06a7bada4b88
src/packages/@core/preferences/src/config.ts
@@ -3,18 +3,18 @@
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',
@@ -25,10 +25,10 @@
    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,
@@ -58,7 +58,7 @@
  },
  header: {
    enable: true,
    height: 50,
    height: 64,
    hidden: false,
    menuAlign: 'start',
    mode: 'fixed',
@@ -72,7 +72,7 @@
  navigation: {
    accordion: true,
    split: true,
    styleType: 'rounded',
    styleType: 'plain',
  },
  shortcutKeys: {
    enable: true,
@@ -96,12 +96,12 @@
    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,
@@ -117,11 +117,11 @@
  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,