You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
509 B
24 lines
509 B
import type { ElementOf } from './type';
|
|
import { tuple } from './type';
|
|
|
|
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>;
|