Giter Club home page Giter Club logo

Comments (6)

gonzoknows avatar gonzoknows commented on June 14, 2024

Getting a similar issue except mine deploys

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

Recommendation: math.div($spacer, 2) or calc($spacer / 2)

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

302 │ $headings-margin-bottom: $spacer / 2 !default;
│ ^^^^^^^^^^^

/home/thinkpad/jekyll-serif-theme-master/_sass/bootstrap/_variables.scss 302:31 @import
bootstrap/bootstrap-reboot.scss 10:9 @import
/home/thinkpad/jekyll-serif-theme-master/assets/css/style.scss 28: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($input-padding-y, 2) or calc($input-padding-y / 2)

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

498 │ $input-height-inner-quarter: add($input-line-height * .25em, $input-padding-y / 2) !default;
│ ^^^^^^^^^^^^^^^^^^^^

/home/thinkpad/jekyll-serif-theme-master/_sass/bootstrap/_variables.scss 498:73 @import
bootstrap/bootstrap-reboot.scss 10:9 @import
/home/thinkpad/jekyll-serif-theme-master/assets/css/style.scss 28: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($custom-control-indicator-size, 2) or calc($custom-control-indicator-size / 2)

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

568 │ $custom-switch-indicator-border-radius: $custom-control-indicator-size / 2 !default;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/home/thinkpad/jekyll-serif-theme-master/_sass/bootstrap/_variables.scss 568:49 @import
bootstrap/bootstrap-reboot.scss 10:9 @import
/home/thinkpad/jekyll-serif-theme-master/assets/css/style.scss 28: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($spacer, 2) or calc($spacer / 2)

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

713 │ $nav-divider-margin-y: $spacer / 2 !default;
│ ^^^^^^^^^^^

/home/thinkpad/jekyll-serif-theme-master/_sass/bootstrap/_variables.scss 713:37 @import
bootstrap/bootstrap-reboot.scss 10:9 @import
/home/thinkpad/jekyll-serif-theme-master/assets/css/style.scss 28: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($spacer, 2) or calc($spacer / 2)

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

718 │ $navbar-padding-y: $spacer / 2 !default;
│ ^^^^^^^^^^^

/home/thinkpad/jekyll-serif-theme-master/_sass/bootstrap/_variables.scss 718:37 @import
bootstrap/bootstrap-reboot.scss 10:9 @import
/home/thinkpad/jekyll-serif-theme-master/assets/css/style.scss 28:9 root stylesheet
Warning: 22 repetitive deprecation warnings omitted.
Run in verbose mode to see all warnings.
`

from jekyll-serif-theme.

fabriciosb avatar fabriciosb commented on June 14, 2024

I had those warnings as well, but the site was built.

Yet, one can solve it runing:

$ npm install -g sass-migrator
$ sass-migrator division ./_sass/*.scss

at the jekyll site base directory. Now I can build without warnings.

It seems the deprecated files are from bootstrap/vendor/, so maybe another solution would be to update the bootstrap library (but I have not tried that).

More info about this at: https://sass-lang.com/documentation/breaking-changes/slash-div/

from jekyll-serif-theme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.