PromoCursed/node_modules/antd/lib/layout/style/index.d.ts

96 lines
2.6 KiB
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
import type { CSSProperties } from 'react';
import type { FullToken, GetDefaultToken } 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 | string;
/**
* @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 | string;
/**
* @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'> {
}
export declare const prepareComponentToken: GetDefaultToken<'Layout'>;
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: import("react").ReactElement) => import("react").ReactElement, string, string];
export default _default;