diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index d75da8c3..22813cf6 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -18,14 +18,16 @@ interface Frames { }; } -interface ColorSchemes { - [name: string]: { - base: string; - outline: string; - watch?: { - background: string; - }; +type Colors = { + base: string; + outline: string; + watch?: { + background: string; }; +}; + +interface ThemeColors { + [name: string]: Colors; } interface PixelDiffRate { @@ -33,9 +35,4 @@ interface PixelDiffRate { rate: number; }; } - -interface KeyColors { - [name: string]: string; -} - -export { Config, Frames, ColorSchemes, PathConfig, PixelDiffRate, KeyColors }; +export { Config, Frames, Colors, ThemeColors, PathConfig, PixelDiffRate };