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

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

Open
MarineMarin opened this issue Jan 10, 2022 · 0 comments

Comments

@MarineMarin
Copy link

Describe the bug
There is now a deprecation warning when compiling material-design-iconic-font 2.2.0 with the latest version of SASS Dart.
Here's the message :

Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(30em, 14) or calc(30em / 14)
More info and automated migrator: https://sass-lang.com/d/slash-div
    │ $zmdi-li-width:       (30em / 14) !default;
    │                                 ^^^^^^^
    node_modules\material-design-iconic-font\scss\_variables.scss 12:24                 @import
    node_modules\material-design-iconic-font\scss\material-design-iconic-font.scss 6:9  @import

To Reproduce
Compile SASS with the latest version of Dart SASS.

Expected behavior
No deprecated warnings.

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

No branches or pull requests

1 participant