I've come across with some strange behaviour regarding to the load order of the less files and the use of themes.
The documentation says about file priority
http://www.t3-framework.org/documentation/extend-com-content#isolate-template
This is the priority to use a file:
local folder: {root}/templates/{template-name}/local
template folder: {root}/templates/{template-name}
base theme folder in T3 Framework plugin: {root}/plugins/system/t3/base (bootstrap 2) or {root}/plugins/system/t3/base-bs3 (bootstrap 3)
I have the following files:
{root}/templates/{template}/less/template.less
{root}/templates/{template}/local/template.less
{root}/templates/{template}/local/themes/{theme}template.less
And this is the order they are being loaded:
<link rel="stylesheet" href="/vbw/vbw-assets/dev/vbw-default/templates.template.local.less.template.less.css" type="text/css" />
<link rel="stylesheet" href="/vbw/vbw-assets/dev/vbw-default/templates.template.local.less.themes.vbw-default.template.less.css" type="text/css" />
<link rel="stylesheet" href="/vbw/vbw-assets/dev/vbw-default/templates.template.less.template.less.css" type="text/css" />
As you can see, the order is somehow not the one that one would expect as the line #3 should be loaded first as that's the case with for example the core.less file
<link rel="stylesheet" href="/vbw/vbw-assets/dev/vbw-default/templates.template.less.core.less.css" type="text/css" />
<link rel="stylesheet" href="/vbw/vbw-assets/dev/vbw-default/templates.template.local.less.core.less.css" type="text/css" />
<link rel="stylesheet" href="/vbw/vbw-assets/dev/vbw-default/templates.template.local.less.themes.vbw-default.core.less.css" type="text/css" />
Is this a bug or am I missing something?
Thanks for your time