chrisrhymes / bulma-clean-theme

A clean and modern Jekyll theme based on Bulma
http://www.csrhymes.com/bulma-clean-theme/
MIT License
383 stars 485 forks source link

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

Closed ebjornset closed 1 year ago

ebjornset commented 1 year ago

Hi,

I just tried to update jekyll from v 4.2.2 to 4.3.2. When I run bundle exec jekyll serve I now get the deprecation warning below.

I guess this should be addressed in a future version of the theme...

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

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

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

╷ 17 │ padding: ($gap / 2); │ ^^^^^^^^ ╵ ........\bulma-clean-theme-0.13.1\node_modules\bulma-block-list\src\block-list.scss 17:19 @import _main.scss 18:9 @import "

ebjornset commented 1 year ago

I finally got around to upgrade to 0.13.2, and the warning is gone, as expected. Thanks for the quick fix!