Initial commit

This commit is contained in:
linxd
2025-06-17 14:20:06 +08:00
commit 08424ecdb8
112 changed files with 26341 additions and 0 deletions

39
config/defaultSettings.ts Normal file
View 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;