joshuajansen / bulma-rails

352 stars 46 forks source link

Address deprecation warnings from SASS breaking changes #64

Open benjaminoakes opened 2 months ago

benjaminoakes commented 2 months ago

We are currently seeing SASS errors such as:

DEPRECATION WARNING: blue() is deprecated. Suggestion:

       color.channel($color, "blue", $space: rgb)

       More info: https://sass-lang.com/d/color-functions

           ╷
       101 │     "blue": blue($color),
           │             ^^^^^^^^^^^^
           ╵
           vendor/bundle/ruby/3.3.0/gems/bulma-rails-1.0.2/app/assets/stylesheets/sass/utilities/functions.scss 101:13         bulmaColorLuminance()
           vendor/bundle/ruby/3.3.0/gems/bulma-rails-1.0.2/app/assets/stylesheets/sass/utilities/functions.scss 128:7          bulmaFindColorInvert()
           vendor/bundle/ruby/3.3.0/gems/bulma-rails-1.0.2/app/assets/stylesheets/sass/utilities/derived-variables.scss 16:15  @forward
           vendor/bundle/ruby/3.3.0/gems/bulma-rails-1.0.2/app/assets/stylesheets/sass/utilities/_index.scss 6:1               @forward
           vendor/bundle/ruby/3.3.0/gems/bulma-rails-1.0.2/app/assets/stylesheets/sass/_index.scss 1:1                         @use
           bulma.scss 4:1                                                                                                      @use
           app/assets/stylesheets/application.scss 1:1                                                                         root stylesheet    

It appears this is coming from an upstream breaking change in Sass, per https://github.com/jgthms/bulma/issues/3907.

stadniklksndr commented 2 months ago

We are waiting for the new release of Bulma that solves this deprecation.