Overriding Bootstrap variables without touching Bower
问题 How can I override the Bootstrap variables if I don't want to touch the Bower files? I am using Yo, Grunt, and Bower. For yo, I am using cg-angular. My app.less looks like this: @import "bower_components/bootstrap/less/bootstrap.less"; @import "bower_components/font-awesome/less/font-awesome.less"; @fa-font-path: "bower_components/font-awesome/fonts"; .... 回答1: Instead of including all bootstrap.less , copy his content to your app.less and import your own variables.less after bootsrap vars,