You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.1 KiB
36 lines
1.1 KiB
export declare type SiderTheme = 'light' | 'dark';
|
|
|
|
export interface DefaultSettings {
|
|
navTheme: string | SiderTheme;
|
|
primaryColor: string;
|
|
layout: string;
|
|
contentWidth: string;
|
|
fixedHeader: boolean;
|
|
autoHideHeader: boolean;
|
|
fixSiderbar: boolean;
|
|
menu: { disableLocal: boolean };
|
|
title: string;
|
|
pwa: boolean;
|
|
iconfontUrl: string;
|
|
colorWeak: boolean;
|
|
}
|
|
|
|
export default {
|
|
navTheme: 'dark', // theme for nav menu
|
|
primaryColor: '#1890FF', // primary color of ant design
|
|
layout: 'sidemenu', // nav menu position: sidemenu or topmenu
|
|
contentWidth: 'Fluid', // layout of content: Fluid or Fixed, only works when layout is topmenu
|
|
fixedHeader: false, // sticky header
|
|
autoHideHeader: false, // auto hide header
|
|
fixSiderbar: false, // sticky siderbar
|
|
colorWeak: false,
|
|
menu: {
|
|
disableLocal: false,
|
|
},
|
|
title: 'Ant Design Pro',
|
|
pwa: true,
|
|
// your iconfont Symbol Scrip Url
|
|
// eg://at.alicdn.com/t/font_1039637_btcrd5co4w.js
|
|
// 注意:如果需要图标多色,Iconfont图标项目里要进行批量去色处理
|
|
iconfontUrl: '',
|
|
} as DefaultSettings;
|
|
|