assemble / assemble-less

Grunt task for compiling LESS to CSS. This task does for less what Assemble does for HTML, making it much easier to modularize and reduce repetition in stylesheets.
http://github.com/assemble/assemble/
MIT License
66 stars 20 forks source link

@media query and mixin issue #23

Closed kenilam closed 10 years ago

kenilam commented 10 years ago

I am using assemble-less for a project I am building, and I have some variable like this: @grid-size: 180px; @wide: 12; @min-wide: @wide * @grid-size;

When I do: body { width: @min-wide; }

It output nicely like: body { width: 1620px; }

But when I do: @media and all (min-width: @min-wide) { }

It output: @media all and (max-width: 12 * 180px) { }

I am not sure if it is a less bug or it has been fix on 1.7, or I am just not doing it correctly. But any suggestion would be much appreciate.

Thank you

jonschlinkert commented 10 years ago

please create an issue on less.js for this, thanks

wide-zz commented 10 years ago

Hi Dear why i get copy the email???

Date: Sun, 23 Feb 2014 23:49:38 -0800 From: notifications@github.com To: assemble-less@noreply.github.com CC: vobregon@hotmail.com Subject: Re: [assemble-less] @media query and mixin issue (#23)

Closed #23.

— Reply to this email directly or view it on GitHub.

jonschlinkert commented 10 years ago

because @kenilam didn't use backticks around their code.