I was actually taking a look at those. But while I was able to remove items from the theme files list, they still managed to get loaded - I'm guessing another module, or a later part of the core, is also loading those files after me. The list from CommonFiles just appears to be empty though.
One thing I noticed though, is that the getCSSFiles() function has this in the comment above it:
Code:
The best practice is to merge LESS resources with 'bootstrap/css/bootstrap.less' file
Which the function then proceeds to do:
Code:
public function getCSSFiles()
{
return array(
array(
'file' => 'css/style.less',
'media' => 'screen',
// We use the bootstrap LESS instructions
'merge' => 'bootstrap/css/bootstrap.less',
),
);
}
Now, I'm not really sure how merge is implemented, but I suspect that if other modules are doing this, they probably cause the system to load the content of the merge file even if it wasn't previously loaded. And since that file is Bootstrap... sigh.