Best practice for custom Bootstrap asset?

Hi folks,

I want to override the default Bootstrap color setup. What is the best way to do this?



  1. Create your own asset bundle depending on bootstrap’s bundle including custom CSS.

  2. Override values you need in that CSS.

  3. Register your new bundle.


What I ended up doing was taking a copy of the bootstrap files into a separate directory and modifying the core bootstrap CSS in there then compiling the LESSC in PHPStorm.