I want to use LESS CSS processing for theme development. Normally to implement LESS processor all you need to do is to add following lines to <head>
tag in your html
<link rel="stylesheet/less" type="text/css" href="styles.less" />
<script src="less.js" type="text/javascript"></script>
In Magento I tried to add following line to my local.xml file with no luck
<action method="addItem"><type>skin_css</type><name>css/custom.less</name></action>
This is so because LESS requires rel attribute to be rel="stylesheet/less"
, but magento obviously adds just rel="stylesheet"
with addItem method.
I also tried to overwrite rel tag with <param>rel="stylesheet/less"</param>
, but again with no result. Is there any workaround ? or any other solutions out there?
BTW. I did also find this this plugin, but this also did nothing.