重构创建Scheme功能支持多种Scheme类型选择。
This commit is contained in:
@@ -27,6 +27,16 @@ export type ColorDescription = {
|
||||
};
|
||||
|
||||
export type SchemeType = 'q_scheme' | 'swatch_scheme' | 'material_2' | 'material_3';
|
||||
export type SchemeTypeOption = {
|
||||
label: string;
|
||||
value: SchemeType;
|
||||
};
|
||||
export const SchemeTypeOptions: SchemeTypeOption[] = [
|
||||
{ label: 'Q Scheme', value: 'q_scheme' },
|
||||
{ label: 'Swatch Scheme', value: 'swatch_scheme' },
|
||||
{ label: 'Material Design 2 Scheme', value: 'material_2' },
|
||||
{ label: 'Material Design 3 Scheme', value: 'material_3' },
|
||||
];
|
||||
export type SchemeContent<SchemeStorage> = {
|
||||
id: string;
|
||||
name: string;
|
||||
|
Reference in New Issue
Block a user