ci4sManagement-cloud/react-ui/config/defaultSettings.ts

29 lines
646 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { ProLayoutProps } from '@ant-design/pro-components';
/**
* @name
*/
const Settings: ProLayoutProps & {
pwa?: boolean;
logo?: string;
} = {
locale: 'zh-CN',
navTheme: 'light',
// 拂晓蓝
colorPrimary: '#1664ff',
// layout: 'mix',
contentWidth: 'Fluid',
fixedHeader: false,
fixSiderbar: false,
splitMenus: false,
colorWeak: false,
title: '智能材料科研平台',
pwa: true,
token: {
// 参见ts声明demo 见文档通过token 修改样式
//https://procomponents.ant.design/components/layout#%E9%80%9A%E8%BF%87-token-%E4%BF%AE%E6%94%B9%E6%A0%B7%E5%BC%8F
},
};
export default Settings;