I am working on a project that is using HMVC stucture for my codeigniter project and using an assets and template library to handle different assets and templates and themes. Its the libraries from PyroCMS. As of right now I'm hardcoding my values in as since.
I do have a little bit of a difference between my file structure and that of PyroCMS as they have a folder inside their system folder for that houses all of their application files.
Asset::add_path('theme', APPPATH . 'themes/mythem/assets/');
Asset::set_path('theme');
When I echo out the asset for my page for the current theme I'm using it shows up as
http://dev.mysite.com/application/themes/mytheme/assets/css/bootstrap/bootstrap.css
application/
themes/
mytheme/
assets/
css/
whatever.css
assets/
cache/
system/
public_html/
index.php