2021-06-26 01:35:40 +00:00
|
|
|
import type { ElementOf } from './type';
|
|
|
|
import { tuple } from './type';
|
2020-10-02 13:16:05 +00:00
|
|
|
|
|
|
|
export const PresetStatusColorTypes = tuple('success', 'processing', 'error', 'default', 'warning');
|
|
|
|
|
|
|
|
export const PresetColorTypes = tuple(
|
|
|
|
'pink',
|
|
|
|
'red',
|
|
|
|
'yellow',
|
|
|
|
'orange',
|
|
|
|
'cyan',
|
|
|
|
'green',
|
|
|
|
'blue',
|
|
|
|
'purple',
|
|
|
|
'geekblue',
|
|
|
|
'magenta',
|
|
|
|
'volcano',
|
|
|
|
'gold',
|
|
|
|
'lime',
|
|
|
|
);
|
|
|
|
|
|
|
|
export type PresetColorType = ElementOf<typeof PresetColorTypes>;
|
|
|
|
export type PresetStatusColorType = ElementOf<typeof PresetStatusColorTypes>;
|