bulma icon indicating copy to clipboard operation
bulma copied to clipboard

Node Sass and Ruby Sass are deprecated. Long live Dart Sass.

Open xpe opened this issue 1 year ago • 4 comments

Going forward, it would seem wise to stop recommending non-Dart Sass in the Bulma documentation?...

Ruby Sass was the original implementation of Sass, but it reached its end of life as of 26 March 2019. It’s no longer supported, and Ruby Sass users should migrate to another implementation. -- https://sass-lang.com/ruby-sass/

Warning: LibSass and Node Sass are deprecated. While they will continue to receive maintenance releases indefinitely, there are no plans to add additional features or compatibility with any new CSS or Sass features. Projects that still use it should move onto Dart Sass. -- https://www.npmjs.com/package/node-sass

xpe avatar Aug 23 '23 11:08 xpe

Yes, I was going to ask the same question, just wanted to check what is bulma and is it valuable for my project. There are a lot of red flags on the documentation page. Imports should not be used in recent versions of sass. Like this is from at least 2 years ago. Node sass and ruby sass are deprecated, stop suggesting it. Sass is the new and maintained library. There are plenty of changes around the colour functions and others.

talamaska avatar Sep 18 '23 15:09 talamaska

Stumbled upon this issue when I also was trying bulma for the relaunch of my project as a bootstrap alternative. Imported the npm package and imported the.sass file into my scss file. But the console threw several errors out (using latest dart sass). Any idea when the new bulma release will be there? Will it work with dart sass?

dercheffe avatar Jan 07 '24 00:01 dercheffe

I am using the current release (0.9.4) with my project without problems.

// from https://github.com/suterma/replayer-pwa/blob/main/package.json
"devDependencies": {
    //...
    "sass": "^1.50.0",
    "sass-loader": "^10.2.1",

I can overwrite and compile variables as expected.

suterma avatar Jan 09 '24 10:01 suterma

thanks for testing 🙂. Well, AFAIK the 1.50 version is no more up to date (see https://github.com/sass/dart-sass/releases/tag/1.69.7). Maybe there are other compiling warnings now.

I also hope, that bulma will switch from the origin sass syntax to the now common scss syntax.

dercheffe avatar Jan 09 '24 18:01 dercheffe