ant-design/components/theme/interface/maps/index.ts

50 lines
1.7 KiB
TypeScript
Raw Normal View History

2023-12-04 20:07:20 +08:00
import type { ColorPalettes, LegacyColorPalettes } from '../presetColors';
import type { SeedToken } from '../seeds';
import type { ColorMapToken } from './colors';
import type { FontMapToken } from './font';
import type { ScrollBarToken } from './scrollbar';
import type { HeightMapToken, SizeMapToken } from './size';
import type { StyleMapToken } from './style';
export * from './colors';
export * from './font';
export * from './size';
export * from './style';
export * from './scrollbar';
export interface CommonMapToken extends StyleMapToken {
// Motion
/**
* @desc
* @descEN Motion speed, fast speed. Used for small element animation interaction.
*/
motionDurationFast: string;
/**
* @desc
* @descEN Motion speed, medium speed. Used for medium element animation interaction.
*/
motionDurationMid: string;
/**
* @desc
* @descEN Motion speed, slow speed. Used for large element animation interaction.
*/
motionDurationSlow: string;
}
// ======================================================================
// == Map Token ==
// ======================================================================
// 🔥🔥🔥🔥🔥🔥🔥 DO NOT MODIFY THIS. PLEASE CONTACT DESIGNER. 🔥🔥🔥🔥🔥🔥🔥
export interface MapToken
extends SeedToken,
ColorPalettes,
2023-12-04 20:07:20 +08:00
LegacyColorPalettes,
ColorMapToken,
SizeMapToken,
HeightMapToken,
StyleMapToken,
FontMapToken,
ScrollBarToken,
CommonMapToken {}