🌈 Colors type added

This commit is contained in:
ful1e5 2020-09-27 11:45:30 +05:30
parent 70d443b394
commit a1bd16e551

View file

@ -18,14 +18,16 @@ interface Frames {
}; };
} }
interface ColorSchemes { type Colors = {
[name: string]: {
base: string; base: string;
outline: string; outline: string;
watch?: { watch?: {
background: string; background: string;
}; };
}; };
interface ThemeColors {
[name: string]: Colors;
} }
interface PixelDiffRate { interface PixelDiffRate {
@ -33,9 +35,4 @@ interface PixelDiffRate {
rate: number; rate: number;
}; };
} }
export { Config, Frames, Colors, ThemeColors, PathConfig, PixelDiffRate };
interface KeyColors {
[name: string]: string;
}
export { Config, Frames, ColorSchemes, PathConfig, PixelDiffRate, KeyColors };