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