ituob / ituob.github.io

Searchable ITU OB web view, generated from itu-ob-data
2 stars 2 forks source link

Handle SASS deprecation warnings #63

Open ronaldtse opened 1 year ago

ronaldtse commented 1 year ago
DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($logoSide, 5) or calc($logoSide / 5)
More info and automated migrator: https://sass-lang.com/d/slash-div
   ╷
11 │ $logoTextOffset: $logoSide / 5;
   │                  ^^^^^^^^^^^^^
   ╵
    /home/runner/work/ituob.org/ituob.org/assets/css/style.scss 11:18  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($logoTextOffset, 2) or calc($logoTextOffset / 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
   ╷
12 │ $borderRadius: $logoTextOffset / 2;
   │                ^^^^^^^^^^^^^^^^^^^
   ╵
    /home/runner/work/ituob.org/ituob.org/assets/css/style.scss 12:16  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($logoSide, 1.5) or calc($logoSide / 1.5)
More info and automated migrator: https://sass-lang.com/d/slash-div
   ╷
42 │     margin-left: -#{$logoSide / 1.5};
   │                     ^^^^^^^^^^^^^^^
   ╵
    main.scss 42:21                                                   @import
    /home/runner/work/ituob.org/ituob.org/assets/css/style.scss 17: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($logoSide, 1.5) or calc($logoSide / 1.5)
More info and automated migrator: https://sass-lang.com/d/slash-div
   ╷
80 │     height: $logoSide / 1.5;
   │             ^^^^^^^^^^^^^^^
   ╵
    main.scss 80:13                                                   @import
    /home/runner/work/ituob.org/ituob.org/assets/css/style.scss 17: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($logoSide, 1.5) or calc($logoSide / 1.5)
More info and automated migrator: https://sass-lang.com/d/slash-div
   ╷
79 │     width: $logoSide / 1.5;
   │            ^^^^^^^^^^^^^^^
   ╵
    main.scss 79:12                                                   @import
    /home/runner/work/ituob.org/ituob.org/assets/css/style.scss 17:9  root stylesheet
WARNING: 3 repetitive deprecation warnings omitted.
Run in verbose mode to see all warnings.