diff --git a/src/data/items.json b/src/data/items.json index 6024fc5..3c0f81a 100644 --- a/src/data/items.json +++ b/src/data/items.json @@ -379,6 +379,7 @@ "search-result": "search" }, "folder": "folder", + "folderExpanded": "folder-opened", "iconDefinitions": { "archive": { "iconColor": "@gray", @@ -456,6 +457,10 @@ "iconColor": "@gray", "iconName": "folder" }, + "folder-opened": { + "iconColor": "@gray", + "iconName": "folder-opened" + }, "font": { "iconColor": "@blue", "iconName": "text-size" diff --git a/src/iconmaps/octicons.json b/src/iconmaps/octicons.json index 0f207a8..a61856c 100644 --- a/src/iconmaps/octicons.json +++ b/src/iconmaps/octicons.json @@ -1,3 +1,4 @@ { - "folder": "file-directory" + "folder": "file-directory", + "folder-opened": "file-directory" } diff --git a/src/themes.js b/src/themes.js index 57512fb..75ce200 100644 --- a/src/themes.js +++ b/src/themes.js @@ -100,7 +100,7 @@ function getIconTheme(themeId) { iconTheme.iconDefinitions[lightIconName] = { fontColor: lightColor }; } - for (const propName of ['file', 'folder']) { + for (const propName of ['file', 'folder', 'folderExpanded']) { const iconName = items[propName]; const prefixedIconName = prefix(iconName);