Created by: chrisseaton
At the moment I use Bootstrap by replacing bootstrap.less
with my own file, in order to include my own variables without modifying the Bootstrap source. However I then have to copy and paste the long list of includes into my own version of bootstrap.less
. I can't include bootstrap.less
directly because if I put my own variables before I include they get overridden by the defaults, and if I put it after they get ignored.
This PR moves those includes into bootstrap-include.less
. bootstrap.less
then simply includes variables.less
and bootstrap-include.less
.
My site's Less file then becomes
@import "lib/bootstrap/less/variables.less";
// my tweaks to variables...
@import "lib/bootstrap/less/bootstrap-include.less";
// my tweaks to other stuff...
Or am I using Bootstrap incorrectly?