jekyll/minima

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

jiapei100 opened this issue · 2 comments

Looks like there is a potential bug against the newer version of sass ???

✗ jekyll serve
Configuration file: ....../minima/_config.yml
            Source: ....../minima
       Destination: ....../minima/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
       Jekyll Feed: Generating feed for posts
Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($spacing-unit, 2) or calc($spacing-unit / 2)

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


40 │   margin-bottom: $spacing-unit / 2;
   │                  ^^^^^^^^^^^^^^^^^

    ../../../../minima-2.5.1/_sass/minima/_base.scss 40:18                                     @import
    minima.scss 48:3                                                                           @import
    ....../minima/assets/main.scss 1: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($spacing-unit, 2) or calc($spacing-unit / 2)

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


134 │   padding-left: $spacing-unit / 2;
    │                 ^^^^^^^^^^^^^^^^^

    ../../../../minima-2.5.1/_sass/minima/_base.scss 134:17                                    @import
    minima.scss 48:3                                                                           @import
    ....../minima/assets/main.scss 1: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($spacing-unit, 2) or calc($spacing-unit / 2)

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


189 │     padding-right: $spacing-unit / 2;
    │                    ^^^^^^^^^^^^^^^^^

    ../../../../minima-2.5.1/_sass/minima/_base.scss 189:20                                    @content
    minima.scss 38:5                                                                           media-query()
    ../../../../minima-2.5.1/_sass/minima/_base.scss 186:3                                     @import
    minima.scss 48:3                                                                           @import
    ....../minima/assets/main.scss 1: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($spacing-unit, 2) or calc($spacing-unit / 2)

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


190 │     padding-left: $spacing-unit / 2;
    │                   ^^^^^^^^^^^^^^^^^

    ../../../../minima-2.5.1/_sass/minima/_base.scss 190:19                                    @content
    minima.scss 38:5                                                                           media-query()
    ../../../../minima-2.5.1/_sass/minima/_base.scss 186:3                                     @import
    minima.scss 48:3                                                                           @import
    ....../minima/assets/main.scss 1: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($spacing-unit, 3) or calc($spacing-unit / 3)

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


244 │     padding: ($spacing-unit / 3) ($spacing-unit / 2);
    │               ^^^^^^^^^^^^^^^^^

    ../../../../minima-2.5.1/_sass/minima/_base.scss 244:15                                    @import
    minima.scss 48:3                                                                           @import
    ....../minima/assets/main.scss 1:9  root stylesheet
Warning: 6 repetitive deprecation warnings omitted.
Run in verbose mode to see all warnings.
          Conflict: The following destination is shared by multiple files.
                    The written file may end up with unexpected contents.
                    ....../minima/_site/assets/minima-social-icons.svg
                     - assets/minima-social-icons.liquid
                     - ~/gems/gems/minima-2.5.1/assets/minima-social-icons.svg
                    
                    done in 0.144 seconds.
 Auto-regeneration: enabled for '....../minima'
    Server address: http://127.0.0.1:4000
  Server running... press ctrl-c to stop.
[1]  + 72384 done       gedit _sass/minima/initialize.scss
...

Please help to fix that? Thank you ...

Appears to be a duplicate of #709, where a couple of workarounds are described.

mattr- commented

Duplicate of #709