mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 13:59:11 +08:00
91f9fc2ff9
* fix: token update * refactor: font map token * chore: code clean * chore: code clean * chore: code clean * chore: update snapshot * chore: menu style
26 lines
773 B
TypeScript
26 lines
773 B
TypeScript
import type { ComponentTokenMap } from './components';
|
|
import type { AliasToken } from './alias';
|
|
|
|
export type OverrideToken = {
|
|
[key in keyof ComponentTokenMap]: Partial<ComponentTokenMap[key]> & Partial<AliasToken>;
|
|
};
|
|
|
|
/** Final token which contains the components level override */
|
|
export type GlobalToken = AliasToken & ComponentTokenMap;
|
|
|
|
export { PresetColors } from './presetColors';
|
|
export type { PresetColorType, ColorPalettes } from './presetColors';
|
|
export type { SeedToken } from './seeds';
|
|
export type {
|
|
MapToken,
|
|
ColorMapToken,
|
|
ColorNeutralMapToken,
|
|
CommonMapToken,
|
|
HeightMapToken,
|
|
SizeMapToken,
|
|
FontMapToken,
|
|
StyleMapToken,
|
|
} from './maps';
|
|
export type { AliasToken } from './alias';
|
|
export type { ComponentTokenMap } from './components';
|