The easiest way to customize Bootstrap through LESS is to customize its variables. To do this, you need to perform the following few modifications to your project:
main.lessand add the following line to import the new file:
You can now override Bootstrap variables easily by redeclaring them in
custom-variables.less, and Bootstrap will use the overridden values instead of the defaults when it is compiled into CSS.
custom-variables.lessand add the following line:
This will override the primary color in Bootstrap with the same greenish color that you used in the previous chapter. As you can see, ...