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

Use @fortawesome/fontawesome-free npm package #8256

Merged
merged 1 commit into from
Mar 30, 2020

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Mar 30, 2020

The official npm package for Font Awesome Free is now used instead of the vendored styles. Previously we had been using v4.4.0, now we're using v5.13.0.

We're now importing the Font Awesome SCSS modules instead of using the minified CSS bundle. This integrates more cleanly into our build system, and it lets us use their mixins directly in the future if we need to.

The variable fa-font-path has been set to reference our font directory, as instructed here:
https://fontawesome.com/how-to-use/on-the-web/using-with/sass#compile

@Gudahtt Gudahtt requested review from whymarrh and danjm March 30, 2020 22:25
@Gudahtt Gudahtt force-pushed the use-font-awesome-free-package branch from d116c49 to b55bc5c Compare March 30, 2020 22:32
The official npm package for Font Awesome Free is now used instead of
the vendored styles. Previously we had been using v4.4.0, now we're
using v5.13.0.

We're now importing the Font Awesome SCSS modules instead of using the
minified CSS bundle. This integrates more cleanly into our build
system, and it lets us use their mixins directly in the future if we
need to.

The variable `fa-font-path` has been set to reference our font
directory, as instructed here:
https://fontawesome.com/how-to-use/on-the-web/using-with/sass#compile
@Gudahtt Gudahtt force-pushed the use-font-awesome-free-package branch from b55bc5c to db7f4ba Compare March 30, 2020 22:45
@Gudahtt Gudahtt changed the base branch from use-main-styles-for-phishing-page to develop March 30, 2020 22:45
@Gudahtt Gudahtt marked this pull request as ready for review March 30, 2020 22:45
@Gudahtt Gudahtt requested a review from jennypollack as a code owner March 30, 2020 22:45
Copy link
Contributor

@whymarrh whymarrh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Gudahtt Gudahtt merged commit b30a352 into develop Mar 30, 2020
@Gudahtt Gudahtt deleted the use-font-awesome-free-package branch March 30, 2020 23:05
Gudahtt added a commit that referenced this pull request Jun 12, 2020
Editing the name of an account was accidentally made impossible when
FontAwesome was updated in #8256, because the icon we used to use for
the edit button (`fa fa-pencil`) was no longer free. The icon has been
switched to `fas fa-pencil-alt`, which is free.
Gudahtt added a commit that referenced this pull request Jun 13, 2020
Editing the name of an account was accidentally made impossible when
FontAwesome was updated in #8256, because the icon we used to use for
the edit button (`fa fa-pencil`) was no longer free. The icon has been
switched to `fas fa-pencil-alt`, which is free.
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.

2 participants