Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another attempt at updating FontAwesome to version 5 #1423

Closed
wants to merge 10 commits into from

Conversation

noarchwastaken
Copy link

This is based on #1225 .

But the original PR is incompatible with v4 icon namings, some older icons would still not work.

With the v4-shims[.min].css provided by Font Awesome, that problem was solved; but some icons are replaced with the solid style instead of Regular, which was used by FA4.

To sum it up, there are currently three problems of migrating to FontAwesome 5:

  • font-awesome.css to all.css naming
    • breaks existing index.hbs
  • v4-shims not preserving style correctly
  • the solution of v4-shims itself
    • not good for long runs, since FA6 is coming out

rubenmoor and others added 9 commits January 4, 2021 01:40
Thanks to Kamil Vavra for responsibly disclosing the vulnerability
according to Rust's Security Policy.
First, there is an official way to include all available FontAwesome
fonts by using all.css

Second, the previous attempt at updating to FontAwesome 5 missed the
regular version
That was not entirely the original PR author @rubenmoor 's fault though,
because FA's docs regarding the partially available Regular style are
unclear.
upstream 0.4.5: fix XSS in search
@noarchwastaken noarchwastaken marked this pull request as draft January 5, 2021 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants