2022-11-30 11:48:47 +08:00
|
|
|
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';
|
2023-03-05 20:49:26 +08:00
|
|
|
export type {
|
|
|
|
PresetColorType,
|
|
|
|
ColorPalettes,
|
|
|
|
LegacyColorPalettes,
|
|
|
|
PresetColorKey,
|
|
|
|
} from './presetColors';
|
2022-11-30 11:48:47 +08:00
|
|
|
export type { SeedToken } from './seeds';
|
|
|
|
export type {
|
|
|
|
MapToken,
|
|
|
|
ColorMapToken,
|
|
|
|
ColorNeutralMapToken,
|
|
|
|
CommonMapToken,
|
|
|
|
HeightMapToken,
|
|
|
|
SizeMapToken,
|
2022-12-09 17:52:34 +08:00
|
|
|
FontMapToken,
|
2022-11-30 11:48:47 +08:00
|
|
|
StyleMapToken,
|
|
|
|
} from './maps';
|
|
|
|
export type { AliasToken } from './alias';
|
|
|
|
export type { ComponentTokenMap } from './components';
|