amis-rpc-design/node_modules/antd/es/layout/style/index.d.ts

95 lines
2.5 KiB
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
import type { CSSProperties } from 'react';
import type { FullToken } from '../../theme/internal';
export interface ComponentToken {
/** @deprecated Use headerBg instead */
colorBgHeader: string;
/** @deprecated Use bodyBg instead */
colorBgBody: string;
/** @deprecated Use triggerBg instead */
colorBgTrigger: string;
/**
* @desc
* @descEN Background Color of body
*/
bodyBg: string;
/**
* @desc
* @descEN Background Color of header
*/
headerBg: string;
/**
* @desc
* @descEN Height of header
*/
headerHeight: number;
/**
* @desc
* @descEN Padding of header
*/
headerPadding: CSSProperties['padding'];
/**
* @desc
* @descEN Text color of header
*/
headerColor: string;
/**
* @desc
* @descEN Padding of footer
*/
footerPadding: CSSProperties['padding'];
/**
* @desc
* @descEN Background Color of footer
*/
footerBg: string;
/**
* @desc
* @descEN Background Color of sider
*/
siderBg: string;
/**
* @desc
* @descEN Height of sider trigger
*/
triggerHeight: number;
/**
* @desc
* @descEN Background Color of sider trigger
*/
triggerBg: string;
/**
* @desc
* @descEN Color of sider trigger
*/
triggerColor: string;
/**
* @desc collapse 0
* @descEN Width of sider trigger when collapse is 0
*/
zeroTriggerWidth: number;
/**
* @desc collapse 0
* @descEN Height of sider trigger when collapse is 0
*/
zeroTriggerHeight: number;
/**
* @desc
* @descEN Background Color of light theme sider
*/
lightSiderBg: string;
/**
* @desc
* @descEN Background Color of light theme sider trigger
*/
lightTriggerBg: string;
/**
* @desc
* @descEN Color of light theme sider trigger
*/
lightTriggerColor: string;
}
export interface LayoutToken extends FullToken<'Layout'> {
}
declare const _default: (prefixCls: string) => import("../../theme/interface").UseComponentStyleResult;
export default _default;