ndeet / plg_system_less

A Joomla! system plugin to compile .less files on the fly.
GNU Lesser General Public License v3.0
17 stars 13 forks source link

bootstrap 3.3.4 #26

Closed pak7 closed 9 years ago

pak7 commented 9 years ago

Hello Just noticed, that with bootstrap 3.3.4 I get the following error: lessphp error: parse error: failed at .img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {less/mixins/image.less on line 20

It does no change if I select "lessc-0.3.9" or "lessc-0.4.0". You got any clou or workaround for this problem?

Thanks

smehrbrodt commented 9 years ago

Same problem here.

ndeet commented 9 years ago

Hi guys, seems that newer bootstrap versions are not compatible anymore. Altough the maintainer of the less compiler (https://github.com/leafo/lessphp) released a new version the project seems pretty unmaintained (but I went from Less to Sass too and am a bit slow with updates - sorry). So maybe we should switch to the more active https://github.com/oyejorge/less.php - but I dont't know if it breaks old bootstrap versions. So I will have a look on the weekend and try lessphp-0.5.0 and/or switch to the less.php compiler.

ndeet commented 9 years ago

Ok I included the less compiler from @oyejorge (mentioned above) now and did some successfull tests with bootstrap 3.3.4. You can download the release 0.8.0 from here: https://github.com/ndeet/plg_system_less/releases

There is a new compiler option called lessphp-1.7.0.3.

Joomla Extension auto updater will be available in the next few hours.