mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
8467428528
* refactor: rename preset colors in Design Token * feat: rename preset color in token
35 lines
1.1 KiB
TypeScript
35 lines
1.1 KiB
TypeScript
import type { ColorPalettes, LegacyColorPalettes } from '../presetColors';
|
|
import type { SeedToken } from '../seeds';
|
|
import type { SizeMapToken, HeightMapToken } from './size';
|
|
import type { ColorMapToken } from './colors';
|
|
import type { StyleMapToken } from './style';
|
|
import type { FontMapToken } from './font';
|
|
|
|
export * from './colors';
|
|
export * from './style';
|
|
export * from './size';
|
|
export * from './font';
|
|
|
|
export interface CommonMapToken extends StyleMapToken {
|
|
// Motion
|
|
motionDurationFast: string;
|
|
motionDurationMid: string;
|
|
motionDurationSlow: string;
|
|
}
|
|
|
|
// ======================================================================
|
|
// == Map Token ==
|
|
// ======================================================================
|
|
// 🔥🔥🔥🔥🔥🔥🔥 DO NOT MODIFY THIS. PLEASE CONTACT DESIGNER. 🔥🔥🔥🔥🔥🔥🔥
|
|
|
|
export interface MapToken
|
|
extends SeedToken,
|
|
LegacyColorPalettes,
|
|
ColorPalettes,
|
|
ColorMapToken,
|
|
SizeMapToken,
|
|
HeightMapToken,
|
|
StyleMapToken,
|
|
FontMapToken,
|
|
CommonMapToken {}
|