| | |
| | | SettingButtonPositionEnum, |
| | | } from '/@/enums/appEnum'; |
| | | import { SIDE_BAR_BG_COLOR_LIST, HEADER_PRESET_BG_COLOR_LIST } from './designSetting'; |
| | | import { primaryColor, themeMode } from '../../build/config/themeConfig'; |
| | | import { primaryColor } from '../../build/config/themeConfig'; |
| | | |
| | | // ! You need to clear the browser cache after the change |
| | | const setting: ProjectConfig = { |
| | | // Whether to show the configuration button |
| | | showSettingButton: true, |
| | | |
| | | // Whether to show the theme switch button |
| | | showDarkModeToggle: true, |
| | | |
| | | // `Settings` button position |
| | | settingButtonPosition: SettingButtonPositionEnum.AUTO, |
| | |
| | | permissionMode: PermissionModeEnum.ROLE, |
| | | |
| | | // Permission-related cache is stored in sessionStorage or localStorage |
| | | permissionCacheType: CacheTypeEnum.SESSION, |
| | | permissionCacheType: CacheTypeEnum.LOCAL, |
| | | |
| | | // color |
| | | themeColor: primaryColor, |
| | | |
| | | // TODO dark theme |
| | | themeMode: themeMode, |
| | | |
| | | // Website gray mode, open for possible mourning dates |
| | | grayMode: false, |
| | |
| | | theme: ThemeEnum.LIGHT, |
| | | // Whether to enable the lock screen function |
| | | useLockPage: true, |
| | | |
| | | // Whether to show the full screen button |
| | | showFullScreen: true, |
| | | // Whether to show the document button |