Upgrades Fontawesome to v6, for this to work we have to drop importing the LESS files and instead import vanilla CSS files of fontawesome. I have found no issues with this apart from having to apply the assets fonts path by applying a replace on the final parsed CSS.
Necessity
[x] Has the problem that is being solved here been clearly explained?
[x] If applicable, have various options for solving this problem been considered?
[x] For core PRs, does this need to be in core, or could it be in an extension?
[x] Are we willing to maintain this for years / potentially forever?
Confirmed
[x] Frontend changes: tested on a local Flarum installation.
[x] Backend changes: tests are green (run composer test).
[x] Core developer confirmed locally this works as intended.
[x] Tests have been added, or are not appropriate here.
Required changes:
[ ] Related documentation PR: (Remove if irrelevant)
[ ] Related core extension PRs: (Remove if irrelevant)
Changes proposed in this pull request:
fonts
path by applying a replace on the final parsed CSS.Necessity
Confirmed
composer test
).Required changes: