(I don't know if this is a problem of Omega or Less module, so feel free to move this issue)
Trying to use alpha grid CSS files with Less failed when CSS aggregation is enabled.
To reproduce:
1. Download and install Less 7.x-2.5, lessphp 0.3.4-2 and Omega 3.1.
2. Create a Omega subtheme.
3. Rename the themename-alpha-default.css to themename-alpha-default.css.less and clear the cache.
4. Put the following content at the file:
@color: red;
body {
background: @color;
}
Expected behavior: You should see the page with the red background whenever the CSS aggregation is enabled of not.
Actual behavior: You only see the red background when CSS aggregation is disabled. If it's enabled, the less code is not processed.
The attached file contains a complete Drupal installation (SQLite db included) where you can see the bug. The root user/password is admin/less-omega-bug.
Comments
Comment #1
danillonunes commentedI can't upload the tar.gz with the bug because the file is too big :(
Anyway, I think the instructions are very clear.
Comment #2
deciphered commentedRefer to http://drupal.org/node/1627478#comment-6679412, code will need a few alterations for LESS, but the premise should work.
Comment #3
danillonunes commentedBut... but... but... my issue is older! Why nobody commented here? :(
Marking as duplicate from #1627478: CSS preprocessor order conflict anyway.