Nemo64 / meteor-bootstrap

Highly configurable bootstrap integration for meteor.
https://atmospherejs.com/nemo64/bootstrap
167 stars 27 forks source link

generate custom.bootstrap.import.less instead of custom.bootstrap.less #29

Open Kikobeats opened 9 years ago

Kikobeats commented 9 years ago

hey man, I found this repository very useful. However, I need to import some other code.

What is your opinion about add a flag as generateInclude to determinate the export mode?

something as:

{
"generateInclude": true,
"modules": {..} 
}
Nemo64 commented 9 years ago

What do you need to import? There is already a custom.bootstrap.import.less which contains all variables and mixins.

Kikobeats commented 9 years ago

For example for use bootstap themes (bootswatch):

// Mixins
@import "mixins/bootstrap.mixins.import.less";
@import "mixins/images.mixins.import.less";

// Modules
@import "modules/constants.import.less";
@import "modules/spaces.import.less";
@import "modules/fonts.import.less";

// Theme
@import "vendor/custom.bootstrap.import.less";
@import "themes/lumen.variables.import.less";
@import "themes/lumen.bootswatch.import.less";

// Components
@import "components/header.import.less";

I renamed into custom.bootstrap.import.less because I have to control that is loaded before the themes