2022-05-07 14:31:54 +08:00
|
|
|
import type { ElementOf } from './type';
|
|
|
|
import { tuple } from './type';
|
2019-03-31 20:21:20 +08:00
|
|
|
|
2019-10-25 23:17:25 +08:00
|
|
|
export const PresetStatusColorTypes = tuple('success', 'processing', 'error', 'default', 'warning');
|
2019-08-14 18:21:24 +08:00
|
|
|
// eslint-disable-next-line import/prefer-default-export
|
2019-03-31 20:21:20 +08:00
|
|
|
export const PresetColorTypes = tuple(
|
2019-04-26 18:15:31 +08:00
|
|
|
'pink',
|
|
|
|
'red',
|
|
|
|
'yellow',
|
|
|
|
'orange',
|
|
|
|
'cyan',
|
|
|
|
'green',
|
|
|
|
'blue',
|
|
|
|
'purple',
|
|
|
|
'geekblue',
|
|
|
|
'magenta',
|
|
|
|
'volcano',
|
|
|
|
'gold',
|
|
|
|
'lime',
|
2019-03-31 20:21:20 +08:00
|
|
|
);
|
2019-04-26 18:15:31 +08:00
|
|
|
|
2020-04-11 20:46:09 +08:00
|
|
|
export type PresetColorType = ElementOf<typeof PresetColorTypes>;
|
|
|
|
export type PresetStatusColorType = ElementOf<typeof PresetStatusColorTypes>;
|