For the FileIcons Mono variant, the color is currently incorporated in the PNG files, as defined in the https://github.com/braver/FileIcons/blob/mono/build/colors.json file used for building the PNGs. This means that it cannot be changed by users. And the enforced color might result in a poor contrast for 3rd-party themes.
This happens for example with my Brackets theme, if you look very closely, you can see that the icons are there and rendered correctly, but they are almost invisible, because I use almost the same color for the sidebar background:
I think there is a better way to apply the color for FileIcons Mono:
The PNGs must use pure white #ffffff
for the icon color, and then you can set the actual color via the texture tint
in the theme, i.e. in this case adjust the following line in all three provided theme files to "layer0.tint": "hsl(0, 0%, 50%)"
if you want to keep the same color
|
"layer0.tint": [255, 255, 255], |
This would allow users of third-party themes to adjust the color to what they like (or also set a different color for Default & Adaptive themes).
Actually I have not tested it, because I don't have Rust installed at the moment, but I'm pretty confident that it should work. If you want, I could test it and provide a PR if you agree.