mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
f27cfe54d4
* feat: v4 theme * feat: v4 dark theme * feat: algorithm * refactor: rename
21 lines
411 B
TypeScript
21 lines
411 B
TypeScript
import type { NeutralColorMapToken } from 'antd/es/theme/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,
|
|
) => NeutralColorMapToken;
|