Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A LESS version! #370

Closed
NoiSek opened this issue Mar 5, 2012 · 75 comments
Closed

A LESS version! #370

NoiSek opened this issue Mar 5, 2012 · 75 comments

Comments

@NoiSek
Copy link

NoiSek commented Mar 5, 2012

I've seen that a LESS version of the css is (possibly) in the works as of three months ago, any news on that? A LESS version of the foundation system would be amazing.

@alexbeletsky
Copy link
Contributor

+1

@jtammen
Copy link

jtammen commented Mar 6, 2012

+1 :-D

@altitudems
Copy link

+2 We really need this, could be as simple as doing this: http://stackoverflow.com/a/6073820 ?

@smileyj68
Copy link

Foundation 3.0 is going to be written using SCSS/Sass, and then available as a (compass) gem in addition to the existing straight CSS version. I imagine once we have 3.0 rewritten into SCSS a Less port would be very easy to create / maintain. I know picking Sass or Less means pissing off everyone from the other camp but whaddya do?

@alexbeletsky
Copy link
Contributor

Here, https://github.com/alexanderbeletsky/foundstyles/

I extracted some variables into corresponding .LESS files. You might use that, before actual support of LESS/SASS will be present in Foundation;

@NoiSek
Copy link
Author

NoiSek commented Mar 18, 2012

You are a god among men, alexander.

@jeremyricketts
Copy link

-1

Pop over here: less/less.js#49 for a little background. But essentially, there are bugs in LESS going back 2 years, with fixes that have never been acknowledged or pulled. The bug I've linked actually shows up in the default installation of Twitter Bootstrap. At the time of this writing, there are 353 bugs and 77 unreviewed pull requests.

Anyway- LESS is a really great piece of technology. Brilliant in fact. As an open source project, I feel like it's unfortunately mismanaged. Including LESS as a dependency would be, in my opinion, a mistake. Especially when SASS is equally as strong and the support and community seems to be stronger (especially now that it's ia default in Rails).

I hope this doesn't come across as a bash or troll. I just think there's a clear, equally powerful alternative to LESS.

@DESIGNfromWITHIN
Copy link

I will try to create a LESS version soon...
I plan to use it with my (Foundation based) Flexibility MODX template: https://github.com/DESIGNfromWITHIN/Flexibility

@NoiSek
Copy link
Author

NoiSek commented May 2, 2012

Great!

@smileyj68
Copy link

3.0-scss branch has our Sass implementation. We won't be developing a Less version, though anyone interested in forking and doing so is welcome to.

@trusktr
Copy link

trusktr commented Aug 31, 2012

+1 I'd like to see Less compatibility. Less might have bugs like @jeremyricketts mentioned, but they must not be significant because I haven't experienced any bugs and have been using Less in my last projects without any hinderance. Mybe I'm not using it's full potential. It'd be convenient for some of us not to have to switch from Less to Sass.

@srsgores
Copy link

srsgores commented Sep 3, 2012

Guys, I'm working on a LESS version for Foundation. It's not done yet, but will be within a couple days. See here.

@srsgores
Copy link

srsgores commented Sep 3, 2012

Also, you don't have to wait for me to finish: there's a php parser online.

@sjonnet19
Copy link
Contributor

I am currently maintaining a LESS version that is a almost mirror of the Sass version for my company. We are planning on open sourcing just haven't had the chance to work out the details just yet.

@pelmered
Copy link

@sjonnet19 : Any update on the LESS version? I would love that!

@roroland
Copy link

+1

@sjonnet19
Copy link
Contributor

I apologize for the delay in this we are in an agressive sprint that will hopefully be finished end of next week. As soon as that is over I plan to sit down and see about open sourcing our Less version.

@dgmike
Copy link

dgmike commented Sep 20, 2012

+1

@jcldavid
Copy link

👍 using LESS is a hell lot easier.

@kadishmal
Copy link

Waiting for LESS version as well! Please, please, please!

@viperfx
Copy link

viperfx commented Nov 3, 2012

I would really like a LESS version too :)

@hpoom
Copy link

hpoom commented Nov 5, 2012

+1 would like a LESS version too

@replete
Copy link

replete commented Nov 12, 2012

Main reason that I'm interested in LESS version, is that for some systems (.net for instance) setting up Ruby so you can use sass/compass is an unbelievable nightmare and the ports of Ruby etc are very slow. DotLessCss is a pretty good asp.net port of LESS.

I can't see this happening to be honest, but there is definitely a use-case, and I'd love to see it.

Edit: No longer a use-case, thanks to libsass and SassC - SASS without Ruby, and faster.

@jcldavid
Copy link

I don't think this is possible.

@replete
Copy link

replete commented Nov 29, 2012

The only way a LESS version will happen, is if a few of us take ownership and fork Foundation, updating it with every release.

It's not inconceivable, it just needs a couple of days thrown at it.

@vrusua
Copy link

vrusua commented Jan 8, 2013

+1 would like a LESS version very much!

@berkayunal
Copy link

+1 Give us the LESS! :)

@trusktr
Copy link

trusktr commented Mar 27, 2013

@smileyj68 Is there any reason in particular to pick Sass over Less? Just curious and maybe I'll learn something.

@taitems
Copy link

taitems commented May 9, 2013

+1

Using SASS in .NET environments is a bit of a turd, and in VS2012 update pack 2, LESS is now a first class language!

@replete
Copy link

replete commented Dec 2, 2013

@lucasmciruzzi Libsass is SASS in C, not Ruby, and it's faster. Node-sass uses libsass.

SASS is better-maintained, more actively developed, better features (@target, @extend .. the list goes on) etc.

@loucyx
Copy link

loucyx commented Dec 2, 2013

@replete OK, the last time I've worked with SASS in node, the grunt tasks asked me to install ruby in order to run the SASS compiler, I'll check that out again. But, LESS is currently in 1.5.1 (released in 2013-11-17), and I insist: The syntax in LESS is better than in SASS, that's why this request exists.

In other words: LESS is excelent for people that came from CSS, and SASS is excelent for programmers that came from other programming languages.

@replete
Copy link

replete commented Dec 2, 2013

@lucasmciruzzi If are struggling with using SASS, stick to vanilla CSS.

@cyrusdavid
Copy link

@lucasmciruzzi the syntax is SASS/SCSS is so simple. Maybe it's just your refusal to learn.

@loucyx
Copy link

loucyx commented Dec 2, 2013

@replete @vohof I'm not struggling or refusing guys. In the project I'm working right now, the styles are made in SASS. My +1 in this issue is because is true that, quoting: "A LESS version of the foundation system would be amazing".

@replete
Copy link

replete commented Dec 2, 2013

Your +1 (and anyone else's for that matter) is pointless because:

  • Zurb have acknowledged that this won't happen
  • It doesn't make sense for it to happen, with libsass making SASS more accessible
  • Community members have tried to maintain a LESS fork - it was unmaintainable

Can we stop flogging this dead horse already? If you want LESS so hard, just use Bootstrap.

@pelmered
Copy link

pelmered commented Dec 2, 2013

I agree that SASS probably is the better choice between the two overall even though I've been using LESS for all my projects until now. The only killer feature in LESS now is a good PHP-compiler. That is awesome when you want to recompile the styles for sites on shared hosting where you can't run a C-compiler. I have a great script for this that I have included in all the sites I've made the last few years.

Once SASS gets a PHP-compiler, it's a no-brainier for me.

@pelmered
Copy link

pelmered commented Dec 2, 2013

@replete It's only a wrapper and does not run in most shared hosting environments where you're only allowed to run PHP-code and can't install anything.

@replete
Copy link

replete commented Dec 2, 2013

@pelmered I realised just after I posted and deleted the comment, apologies

@ghost
Copy link

ghost commented Dec 3, 2013

Why are we comparing SASS and LESS in first place? Shouldn't we be open about it, for sake of choice? Lets say, if someone sends a pull request to foundation with full-blown optional LESS support, would they reject it just because in their head its not a winner? That's strange, insane and some stubborn childish attitude IMVHO.

SASS is good LESS is also good! no? Ok SASS is better than LESS!

All we are asking is a CHOICE! @replete, is it so inappropriate to ask for a choice, that even the comments with (the word "LESS") are bothering you? Alexis Sellier must have eaten somebody's lunch.. :P

@replete
Copy link

replete commented Dec 3, 2013

@jasonwilliams200OK, If you read earlier on in the comments, I initially wanted a LESS version myself.

I'm trying to save you wasting energy in waiting around for a LESS version - It won't come from Zurb, and isn't easy to maintain either.

You can always port the features that you like to LESS, I've done that myself in the past for the responsive grid.

@pelmered
Copy link

pelmered commented Dec 3, 2013

It's just not worth the effort to maintain a LESS fork and I fully understand that that is not a priority for Zurb either.

If you want to use Foundation and Less you have to use the pre-compiled CSS in Foundation and then put your LESS on top of that. I've been doing that a lot. Your missing out on a lot of great things, but it works and it's an okay solution.

@Garito
Copy link

Garito commented Feb 3, 2014

What do you say now that Bootstrap has a SASS version?

Perhaps Fundation is a nightmare to translate to Less becase is a piece of crap?
I could undertand that Zurb hasn't any intention to maintain the port but if the community can't it is clear to me the why

Now it's your time to insult/ignore/what_ever me (I know you like wars...) :D

@blowsie
Copy link

blowsie commented Feb 3, 2014

This has got me thinking, its not long till someone will consider building a pre-processor-pre-processor.

Something which will output to less and sass. Or of course, just a less<==>sass converter.

@loucyx
Copy link

loucyx commented Feb 3, 2014

@Garito ... there is no need to "insult", LESS and SASS both have great and crappy things, so there is no point in insulting one of them.

@Garito
Copy link

Garito commented Feb 3, 2014

@lucasmciruzzi agree! This is why I'm asking not affirming...
Perhaps the team who tried was not the correct (no shame on try)
This is why I'm asking for the opinions now that we can compare in terms of language portability

I like python so its a "problem" for me any options because I need to install another set of programs in my servers so more "possible" bugs and security holes (at least more chances) and the ports are not at the same level till the creators accept "the chalenge" to make em official (as Bootstrap has done in the last version)

So, since I really don't care to much about which tech is better if a balance with other of things is achieved, for me this is a kind of "race". Eventually the browser creators will decide that this field is mature enought and will include it agaist css so now its a RACE

At this point SASS has agaist itself (in my taste as a python programer) Ruby because it is to much similar to python, less mature and slower
LESS wins with Node since is super different and a lot of people is trying there new cool stuff (look for Johny Five for instance)
LESS BRUTALLY lost because of the huge dependency of Bootstrap
The SASS ecosystem is more rich thant LESS but Bootstrap's is very rich
As a programer I prefer SASS by far but I really don't care because the days of writting code to design a website (ergo any computing programs) is so close and now this libraries try to solve the front end problem and bootstrap is more accepted

At this point I use LESS
In the future I will prefer not to use anyone and use directly something near to Fundation or Bootstrap because I see programs as lego pieces (a very very inmature lego) but now Ruby is a huge, huge problem so SASS has it itself

But besides my opinions you may be agree with me that LESS or a possible port of SASS to Node will be more accepted for the browser vendors as a replacement of CSS (I bet you that a lot of people here make themselve wet only thinking on that). The only way you could save that situation is by creating a C port (which I applaude)

I have written that "elaborated" response asking for mercy for my "mistake" (someone wanna bet who finally wins the race? =) )
Sorry Lucas, don't wanna insult but I would like a good competition before we all change to a new technology. It will be a more developed and chanced one which is good for all us

@bluetidepro
Copy link

Was there ever an update with this? Is there a LESS version of Foundation 5 floating around somewhere in another repo or something?

@pelmered
Copy link

pelmered commented May 1, 2014

@bluetidepro: No, at least not anything official. Zurb want to focus on other more important things than maintaining a Less fork of foundation.

@joshuavalentin
Copy link

+1 also for LESS!

@dgmike
Copy link

dgmike commented Jun 6, 2014

👎

I'm using libsass + sassc and compiling without ruby. And I'm very happy with that! Do not need ruby sass or less to write my code 😄

@micahblu
Copy link

micahblu commented Mar 9, 2015

+1 Sass seems to be having a lot of version discrepancies and unresolved bugs lately, not too mention sass compiles much slower than less and that time lag is enough to want to switch alone.

@ghost
Copy link

ghost commented Mar 10, 2015

Less is an imperative language and Sass is declarative language. Don't get me wrong. No matter what others think. they both will always have advantage over each other and they both are equally great languages. Its so absurd to make it a matter of competing tech and impose personal bias to rule out the great options. Open source software is nobody's property!!

Bootstrap coming with both Sass and Less variants. Its a shame that we can't get Zurb Foundation to be more pervasive and come as an independent front-end framework with no ties attached to one particular design language.

One common pattern I have observed with Ruby community is that they only like to use stuff which has any ties with Ruby! Sass was first implemented in Ruby, so that's the end of the world!
Dare trying something new guys! Welcome to the era of node.js. The whole universe of tech is at your fingertips!!

@micahblu, (while I am sharing the general feeling and predicament) speaking of performance, have you tried node-sass which uses libsass written in C++? ;) Its zillion times faster than ruby version of Sass compiler, but oh well.. its not Ruby! :p

@ionas
Copy link

ionas commented May 9, 2015

There should be a way to compile one into the other or a higher level language to describe both.
I don't really want to switch technologies around all the time just because TWBS and Foundation are using SASS/SCSS vs LESS. At least SCSS is kind of readable and not too error prone (SASS is).

@blowsie
Copy link

blowsie commented May 11, 2015

I agree @ionas , this is what I said over a year ago :)
#370 (comment)

@chrisjlee
Copy link
Contributor

-1 libsass > less

@loucyx
Copy link

loucyx commented May 12, 2015

-1 libsass > less

Unless you are on a server that only supports Javascript dependencies...... As said above, both preprocessors are good, and have advantages over the other, to say something like "x > y" is childish. SASS is more powerfull, and fast, but it has more dependencies too (ruby or libsass). LESS is more simple, intuitive (similar to vanilla CSS) and has no dependencies (it even runs on PHP, if you want), but it lacks of stuff like Compass.

Still, I think this discussion is over, the guys at zurb will not implement foundation on less, the only option we have is to use other library that does, or wait/code a SASS to LESS parser or something like that.

@ghost
Copy link

ghost commented May 13, 2015

@chrisjlee, constructive comments please!

Also see What is the difference between declarative and imperative language.

And the difference between zurb-foundation and twitter-bootstrap is that the latter gives you "choice".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests