Skip to content

Update to Fontawesome 6

Emiel Wiedijk requested to merge fontawesome6 into master

Fontawesome 6 includes a fix for the deprecated usage of the / operator in SASS. This avoids warnings like

    Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

    Recommendation: math.div(3em, 4) or calc(3em / 4)

    More info and automated migrator: https://sass-lang.com/d/slash-div


    7 │   line-height: (3em / 4);
    │                 ^^^^^^^

        node_modules/@fortawesome/fontawesome-free/scss/_larger.scss 7:17     @import
        node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss 8:9  @import
        frontend/assets/scss/_typography.scss 2:9                             @import
        frontend/assets/scss/app.scss 5:9                                     root stylesheet

Although this is a major version bump, it should stay backwards compatible according to https://fontawesome.com/v6/docs/web/setup/upgrade/whats-changed#backward-compatibility.

Merge request reports