icons8 / line-awesome

Replace Font Awesome with modern line icons
https://icons8.com/line-awesome
Other
1.25k stars 141 forks source link

Division deprecation warning #84

Closed crenes closed 1 year ago

crenes commented 2 years ago

In Dart Sass 2.0.0, using / for division is deprecated and will be removed.

It has to be replaced with math.div().

tiramiseb commented 2 years ago

Same warning encontered here.

The deprecation warning says:

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(20em, 14)

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

  ╷
7 │ $la-li-width: (20em / 14) !default;
  │                ^^^^^^^^^
  ╵
    node_modules/line-awesome/dist/line-awesome/scss/_variables.scss 7:16   @import
    node_modules/line-awesome/dist/line-awesome/scss/line-awesome.scss 3:9  @import
    src/main.scss 24:9                                                      root stylesheet

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(4em, 14)

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

   ╷
17 │     left: -$la-li-width + (4em / 14);
   │                            ^^^^^^^^
   ╵
    node_modules/line-awesome/dist/line-awesome/scss/_list.scss 17:28       @import
    node_modules/line-awesome/dist/line-awesome/scss/line-awesome.scss 7:9  @import
    src/main.scss 24:9                                                      root stylesheet
Stichoza commented 1 year ago

This package was last updated on npm 3 years ago, would be cool if you could push a new tag to make this changes available on npm 🙌🏼