调整Q Scheme设置参数的保存类型。
This commit is contained in:
parent
41788c4944
commit
853b9b6b75
|
@ -1,5 +1,4 @@
|
||||||
import { SchemeSetting } from './color_functions/color_module';
|
import { SchemeSetting } from './color_functions/color_module';
|
||||||
import { ColorShifting } from './models';
|
|
||||||
|
|
||||||
export type ColorSet = {
|
export type ColorSet = {
|
||||||
root: string;
|
root: string;
|
||||||
|
@ -35,13 +34,7 @@ export type QScheme = {
|
||||||
};
|
};
|
||||||
|
|
||||||
export type QSchemeSetting = {
|
export type QSchemeSetting = {
|
||||||
hover: ColorShifting;
|
[P in keyof SchemeSetting]: SchemeSetting[P];
|
||||||
acitve: ColorShifting;
|
|
||||||
focus: ColorShifting;
|
|
||||||
disabled: ColorShifting;
|
|
||||||
dark_convert: ColorShifting;
|
|
||||||
expand_method: string;
|
|
||||||
wacg_follows: string;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export type QSchemeSource = {
|
export type QSchemeSource = {
|
||||||
|
@ -55,7 +48,7 @@ export type QSchemeSource = {
|
||||||
info: string | null;
|
info: string | null;
|
||||||
foreground: string | null;
|
foreground: string | null;
|
||||||
background: strin | nullg;
|
background: strin | nullg;
|
||||||
setting: SchemeSetting | null;
|
setting: QSchemeSetting | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type QSchemeStorage = {
|
export type QSchemeStorage = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user