Add dependency for less as well as reference to bootstrap less files#1
Add dependency for less as well as reference to bootstrap less files#1tylergannon wants to merge 2 commits intometeorbelt:masterfrom tylergannon:master
Conversation
|
Also, the submodule was out of date. I updated it to use the 3.0.0-wip branch so that it should stay current until release. |
|
Hey Tyler I still need to create documentation, but the way that I'm use belt-bootstrap is more like this:
// Contents of bootstrap.less with the import path modified to point to belt-bootstrap
@import "variables.less"; // Modify this for custom colors, font-sizes, etc
@import "/packages/belt-bootstrap/bootstrap/less/mixins.less";
// ... remaining imports
// Contents of variables.less
@grayDarker: #222;
@grayDark: #333;
// ... remaining variablesI have added the less package to my project, therefore, Meteor will compile the contents of This also allows me to use bootstrap mixins like: @import "/packages/belt-bootstrap/bootstrap/less/mixins.less";
@import "variables";
.btn-callout {
color: #fff;
.btn-pseudo-states(@red-color, @red-color);
}I hope that helps -- I'm working on an example project that will help clarify the usage. but it will be a little while before it's released. P.S. I'm using Meteor 0.6.x so I've place the Kyle |
Hi~ I installed your smart package and found it wasn't loading the less files. This revision succeeds.
using meteor/master.
cheers!
Tyler