[Feature Request] Folder colour inheritance
Currently it seems that folders without a specified colour use the default colour. It would be great to see an option for a folder's colour to be inherited from the parent folder if the parent folder has a specified colour.
For example the components folder is green, so all of the folders inside this directory are also green, perhaps only at the top level and not for sub-directories?
Current:
Proposed:
This would be a nice option, but unfortunately I can't think of an easy way to implement it with the current vscode icons API.
🤔 What about this!
🤔 What about this!
What are you proposing?
What are you proposing?
@lucas-labs My concern is, what if we have sub-folders which has its own folder icon and colour. How can we deal with.
Do we just change sub-folder's colour and keep the icon as it is? 🤔
It would be so cool if one would be able to set something like:
"material-icon-theme.folders.customClones": [
{
"name": "my_inheriting_folder",
"base": "src",
"color": "orange",
"lightColor": "orange",
"colorInheritance": ["folder1/*"],
// or
"colorInheritance": ["folder1/**"],
"folderNames": ["folder1"],
"rootFolderNames": ["folder1"]
},
]
and all folders child of that name would inherit the color.
Icons don't have context of their parents or children