You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

defaultSettings.ts 631 B

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
123456789101112131415161718192021222324252627
  1. import { ProLayoutProps } from '@ant-design/pro-components';
  2. /**
  3. * @name
  4. */
  5. const Settings: ProLayoutProps & {
  6. pwa?: boolean;
  7. logo?: string;
  8. } = {
  9. locale: 'zh-CN',
  10. navTheme: 'light',
  11. colorPrimary: '#514cf9',
  12. // layout: 'mix',
  13. contentWidth: 'Fluid',
  14. fixedHeader: false,
  15. fixSiderbar: false,
  16. splitMenus: false,
  17. colorWeak: false,
  18. title: '智能材料科研平台',
  19. pwa: true,
  20. token: {
  21. // 参见ts声明,demo 见文档,通过token 修改样式
  22. //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
  23. },
  24. };
  25. export default Settings;