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