defaultSettings.ts 685 B

12345678910111213141516171819202122232425262728
  1. import { ProLayoutProps } from '@ant-design/pro-components';
  2. /**
  3. * @name
  4. */
  5. const Settings: ProLayoutProps & {
  6. pwa?: boolean;
  7. logo?: string;
  8. } = {
  9. navTheme: 'light',
  10. // 拂晓蓝
  11. colorPrimary: '#1890ff',
  12. layout: 'mix',
  13. contentWidth: 'Fluid',
  14. fixedHeader: false,
  15. fixSiderbar: true,
  16. colorWeak: false,
  17. title: '魔饭星',
  18. pwa: true,
  19. logo: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
  20. iconfontUrl: '',
  21. token: {
  22. // 参见ts声明,demo 见文档,通过token 修改样式
  23. //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
  24. },
  25. };
  26. export default Settings;