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 - migrate division #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

gbmeow
Copy link

@gbmeow gbmeow commented Oct 22, 2022

sass-migrator division **/*.scss

In order to address:

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

Recommendation: math.div($si-default-marker-height, 2) or calc($si-default-marker-height / 2)

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

   ╷
72 │     margin-top: $si-default-marker-height / 2 - $si-default-marker-anchor-y;
   │                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    node_modules/snazzy-info-window/dist/snazzy-info-window.scss 72:17  @import
    styles/main.scss 105: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($si-default-marker-height, 2) or calc($si-default-marker-height / 2)

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

   ╷
80 │     margin-top: $si-default-marker-height / 2 - $si-default-marker-anchor-y;
   │                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    node_modules/snazzy-info-window/dist/snazzy-info-window.scss 80:17  @import
    styles/main.scss 105:9                                              root stylesheet

sass-migrator division **/*.scss
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 this pull request may close these issues.

1 participant