Is it possible for a UI-theme to detect what icon package the user has enabled?


I ask because in my experience, the sizing of the icons of some of the most popular file-icon packages seem to appear vastly different on the same UI-theme. So I was curious if anyone knows of anyway to detect the icon package being used, in order to somewhat normalize the icon sizes within the tree-view and tabs?



It’s possible, but it’s not a great idea to have a package respond to other packages that aren’t part of its dependencies. If you have specific needs regarding a file icon package, it’s easy to make case-by-case adjustments in styles.less.