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 #46

Open
mediter opened this issue Jan 7, 2023 · 1 comment

Comments

@mediter
Copy link

mediter commented Jan 7, 2023

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

Recommendation: math.div($max - $min, 1px) or calc(($max - $min) / 1px)

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

   ╷
28 │         font-size: calc(#{$min} + #{($max - $min)/1px} * ((100vw - 320px) / 960));
   │                                     ^^^^^^^^^^^^^^^^^
   ╵
    ../../../../texture-0.5/_sass/_begin.scss 28:31     fluidType()
    theme.scss 21:2                                     @import
@ruby3141
Copy link

I posted PR #48 to solve the issue.
Please check.

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

2 participants