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

Dart Sass DEPRECATION WARNINGS #56

Open
toureholder opened this issue Sep 20, 2021 · 1 comment
Open

Dart Sass DEPRECATION WARNINGS #56

toureholder opened this issue Sep 20, 2021 · 1 comment

Comments

@toureholder
Copy link
Contributor

\ Compiling TypeScript sources through NGCDEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($content-gap, 2)

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

   ╷
38 │     padding: $content-gap / 2;
   │              ^^^^^^^^^^^^^^^^
   ╵
    projects\ng-syz\src\lib\login-with-carousel-flow\theme\_forms.scss 38:14       
                @import
    projects\ng-syz\src\lib\login-with-carousel-flow\login-with-carousel-flow.component.scss 11:9  root stylesheet

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

Recommendation: math.div($content-gap, 2)

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

    ╷
128 │   margin-top: $content-gap / 2;
    │               ^^^^^^^^^^^^^^^^
    ╵
    projects\ng-syz\src\lib\login-with-carousel-flow\theme\_forms.scss 128:15      
                @import
    projects\ng-syz\src\lib\login-with-carousel-flow\login-with-carousel-flow.component.scss 11:9  root stylesheet

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

Recommendation: math.div($mat-tooltip-target-height - $mat-tooltip-font-size, 2)   

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

     ╷
5978 │ $mat-tooltip-vertical-padding: ($mat-tooltip-target-height - $mat-tooltip-font-size) / 2;
     │                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     ╵
    node_modules\@angular\material\_theming.scss 5978:32
                @import
    projects\ng-syz\src\lib\login-with-carousel-flow\theme\styles.scss 4:9
                @import
    projects\ng-syz\src\lib\login-with-carousel-flow\login-with-carousel-flow.component.scss 16:9  root stylesheet

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

Recommendation: math.div($mat-tooltip-handset-target-height - $mat-tooltip-handset-font-size, 2)

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

     ╷
5983 │     ($mat-tooltip-handset-target-height - $mat-tooltip-handset-font-size) / 
2;
     │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     ╵
    node_modules\@angular\material\_theming.scss 5983:5
                @import
    projects\ng-syz\src\lib\login-with-carousel-flow\theme\styles.scss 4:9
                @import
    projects\ng-syz\src\lib\login-with-carousel-flow\login-with-carousel-flow.component.scss 16:9  root stylesheet

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

Recommendation: math.div($content-gap, 2)

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

    ╷
135 │               padding: $content-gap / 2 $content-gap;
    │                        ^^^^^^^^^^^^^^^^
    ╵
    projects\ng-syz\src\lib\login-with-carousel-flow\login-with-carousel-flow.component.scss 135:24  root stylesheet
@toureholder
Copy link
Contributor Author

toureholder commented Sep 28, 2021

ng update @angular/material pode resolver

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