2023-12-04 20:07:20 +08:00
|
|
|
|
import type { ColorPalettes, LegacyColorPalettes } from '../presetColors';
|
2022-11-30 11:48:47 +08:00
|
|
|
|
import type { SeedToken } from '../seeds';
|
|
|
|
|
import type { ColorMapToken } from './colors';
|
2022-12-09 17:52:34 +08:00
|
|
|
|
import type { FontMapToken } from './font';
|
2024-03-27 11:17:39 +08:00
|
|
|
|
import type { ScrollBarToken } from './scrollbar';
|
2023-03-12 14:13:03 +08:00
|
|
|
|
import type { HeightMapToken, SizeMapToken } from './size';
|
|
|
|
|
import type { StyleMapToken } from './style';
|
2022-11-30 11:48:47 +08:00
|
|
|
|
|
|
|
|
|
export * from './colors';
|
2022-12-09 17:52:34 +08:00
|
|
|
|
export * from './font';
|
2023-03-12 14:13:03 +08:00
|
|
|
|
export * from './size';
|
|
|
|
|
export * from './style';
|
2024-03-27 11:17:39 +08:00
|
|
|
|
export * from './scrollbar';
|
2022-11-30 11:48:47 +08:00
|
|
|
|
|
2022-12-09 17:52:34 +08:00
|
|
|
|
export interface CommonMapToken extends StyleMapToken {
|
2022-11-30 11:48:47 +08:00
|
|
|
|
// Motion
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
|
|
|
|
* @desc 动效播放速度,快速。用于小型元素动画交互
|
|
|
|
|
* @descEN Motion speed, fast speed. Used for small element animation interaction.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
motionDurationFast: string;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
|
|
|
|
* @desc 动效播放速度,中速。用于中型元素动画交互
|
|
|
|
|
* @descEN Motion speed, medium speed. Used for medium element animation interaction.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
motionDurationMid: string;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
|
|
|
|
* @desc 动效播放速度,慢速。用于大型元素如面板动画交互
|
|
|
|
|
* @descEN Motion speed, slow speed. Used for large element animation interaction.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
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,
|
2022-11-30 11:48:47 +08:00
|
|
|
|
ColorMapToken,
|
|
|
|
|
SizeMapToken,
|
|
|
|
|
HeightMapToken,
|
|
|
|
|
StyleMapToken,
|
2022-12-09 17:52:34 +08:00
|
|
|
|
FontMapToken,
|
2024-03-27 11:17:39 +08:00
|
|
|
|
ScrollBarToken,
|
2022-11-30 11:48:47 +08:00
|
|
|
|
CommonMapToken {}
|