Create flavors not themes with bootstrap! This package will allow you to create a SINGLE css and to organize your styles while taking advantage of bootstrap's styles. For a more in-depth documentation and an example this project's test folder. This project bundles packages that work out this idea, the same could be done without this package but requires more configuration.
Bootstrap v4 found here
This plugin requires Grunt
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install flavorstrap --save-dev
In your project's Gruntfile, add a section named
flavorstrap to the data object passed into
Run this task with the
grunt flavorstrap command.
Create a scss file with your scss files to extend or overeride bootstrap's css.
@import "override.scss";@import "bootstrap.scss";@import "extend.scss";
This field is recommended for using with a watch task, rather than run through all the steps during development.
This will print out all the steps for each modified css, for example the purged version and etc.
This will include paths for the sass compiler.
You can use this project to group all your style development, having just a single grunt project with seperate flavor folders. Better documentation coming soon...
Lint and test your code using the Grunt task.
Copyright (c) 2015 Anthony Fassett. Licensed under the GPL-3.0.