3 ms·
> As an example, changing values in bootstrap\variables.less will propagate to all the other dependent less stylesheets. You're better off actually creating a
by elithrar 13y ago
> As an example, changing values in bootstrap\variables.less will propagate to all the other dependent less stylesheets.
You're better off actually creating a new stylesheet (or sheets) and importing only the Bootstrap LESS files you want. As long as your file is last in the import list, anything you override (variables) will take precedence. This will also make your upgrade path smoother, as the upgrade won't overwrite any of your mods.
i.e.
@import "bower_components/bootstrap/less/variables.less";
@import "bower_components/bootstrap/less/mixins.less";
// Rest of Bootstrap here
@import "myappstylesheet.less";