Tried to compile .less files of the sub-theme in 3 ways:
1. less Drupal module
2. WinLess
3. SimpLess

All of them are throwing errors on different lines. Most of them are about undefined variables or unknown synthax. Is there anybody to help me? Trying to do this maybe for 5th time different ways, but no luck

Comments

playfulwolf’s picture

Seems that those local compilers are not respecting "@" includes, where all the variables are defined. What I am doing wrong?

markhalliwell’s picture

Component: Code » Documentation
Category: Bug report » Support request
Status: Active » Closed (works as designed)

@PlayfulWolf, this is not a support forum please stop spamming this project's issue queue. The problem you are encountering has nothing to do with this project, but rather your development environment/workflow and understanding of how LESS works.

You should search for existing documentation on the internet and learn how LESS preprocessors work. LESS is not a requirement of this project, nor is it the purpose of a project to teach how to use advanced [external] techniques. It simply provides the tools to do so if desired.

how to compile less:
http://www.hongkiat.com/blog/less-basic/
http://www.hongkiat.com/blog/less-auto-compile/
http://en.wikipedia.org/wiki/LESS_(stylesheet_language)

how to compile less bootstrap:
http://www.helloerik.com/bootstrap-3-less-workflow-tutorial

If you really need to ask questions, it is better to do that in the support forum or on Drupal Stack Exchange.

playfulwolf’s picture

Mark, I did used LESS and SASS on small scale, but the problem is with linking files - some of them are not getting linked, have no idea why.
I just asked for kind advice on the exact steps how to reproduce Method 1 - as we can see, there is no exact documentation on doing this. That is all. I do not need tutorials about how computer works.

markhalliwell’s picture

The 7.x-3.0 release only supports a maximum version of Bootstrap 3.0.0.
Since it's release Bootstrap has modified their framework.

Bootstrap 3.1.1 is only supported in 7.x-3.x-dev at the moment.

You are probably encountering issues with variables being deleted/added/changed between the versions.

Again, this isn't really an issue about documentation (or steps), but rather just a fundamental coding concept when dealing with external libraries and versioning.

playfulwolf’s picture

Ok, no prob. Will do themming CSS way.
Tried 3.0.0, 3.0.3 versions, Crunch LESS processor: the result is similar - undefined variables in some .less file. No idea why.