/*
 * @Author: cclu
 * @Date: 2021-12-13 11:01:23
 * @LastEditors: cclu 1106109051@qq.com
 * @LastEditTime: 2024-09-26 13:59:31
 * @FilePath: \cloud-platform\config\defaultSettings.ts
 * @Description: 
 * 
 * Copyright (c) 2022 by cclu/杭州驿商科技, All Rights Reserved. 
 */
// 没有菜单的配置
import { Settings as ProSettings } from '@ant-design/pro-layout';

type DefaultSettings = Partial<ProSettings> & {
  pwa: boolean;
};
/**关闭左侧菜单默认 设置 */
// const proSettings: DefaultSettings = {
//   pwa: false,
//   "navTheme": "dark",
//   "primaryColor": "#1890ff",
//   "layout": "side",
//   "contentWidth": "Fluid",
//   "fixedHeader": false,
//   "fixSiderbar": false,
//   "splitMenus": false,
//   "headerRender": false,
//   "footerRender": false,
//   "menuRender": false,
// };
/**有左侧菜单的默认设置 */
const proSettings: DefaultSettings = {
  navTheme: 'dark',
  // 拂晓蓝
  primaryColor: '#1890ff',
  layout: 'side',
  contentWidth: 'Fluid',
  fixedHeader: true,
  fixSiderbar: true,
  colorWeak: false,
  title: '驿商云平台',
  pwa: false,
  iconfontUrl: '//at.alicdn.com/t/font_2794551_djdgwbunsvg.js',
  footerRender: false,
};

export type { DefaultSettings };

export default proSettings;
