2022-11-30 11:48:47 +08:00
|
|
|
import type { ColorNeutralMapToken } from '../interface';
|
2022-07-21 17:00:42 +08:00
|
|
|
|
2022-08-19 13:57:19 +08:00
|
|
|
export interface ColorMap {
|
2022-06-29 16:15:58 +08:00
|
|
|
1: string;
|
|
|
|
2: string;
|
|
|
|
3: string;
|
|
|
|
4: string;
|
|
|
|
5: string;
|
|
|
|
6: string;
|
|
|
|
7: string;
|
2022-07-21 17:00:42 +08:00
|
|
|
8: string;
|
|
|
|
9: string;
|
2022-08-09 20:29:12 +08:00
|
|
|
10: string;
|
2022-06-29 16:15:58 +08:00
|
|
|
}
|
|
|
|
|
2022-08-19 13:57:19 +08:00
|
|
|
export type GenerateColorMap = (baseColor: string) => ColorMap;
|
|
|
|
export type GenerateNeutralColorMap = (
|
2022-08-05 16:15:24 +08:00
|
|
|
bgBaseColor: string,
|
|
|
|
textBaseColor: string,
|
2022-11-30 11:48:47 +08:00
|
|
|
) => ColorNeutralMapToken;
|