2 Commits (isekai-main)

Author SHA1 Message Date
Opliko ac4623ee6d
fix: copy FA fonts to build directory instead of serving them directly (#11891)
resolves issues when proxies don't fall back to NodeBB for assets
1 year ago
Opliko b709ed9e63
feat: move to npm fontawesome dependency and support fa pro (#11820)
* feat: move to npm fontawesome dependency

* feat: move shims to a separate file

* fix: thin style prefix

* feat: proper style and FA pro handling in icon selector

* docs: add fontawesome properties to openAPI

* fix: default for styles

* feat: select all styles by default

Turns out browsers lazy-load fonts.
So since the actual CSS for each style is small, there is no perf reason for defaulting to free styles for FA pro users.
This means they'll have to only change one setting.

Still, the option to select styles remains for those who want it.

* fix: remove console.log
1 year ago