It works on Vaadin 18 ? Because I don't see any think in my website. TreeGr

Hello.
How can I change icons colors and add my own icons by extending FileTypeResolver?

FileTypeResolver.getIcon(..) method returns VaadinIcon, you can convert that to icon component using create() and use its API to set color. E.g.

FileTypeResolver.getIcon(file).create().setColor(color);

It works on Vaadin 18 ? Because I don’t see any think in my website.

I uploaded new version v3.0.0 to Directory, which is built for Vaadin 18 and newer. There is backwards compatibility breaking change in the framework due new DataView API and Filesystem DataProvider was impacted by that.

Thank you for your answers. Your add-on i very useful. Great job!