From 3ad76f1894ab3da5f8227481daa82c30722c2791 Mon Sep 17 00:00:00 2001 From: Mattia Astorino Date: Mon, 27 Aug 2018 22:03:00 +0200 Subject: [PATCH] feat: Add icons to root folders Close #241 --- extensions/defaults.json | 16 ++++++++++++++-- src/icons/partials/fileFolders.js | 4 +++- src/icons/partials/light.js | 4 +++- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/extensions/defaults.json b/extensions/defaults.json index 6b4c662..6a1ed3d 100644 --- a/extensions/defaults.json +++ b/extensions/defaults.json @@ -19,6 +19,7 @@ }, "accentableIcons": [ "_folder_open", + "_folder_root_open", "_folder_open_build", "_folder_vscode_open", "_folder_gulp_open", @@ -212,6 +213,12 @@ "_folder_light": { "iconPath": "../icons/folder_light.svg" }, + "_folder_root_dark": { + "iconPath": "../icons/folder_root_dark.svg" + }, + "_folder_root_light": { + "iconPath": "../icons/folder_root_light.svg" + }, "_file_folder": { "iconPath": "../icons/file_folder.svg" }, @@ -221,6 +228,9 @@ "_folder_open": { "iconPath": "../icons/folder_open.svg" }, + "_folder_root_open": { + "iconPath": "../icons/folder_root_open.svg" + }, "_folder_open_build": { "iconPath": "../icons/folder_open_build.svg" } @@ -286,6 +296,8 @@ "_folder_node", "_folder_vscode", "_folder_dark", - "_folder_light" + "_folder_light", + "_folder_root_dark", + "_folder_root_light" ] -} +} \ No newline at end of file diff --git a/src/icons/partials/fileFolders.js b/src/icons/partials/fileFolders.js index a126872..8927abd 100644 --- a/src/icons/partials/fileFolders.js +++ b/src/icons/partials/fileFolders.js @@ -1,3 +1,5 @@ "file": "_file_dark", "folder": "_folder_dark", -"folderExpanded": "_folder_open", \ No newline at end of file +"folderExpanded": "_folder_open", +"rootFolder": "_folder_root_dark", +"rootFolderExpanded": "_folder_root_open", diff --git a/src/icons/partials/light.js b/src/icons/partials/light.js index 100bcf0..13714c9 100644 --- a/src/icons/partials/light.js +++ b/src/icons/partials/light.js @@ -1,6 +1,8 @@ "light": { "folderExpanded": "_folder_open", "folder": "_folder_light", + "rootFolder": "_folder_root_light", + "rootFolderExpanded": "_folder_root_open", "folderNames": { "test": "_folder_test", "node_modules": "_folder_node", @@ -31,4 +33,4 @@ "build": "_folder_open_build", "dist": "_folder_dist_open" } -}, \ No newline at end of file +},