Files
tashow-manager/config/defaultSettings.ts
2025-10-29 17:10:53 +08:00

36 lines
816 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 type { ProLayoutProps } from '@ant-design/pro-components';
/**
* @name
*/
const Settings: ProLayoutProps & {
pwa?: boolean;
logo?: string;
} = {
navTheme: 'light',
// 拂晓蓝
colorPrimary: '#1890ff',
layout: 'mix',
contentWidth: 'Fluid',
fixedHeader: true,
fixSiderbar: true,
colorWeak: false,
title: '百业到家云控台',
pwa: true,
logo: '/logo.svg',
iconfontUrl: '',
splitMenus: true,
token: {
// 参见ts声明demo 见文档通过token 修改样式
// 设置内容区域的边距
pageContainer: {
paddingBlockPageContainerContent: 16,
paddingInlinePageContainerContent: 16,
},
//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;