Skip to content

Sass ABS deprecation warning for bootstrap-rubygem v 5.3.1 #262

@ccasabona

Description

@ccasabona

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions