How to reference Bootstrap variables in twbs:bootstrap?


#1

I know as of Meteor 1.2, we can now @import CSS files from within packages, yet I can’t seem to get this working with twbs:bootstrap. I’ve tried:

@import "{twbs:bootstrap}/less/variables.less";

I’ve also tried a few variations, removing the less folder, etc. Nothing seems to work. What am I missing?


#2

I think that there are no Less files added : https://github.com/twbs/bootstrap/blob/master/package.js and this is the case. Try some other Bootstrap package with Less.


#3

I suppose it’s no biggie since I’m using Sass anyway. I’ll wait till Bootstrap 4 is out, then I’ll do a pull request and fix package.js so it includes variables and other files people might want to reference.