Astroid supports Joomla standard plugin events that let’s you customize and styles and scripts to the Astroid backend using the plugin, without having to modify the Astroid core code.
You can create a Astroid or System type plugin and the following events are supported.
AstroidFramework::addStyleSheet(); // to add css link AstroidFramework::addStyleDeclaration(); // to add css script AstroidFramework::addScript(); // to add js file in head AstroidFramework::addScript($js, "body"); // to add js file in body AstroidFramework::addScriptDeclaration(); // to add js script in head AstroidFramework::addScriptDeclaration($js, "body"); // to add js script in body
Download a custom plugin here to start customizing as you do.
You can browse the code online on github.