Hacker News new | ask | show | jobs
by deservingend 4862 days ago
What's always surprised me is people taking the compiled CSS and working directly off of that.

I thought the whole point was that since it's LESS, you can change things up really easily.

3 comments

Agreed. Most of the time you end up with a smaller file as it's easier to comment out the various modules as you're going as opposed to downloading customized builds from the website as you work.

Also, if Sass/Compass is more your cup of tea, there's a well-maintained port of Bootstrap[0].

[0]: https://github.com/jlong/sass-twitter-bootstrap

Because sometimes LESS is more (learning curve)
Easy until you try to upgrade.
It makes the upgrade process easier if you stick to only making changes in their variables.less file[0], or even better creating a copy of it and including that instead in bootstrap.less. Heck, you can even just create your own top-level myproject.less file and copy over the includes you need using bootstrap.less[1] as a template.

[0]: https://github.com/twitter/bootstrap/blob/master/less/variab...

[1]: https://github.com/twitter/bootstrap/blob/master/less/bootst...

Just import bootstrap.less into your own project's main less file and go from there.