调整Swatch Scheme的部分类型定义。
This commit is contained in:
parent
b8018e323d
commit
83dcb3f80f
|
@ -5,9 +5,16 @@ export type SwatchScheme = {
|
|||
dark: Record<string, string[]>;
|
||||
};
|
||||
|
||||
export type QSwatchEntry = {
|
||||
[P in keyof SwatchEntry]: SwatchEntry[P];
|
||||
};
|
||||
export type QSwatchSchemeSetting = {
|
||||
[P in keyof SwatchSchemeSetting]: SwatchSchemeSetting[P];
|
||||
};
|
||||
|
||||
export type SwatchSchemeSource = {
|
||||
colors: SwatchEntry[];
|
||||
setting: SwatchSchemeSetting | null;
|
||||
colors: QSwatchEntry[];
|
||||
setting: QSwatchSchemeSetting | null;
|
||||
};
|
||||
|
||||
export type SwatchSchemeStorage = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user