mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
479e4e8884
* ♻️ refactor token system interface * 📝 docs: add more token meta info to seeds and map token * 🔨 chore: update token meta generator scripts * 🚨 chore: fix lint * 📝 docs: 补充 token 的 meta 信息 * chore: add json in pkg * chore: update script * chore: update flag Co-authored-by: MadCcc <1075746765@qq.com>
21 lines
400 B
TypeScript
21 lines
400 B
TypeScript
import type { ColorNeutralMapToken } from '../interface';
|
|
|
|
export interface ColorMap {
|
|
1: string;
|
|
2: string;
|
|
3: string;
|
|
4: string;
|
|
5: string;
|
|
6: string;
|
|
7: string;
|
|
8: string;
|
|
9: string;
|
|
10: string;
|
|
}
|
|
|
|
export type GenerateColorMap = (baseColor: string) => ColorMap;
|
|
export type GenerateNeutralColorMap = (
|
|
bgBaseColor: string,
|
|
textBaseColor: string,
|
|
) => ColorNeutralMapToken;
|