调整Scheme支持M3动态Scheme标识。
This commit is contained in:
@@ -29,7 +29,12 @@ export type ColorDescription = {
|
||||
oklch: [number, number, number];
|
||||
};
|
||||
|
||||
export type SchemeType = 'q_scheme' | 'swatch_scheme' | 'material_2' | 'material_3';
|
||||
export type SchemeType =
|
||||
| 'q_scheme'
|
||||
| 'swatch_scheme'
|
||||
| 'material_2'
|
||||
| 'material_3'
|
||||
| 'material_3_dynamic';
|
||||
export type SchemeTypeOption = {
|
||||
label: string;
|
||||
short: string;
|
||||
@@ -40,6 +45,7 @@ export const SchemeTypeOptions: SchemeTypeOption[] = [
|
||||
{ label: 'Swatch Scheme', short: 'Swatch', value: 'swatch_scheme' },
|
||||
{ label: 'Material Design 2 Scheme', short: 'M2', value: 'material_2' },
|
||||
{ label: 'Material Design 3 Scheme', short: 'M3', value: 'material_3' },
|
||||
{ label: 'Material Design 3 Dynamic Scheme', short: 'M3D', value: 'material_3_dynamic' },
|
||||
];
|
||||
|
||||
export function schemeType(
|
||||
|
Reference in New Issue
Block a user