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

fix deprecated sass #336

Closed
cleydyr opened this issue Jun 20, 2022 · 0 comments · Fixed by #344
Closed

fix deprecated sass #336

cleydyr opened this issue Jun 20, 2022 · 0 comments · Fixed by #344

Comments

@cleydyr
Copy link
Owner

cleydyr commented Jun 20, 2022

The following warnings appear in the log:

[INFO] --- dart-sass-maven-plugin:0.3.0:compile-sass (default) @ biblivre ---
Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(-$content-width, 2) or calc(-$content-width / 2)

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

    ╷
235 │     margin-left: - $content-width / 2;
    │                  ^^^^^^^^^^^^^^^^^^^^
    ╵
    src/main/sass/interface/_menu.scss 235:15  @import
    src/main/sass/biblivre.core.scss 32:9      root stylesheet

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

Recommendation: math.div(-$content-width, 2) or calc(-$content-width / 2)

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

    ╷
279 │     margin-left: - $content-width / 2;
    │                  ^^^^^^^^^^^^^^^^^^^^
    ╵
    src/main/sass/interface/_menu.scss 279:15  @import
    src/main/sass/biblivre.core.scss 32:9      root stylesheet
@cleydyr cleydyr mentioned this issue Jul 17, 2022
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 a pull request may close this issue.

1 participant