Initial commit
This commit is contained in:
39
config/defaultSettings.ts
Normal file
39
config/defaultSettings.ts
Normal file
@ -0,0 +1,39 @@
|
||||
import { Settings as ProSettings } from '@ant-design/pro-layout';
|
||||
|
||||
type DefaultSettings = ProSettings & {
|
||||
pwa: boolean;
|
||||
headingColor: string;
|
||||
textColor: string;
|
||||
};
|
||||
|
||||
const proSettings: DefaultSettings = {
|
||||
navTheme: 'light',
|
||||
primaryColor: 'rgb(0,79,142)',
|
||||
headingColor: "#000",
|
||||
textColor: "#000",
|
||||
layout: 'side',
|
||||
contentWidth: 'Fluid',
|
||||
fixedHeader: false,
|
||||
fixSiderbar: true,
|
||||
colorWeak: false,
|
||||
menu: {
|
||||
locale: true,
|
||||
},
|
||||
title: '中远海运',
|
||||
pwa: false,
|
||||
iconfontUrl: '',
|
||||
};
|
||||
|
||||
export const antdTheme = {
|
||||
// 更改antd 组件颜色
|
||||
'table-header-bg': 'rgb(241,245,251)',
|
||||
'table-row-hover-bg': 'rgb(241,245,251)',
|
||||
'table-padding-vertical': '12px',
|
||||
'table-header-color': 'rgb(143,146,153)',
|
||||
'menu-item-active-bg': 'rgba(0,79,142,0.1)'
|
||||
}
|
||||
|
||||
export type { DefaultSettings };
|
||||
|
||||
|
||||
export default proSettings;
|
Reference in New Issue
Block a user