foundation / foundation-sites

The most advanced responsive front-end framework in the world. Quickly create prototypes and production code for sites that work on any kind of device.
https://get.foundation
MIT License
29.67k stars 5.47k forks source link

A LESS version! #370

Closed NoiSek closed 12 years ago

NoiSek commented 12 years ago

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 commented 12 years ago

+1

jtammen commented 12 years ago

+1 :-D

altitudems commented 12 years ago

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

smileyj68 commented 12 years ago

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 commented 12 years ago

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 commented 12 years ago

You are a god among men, alexander.

jeremyricketts commented 12 years ago

-1

Pop over here: https://github.com/cloudhead/less.js/issues/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 commented 12 years ago

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 commented 12 years ago

Great!

smileyj68 commented 12 years ago

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 commented 12 years ago

+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 commented 12 years ago

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 commented 12 years ago

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

sjonnet19 commented 12 years ago

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 commented 12 years ago

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

roroland commented 12 years ago

+1

sjonnet19 commented 12 years ago

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 commented 12 years ago

+1

jcldavid commented 12 years ago

:+1: using LESS is a hell lot easier.

kadishmal commented 12 years ago

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

viperfx commented 12 years ago

I would really like a LESS version too :)

hpoom commented 12 years ago

+1 would like a LESS version too

replete commented 12 years ago

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 commented 12 years ago

I don't think this is possible.

replete commented 12 years ago

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 commented 11 years ago

+1 would like a LESS version very much!

berkayunal commented 11 years ago

+1 Give us the LESS! :)

trusktr commented 11 years ago

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

taitems commented 11 years ago

+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!

jcldavid commented 11 years ago

^ Or use vagrant.

ilPas commented 11 years ago

It's a pity that there isn't a version with less, I like foundation but without less I can not use it!

vrusua commented 11 years ago

+1 still waiting!

sjonnet19 commented 11 years ago

Sorry guys we dropped the fork and went with SCSS. It was a nightmare to maintain and SASS features where killing us when trying to re-implement.

blowsie commented 11 years ago

+1

berkayunal commented 11 years ago

+1

Berkay UNAL www.berkayunal.com

On July 16, 2013 at 12:12:25 PM, Sam Blowes (notifications@github.com) wrote:

+1

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

loucyx commented 11 years ago

+1 ... I love the look of foundation, but I don't like SASS at all.

cyrusdavid commented 11 years ago

-1.

nerdfiles commented 11 years ago

+1 !

replete commented 11 years ago

Guys, this isn't practical.

The only way this will happen, is if someone starts a LESS fork.

If you need solutions for Windows environments:

Considerations:

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

ghost commented 11 years ago

FWIW, the bug @jeremyricketts mentioned was resolved.

quanghoc commented 11 years ago

-10

It'd be better to start improving Foundation to be on pair with Bootstrap rather than starting to support LESS.

jalcine commented 11 years ago

@quanghoc Foundation surpasses Bootstrap; what?

kevsmt commented 11 years ago

+100000000 Please support LESS.. its a lot easier in all platform..

replete commented 11 years ago

Okay, the time has finally come to stop asking for a LESS version.

Introducing:

SASS is more feature-rich than LESS, and now it's more accessible, thanks to libsass.

LESS has been great, but lets leave it behind for SASS, which is a much better toolset.

Also, the above are reasons why a LESS version of Zurb simply isn't going to happen.

jalcine commented 11 years ago

@replete says it plainly. There's no reason for the Foundation team to duplicate efforts with two different preprocessors.

kevsmt commented 11 years ago

Its ok.. :) i found Prepros also.. it is just that, some including me, need to learn new things.. which is not bad afterall :)

Motifsky commented 11 years ago

-1 for LESS support. Prefer the team focused on making a great SASS version. Strongly agree with @replete.

loucyx commented 11 years ago

@replete I'm just saying, but node-sass still needs ruby to run. I'll check the other options, but the thing with sass is that it needs ruby to run, and LESS doesn't. Besides, more feature-rich than LESS? LESS has mixins, variables, nesting, includes/imports, etc. and the syntax is very close to the standar CSS:

/* LESS Mixin: */ .mixin-name(a_variable, another_variable: 20) { // Stuff }

.a-class { .mixin-name(10, 30); }

/* SASS Mixin: */ @mixin mixin-name($a_variable, $another_variable: 20) { // Stuff }

.a-class { @include mixin-name(10, 30); }

replete commented 11 years ago

@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 commented 11 years ago

@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.