diff --git a/src/q-scheme.ts b/src/q-scheme.ts index b619b48..96884f1 100644 --- a/src/q-scheme.ts +++ b/src/q-scheme.ts @@ -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 = {