82cfb4587b
* chore: small cleanup helper * chore: adding interfaces for icon variants * feat: You can now switch between Material Theme icons * chore: helpers small fix * chore(helpers): small fix helpers * refactor: refactoring fixIcons command, ready for new prop autoFix * refactor: accentsSetter command, ready for autoFix prop * chore: added new exports file for all commands * refactor: main theme file, ready for autoFix prop * chore: added listener also when changing iconTheme * feat: autoApplyIcons added as option and toggleApplyIcons as command * chore: added check for autoApplyIcons flag. Removed listen icon change * feat: Notification shows up when the window needs reload * chore: Update CTA's * chore: Make consistent indent guides and add support to editorIndentGuide.activeBackground Close #188 * chore: fix check on CTA ok * chore: split up configurationChange and changelog (added to commands) * chore: small change settings method * feat: Now the theme will auto fix if needed on change icons theme
68 lines
1.4 KiB
TypeScript
68 lines
1.4 KiB
TypeScript
export interface IDefaults {
|
|
accents: IAccents;
|
|
accentableIcons: string[];
|
|
changelog: IChangelog;
|
|
icons: IDefaultsThemeIcons;
|
|
themeVariants: IDefaultsThemeVariant;
|
|
themeIconVariants: IDefaultsThemeIconVariant;
|
|
themeVariantsColours: IDefaultsThemeVariant;
|
|
themeVariantsUITheme: IDefaultsThemeVariant;
|
|
variantsIcons: string[];
|
|
[Symbol.iterator](): IterableIterator<IDefaults>;
|
|
}
|
|
|
|
export interface IAccents {
|
|
teal: string;
|
|
[index: string]: string;
|
|
}
|
|
|
|
export interface IChangelog {
|
|
lastversion: string;
|
|
[Symbol.iterator](): IterableIterator<IChangelog>;
|
|
}
|
|
|
|
export interface IDefaultsThemeIcons {
|
|
theme: {
|
|
iconDefinitions: {
|
|
_folder_open: {
|
|
iconPath: string;
|
|
};
|
|
_folder_open_build: {
|
|
iconPath: string;
|
|
};
|
|
_folder_dark: {
|
|
iconPath: string;
|
|
};
|
|
_folder_dark_build: {
|
|
iconPath: string;
|
|
};
|
|
_folder_light_build: {
|
|
iconPath: string;
|
|
};
|
|
_folder_light: {
|
|
iconPath: string;
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|
|
export interface IDefaultsThemeVariant {
|
|
[index: string]: string;
|
|
Darker: string;
|
|
DarkerHighContrast: string;
|
|
Default: string;
|
|
DefaultHighContrast: string;
|
|
Light: string;
|
|
LightHighContrast: string;
|
|
PalenightHighContrast: string;
|
|
Ocean: string;
|
|
OceanHighContrast: string;
|
|
}
|
|
|
|
export interface IDefaultsThemeIconVariant {
|
|
[index: string]: string;
|
|
Darker: string;
|
|
Light: string;
|
|
Palenight: string;
|
|
Ocean: string;
|
|
}
|