inventree / inventree-app

InvenTree mobile app
https://docs.inventree.org/en/latest/app/app/
MIT License
60 stars 47 forks source link

Change from fontawesome to tabler icons #516

Closed SchrodingersGat closed 3 months ago

SchrodingersGat commented 3 months ago
wolflu05 commented 3 months ago

Thanks, that you started to implement this on the app too.

Do I read this correct, that currently only the tabler icons will be supported, and any custom icon packs provided by plugins will not, because the ti prefix is hardcoded and the already embedded tablet icons package is used then, and other icon packs will be just ignored?

Have you took a look how I implemented this in PUI/CUI, where custom font files are loaded by the backend and then used for the icons?

Maybe this could help for flutter? https://medium.com/@suryajillellamudi/dynamically-load-custom-fonts-in-flutter-660c1b04258b

SchrodingersGat commented 3 months ago

@wolflu05 certainly we can look into supporting that, but it's not within the scope of this PR