News for hackers. Stuff that matters.
Re:Bootstrap 3.1 released by jcomis on Thursday January 30, 2014 @12:49PM (#7152044)
Official Sass port. That's pretty big news.
Re:Bootstrap 3.1 released by Trufa on Thursday January 30, 2014 @01:17PM (#7152304)
The main reason I chose LESS was because of bootstrap support, I'm extremely happy with it and can't believe I didn't start with it before.

I'll see how this port goes, but I've read some good stuff about SASS: http://css-tricks.com/sass-vs-less/

Any other points anyone can make for SASS against LESS?

Re:Bootstrap 3.1 released by riffraff on Thursday January 30, 2014 @02:34PM (#7152839)
I think since that article came out sass included a new very nice feature in the form of mixins[0].

Also, Compass[1] is awesome when working with sass, but I don't know if there is a less equivalent.

[0]http://sass-lang.com/guide#6

[1]http://compass-style.org/

Re:Bootstrap 3.1 released by lowboy on Friday January 31, 2014 @02:15AM (#7155723)
I used to be a proponent of Compass, but I started using Bourbon[0] and Neat[1] and enjoy them more. They don't require a project definition, nor do they provide a utility to compile Sass, they're just a mixin library. And that suits me.

[0] http://bourbon.io

[1] http://neat.bourbon.io

Re:Bootstrap 3.1 released by timdorr on Thursday January 30, 2014 @03:06PM (#7153014)
SASS is backed by Ruby, so you can take advantage of all of Ruby's power, including reading from the filesystem.

For instance, combined with Compass, you can read image sizes and automatically pull in width and height for a class. Or you can more easily make sprite images via a mixin that knows the size of the image and how many rows/columns you have.

I've been using bootstrap-sass since it was targeting bootstrap 2.3. They've done a great job of keeping up with bootstrap development, so it's great to see them officially supported. It wouldn't shock me at all if Bootstrap eventually moved over to SASS officially in the future.

Re:Bootstrap 3.1 released by WalterSear on Thursday January 30, 2014 @03:47PM (#7153253)
Actually, I moved away from Sass >because< of the Ruby tie in. Transpiling Sass to css using Ruby was using up most of my day. It's a dog!

Fortunately, now there is node-sass and it's grunt wrapper, making for vastly faster transpiling process.

https://github.com/andrew/node-sass

Re:Bootstrap 3.1 released by steveklabnik on Thursday January 30, 2014 @04:33PM (#7153494)
There's been work to re-write sass in C (or C++), preliminary reports showed it being 4,000x faster, IIRC.
Re:Bootstrap 3.1 released by zachlatta on Thursday January 30, 2014 @06:28PM (#7154125)
Re:Bootstrap 3.1 released by lowboy on Friday January 31, 2014 @02:02AM (#7155696)
+1 for libsass. I started using Gulp instead of Grunt for a project, and gulp-sass uses libsass. My compilation times are now sometimes sub-millisecond (albeit with only 500 lines of scss spread across 4-5 files).
Re:Bootstrap 3.1 released by glebm on Saturday February 01, 2014 @03:43AM (#7161211)
As of a few days ago it is complete enough to compile bootstrap-sass :) https://github.com/hcatlin/libsass/issues/231#issuecomment-3...
Re:Bootstrap 3.1 released by radq on Thursday January 30, 2014 @06:58PM (#7154272)
This benchmark suggests it's more on the order of 10x?

http://www.solitr.com/blog/2014/01/css-preprocessor-benchmar...

Re:Bootstrap 3.1 released by steveklabnik on Thursday January 30, 2014 @07:22PM (#7154387)
Neat! It was only partially ported when I last heard numbers, full support often slows things down quite a bit.
Re:Bootstrap 3.1 released by ChikkaChiChi on Thursday January 30, 2014 @12:58PM (#7152123)
At the expense of not Googling it on my own, can someone provide a quick rundown of why this is a big deal? What's the difference between Sass and LESS?
Re:Bootstrap 3.1 released by jcomis on Thursday January 30, 2014 @02:17PM (#7152742)
Preference really. But most of the front-enders I work with seem to prefer Sass for some reason and thus have been pretty dedicated to Foundation in the past. With this official port being introduced it makes bootstrap a more viable option to those who spend most of their time using Sass.
Re:Bootstrap 3.1 released by yock on Thursday January 30, 2014 @01:52PM (#7152563)
In addition to what has been said by others, the Rails asset pipeline supports Sass out of the box. Now Rails developers can use Bootstrap without bringing in third-party LESS support into Rails.
Re:Bootstrap 3.1 released by ihsw on Thursday January 30, 2014 @01:13PM (#7152258)
Official support from the Bootstrap team rather than third-party support. Sass and LESS releases will be hand-in-hand now rather than staggered.
Re:Bootstrap 3.1 released by ncavig on Thursday January 30, 2014 @01:02PM (#7152162)
Short answer; preference.
Re:Bootstrap 3.1 released by nawitus on Thursday January 30, 2014 @01:49PM (#7152538)
Using Bootstrap pretty much meant that you had to use LESS, now you can choose between Sass and LESS. The differences are not that big, though.
Re:Bootstrap 3.1 released by stana on Thursday January 30, 2014 @07:14PM (#7154347)
Seems to me Sass is preferred because of Compass tools.
Re:Bootstrap 3.1 released by hackerboos on Thursday January 30, 2014 @03:47PM (#7153252)
You can copy existing CSS into a SASS project using SCSS.
Re:Bootstrap 3.1 released by mctx on Thursday January 30, 2014 @06:20PM (#7154079)
Or use css2sass.heroku.com for SASS
Re:Bootstrap 3.1 released by qhoc on Thursday January 30, 2014 @01:45PM (#7152508)
Where does it say Sass support? I am not seeing it.
Re:Bootstrap 3.1 released by ceejayoz on Thursday January 30, 2014 @02:00PM (#7152623)
Re:Bootstrap 3.1 released by qhoc on Thursday January 30, 2014 @04:07PM (#7153366)
Oh I see. I have been using this https://github.com/jlong/sass-bootstrap
Re:Bootstrap 3.1 released by rschmitty on Thursday January 30, 2014 @01:59PM (#7152606)
It's on the homepage http://getbootstrap.com/
Re:Bootstrap 3.1 released by yzap on Thursday January 30, 2014 @02:14PM (#7152722)
Now only if there was an official Stylus port... One can dream, hehe. : )
Re:Bootstrap 3.1 released by adefa on Thursday January 30, 2014 @04:55PM (#7153585)
It's been around for a little bit: https://rubygems.org/gems/bootstrap-sass

I believe it's just Thomas McDonald's port made official.

Re:Bootstrap 3.1 released by pcorsaro on Thursday January 30, 2014 @01:00PM (#7152140)
The SASS port might be the thing that gets me to upgrade from 2.3 to 3 finally.