diff --git a/images/fileIcons.png b/images/fileIcons.png index 3670712db5..73078f6c2e 100644 Binary files a/images/fileIcons.png and b/images/fileIcons.png differ diff --git a/images/folderIcons.png b/images/folderIcons.png index a5281c5867..2e8ae58d85 100644 Binary files a/images/folderIcons.png and b/images/folderIcons.png differ diff --git a/src/scripts/preview/index.ts b/src/scripts/preview/index.ts index 3ae7f34216..28aa656352 100644 --- a/src/scripts/preview/index.ts +++ b/src/scripts/preview/index.ts @@ -1,13 +1,18 @@ import { fileIcons } from './../../icons/fileIcons'; import { folderIcons } from './../../icons/folderIcons'; +import { languageIcons } from './../../icons/languageIcons'; import { generatePreview } from './preview'; const filterDuplicates = (icons: string[]) => { return [...new Set(icons)]; }; -const basicFileIcons = fileIcons.icons - .map(i => ({ iconName: i.name, label: i.name })); +const basicFileIcons = filterDuplicates( + fileIcons.icons + .map(i => i.name) + // merge language icons + .concat(languageIcons.map(i => i.icon.name)) +).map(i => ({ iconName: i, label: i })); const folderThemes = filterDuplicates(folderIcons.map(theme => { const folders = [];