twbs/bootstrap-rubygem

Sass ABS deprecation warning for bootstrap-rubygem v 5.3.1

ccasabona opened this issue · 1 comments

A recent update of the sass-embedded gem causes a deprecation warning when compiling assets:

DEPRECATION WARNING: Passing percentage units to the global abs() function is deprecated.
12:40:48 css.1   | In the future, this will emit a CSS abs() function to be resolved by the browser.
12:40:48 css.1   | To preserve current behavior: math.abs(100%)
12:40:48 css.1   | To emit a CSS abs() now: abs(#{100%})
12:40:48 css.1   | More info: https://sass-lang.com/d/abs-percent
12:40:48 css.1   | 
12:40:48 css.1   |    ╷
12:40:48 css.1   | 57 │   $dividend: abs($dividend);
12:40:48 css.1   |    │              ^^^^^^^^^^^^^^
12:40:48 css.1   |    ╵
12:40:48 css.1   |     ../../../.rvm/gems/ruby-3.2.2@ruby3rails7/gems/bootstrap-5.3.1/assets/stylesheets/bootstrap/vendor/_rfs.scss 57:14         divide()
12:40:48 css.1   |     ../../../.rvm/gems/ruby-3.2.2@ruby3rails7/gems/bootstrap-5.3.1/assets/stylesheets/bootstrap/mixins/_grid.scss 59:12        row-cols()
12:40:48 css.1   |     ../../../.rvm/gems/ruby-3.2.2@ruby3rails7/gems/bootstrap-5.3.1/assets/stylesheets/bootstrap/mixins/_grid.scss 85:13        @content
12:40:48 css.1   |     ../../../.rvm/gems/ruby-3.2.2@ruby3rails7/gems/bootstrap-5.3.1/assets/stylesheets/bootstrap/mixins/_breakpoints.scss 68:5  media-breakpoint-up()
12:40:48 css.1   |     ../../../.rvm/gems/ruby-3.2.2@ruby3rails7/gems/bootstrap-5.3.1/assets/stylesheets/bootstrap/mixins/_grid.scss 72:5         make-grid-columns()
12:40:48 css.1   |     ../../../.rvm/gems/ruby-3.2.2@ruby3rails7/gems/bootstrap-5.3.1/assets/stylesheets/bootstrap/_grid.scss 38:3                @import
12:40:48 css.1   |     _bootstrap.scss 20:9                                                                                                       @use
12:40:48 css.1   |     app/assets/stylesheets/application.scss 60:1                                                                               root stylesheet

Ruby 3.2
Rails 7.0.7

I think this issue should be reported on the twbs/rfs repository, as it has nothing to do with the Bootstrap Ruby gem.