GithubHelp home page GithubHelp logo

Comments (32)

matthew-dean avatar matthew-dean commented on June 19, 2024 1

They're used by different groups for different reasons.

LESS is easier to learn as its a intentionally tight feature set to cover the vast majority of use cases, but not all.

Like CSS, LESS is declarative. SASS is imperative. So that also makes it a more familiar concept to web developers. For instance, LESS had concepts like block scoping and cascading values that SASS does not have. So it's more like CSS+ and SASS is more like PHP or Ruby with CSS-like syntax.

So LESS doesn't try to be the standard but a solution to a different set of problems as priority. We (core Less users) regularly suggest Sass when people need a more programming-language-like imperative construct. Basically, Less is the iPod and Sass is the Zune, so, yup, Sass has way more features. :-)

Use what suits your project!

from office-ui-fabric-core.

donatj avatar donatj commented on June 19, 2024

πŸ‘

from office-ui-fabric-core.

andrewconnell avatar andrewconnell commented on June 19, 2024

πŸ‘ πŸ‘

from office-ui-fabric-core.

una avatar una commented on June 19, 2024

πŸ‘ πŸ‘ πŸ‘

from office-ui-fabric-core.

pascalberger avatar pascalberger commented on June 19, 2024

+1

from office-ui-fabric-core.

Diablo-D3 avatar Diablo-D3 commented on June 19, 2024

πŸ‘

from office-ui-fabric-core.

CuddleBunny avatar CuddleBunny commented on June 19, 2024

I personally prefer LESS, perhaps maintaining both wouldn't be out of the question.

from office-ui-fabric-core.

Jahnp avatar Jahnp commented on June 19, 2024

This would be a pretty big change, but we do see the value in supporting SASS/SCSS in some way. We aren't in a position to fully replat our styles any time soon, but like @CuddleBunny mentions, I could see spinning up parallel versions at some point.

Tidbit for the sake of curiosity: we originally started with LESS because it had pretty broad adoption across product teams at Microsoft.

from office-ui-fabric-core.

mrmckeb avatar mrmckeb commented on June 19, 2024

Agreed. Less is no longer the standard, as Sass has gotten much larger traction and a bigger following.

from office-ui-fabric-core.

tidg avatar tidg commented on June 19, 2024

πŸ‘ +1 πŸ‘

from office-ui-fabric-core.

andrewconnell avatar andrewconnell commented on June 19, 2024

@matthew-dean by comparing SASS to Zune you have just made enemies with web developers at large! πŸ˜ƒ

from office-ui-fabric-core.

matthew-dean avatar matthew-dean commented on June 19, 2024

@andrewconnell lol a low blow, I know. But sometimes I hear "Sass is better than Less because it has more features." Which is pretty much exactly the same as saying, "Zune is better than the iPod because it has more features." Fewer features sometimes makes for faster adoption, less confusion, and easier onboarding for new devs, so that's the reason I bring up the comparison.

from office-ui-fabric-core.

sandhilt avatar sandhilt commented on June 19, 2024

Look this : https://css-tricks.com/sass-vs-less/

from office-ui-fabric-core.

StfBauer avatar StfBauer commented on June 19, 2024

I think many web developer switched from LESS to SASS. Support both will be a good option for those who still use less.

from office-ui-fabric-core.

timschoch avatar timschoch commented on June 19, 2024

+1

from office-ui-fabric-core.

matthew-dean avatar matthew-dean commented on June 19, 2024

I mentioned this thread in this post, if you're curious: http://getcrunch.co/2015/10/08/less-the-worlds-most-misunderstood-css-pre-processor/

from office-ui-fabric-core.

ericthompson avatar ericthompson commented on June 19, 2024

Hi all! Looping back here to mention to everyone that our latest version, 1.2.0, includes the beginnings of our conversion to SASS - check it out! We've still got work to do, but we're open to hearing opinions/feedback.

from office-ui-fabric-core.

andrewconnell avatar andrewconnell commented on June 19, 2024

Awesome update! How soon can we expect to this to be in the CDN?

from office-ui-fabric-core.

andrewconnell avatar andrewconnell commented on June 19, 2024

Reason I ask – next week we will have our first release of the Angular Directives for Office UI Fabric and our demos reference the CDN links… we’d love to point to the latest stuff…

from office-ui-fabric-core.

sharepointoscar avatar sharepointoscar commented on June 19, 2024

Oh nice now we're really up to par with Bootstrap, since it has AngularJS directives as well.

Stoked, can't wait to integrate them into my boilerplate MEANS open source project http://github.com/SharePointOscar/MEANS

Sent from my 6S

On Jan 8, 2016, at 11:43 AM, Andrew Connell <[email protected]mailto:[email protected]> wrote:

Reason I ask - next week we will have our first release of the Angular Directives for Office UI Fabric and our demos reference the CDN links... we'd love to point to the latest stuff...

Reply to this email directly or view it on GitHubhttps://github.com//issues/56#issuecomment-170104046.

from office-ui-fabric-core.

ericthompson avatar ericthompson commented on June 19, 2024

@andrewconnell - we're currently pushing to get our CDN updated asap. I don't have a timeframe yet, but we're hoping for the next week or 2.

from office-ui-fabric-core.

andrewconnell avatar andrewconnell commented on June 19, 2024

@sharepointoscar just FYI... we shipped the first drop of http://ngofficeuifabric.com, Angular directives for Office UI Fabric

from office-ui-fabric-core.

sharepointoscar avatar sharepointoscar commented on June 19, 2024

Yummy! Time to start integrating them into my MEANS boilerplate project! Thanks for the heads up AC!

From: Andrew Connell
Reply-To: OfficeDev/Office-UI-Fabric
Date: Friday, January 15, 2016 at 10:39 AM
To: OfficeDev/Office-UI-Fabric
Cc: Oscar Medina
Subject: Re: [Office-UI-Fabric] Transform styles LESS to SASS (#56)

@SharePointOscarhttps://github.com/SharePointOscar just FYI... we shipped the first drop of http://ngofficeuifabric.com, Angular directives for Office UI Fabric

β€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/56#issuecomment-172046676.

from office-ui-fabric-core.

andrewconnell avatar andrewconnell commented on June 19, 2024

Np… planning another drop sometime early next week with at least one more directive…

from office-ui-fabric-core.

mikewheaton avatar mikewheaton commented on June 19, 2024

Replacing LESS with Sass is underway, see pull request #279. We plan to have LESS completely removed when we release Fabric 2.0.

from office-ui-fabric-core.

StfBauer avatar StfBauer commented on June 19, 2024

πŸ‘

from office-ui-fabric-core.

mikewheaton avatar mikewheaton commented on June 19, 2024

Finished in #303!

from office-ui-fabric-core.

purtuga avatar purtuga commented on June 19, 2024

Sad to learn that LESS is removed and no longer supported... 😞
Supporting SASS, although may provide you a richer set of features - that you may or may not use - it does add complexity and intimidation around setting up an environment for anyone that may want to use this project to create mashups. It also limits us LESS users in actually taking advantage of Office UI Fabric... In my personal use cases, I have not been able to find a gap in functionality that required me to go use SASS - perhaps you guys have and thus the change in tooling...

That being said, I will eventually move to use SASS, since it seems that tool is moving quickly into becoming the most popular one.. and thus the one with best support.So I'm not a hatter of the tool... but I'm not ready yet either... so with that:


How to use Last release with LESS Support

For anyone that may find this thread and still want to use the LESS source, there is what I did:

The instruction below are for v1.2.1 - which seems to be the last tagged version that had LESS support.

From the command prompt:

$ git fetch --tags
$ git checkout -b release_1-2-1 1.2.1

If using Bower, just run this command instead of the default approach:

 bower install --save-dev OfficeDev/Office-UI-Fabric#1.2.1

now... back to using Office UI Fabric on custom widgets.... 😁

/Paul

from office-ui-fabric-core.

matthew-dean avatar matthew-dean commented on June 19, 2024

since it seems that tool is moving quickly into becoming the most popular one

Sorry, but under what metric have people determined that Sass is more popular than Less?

https://twitter.com/matthewdeaners/status/693228336814817280

from office-ui-fabric-core.

mikewheaton avatar mikewheaton commented on June 19, 2024

We understand that this isn't a welcome change for everyone. We've communicated that it's coming (in this issue, our prior release notes, and in our roadmap) but we know it will be a surprise to some.

For us it's not a question of the features of LESS vs Sass or the wider popularity or trendiness of either one – what we've heard from our users, both inside and outside of Microsoft, is that Sass is preferred. We considered supporting both but this would burden our development process and keep us from fixing bugs and developing features. As a small team we have to be careful about where we spend our time. Thanks for your understanding.

from office-ui-fabric-core.

matthew-dean avatar matthew-dean commented on June 19, 2024

For us it's not a question of the features of LESS vs Sass or the wider popularity or trendiness of either one – what we've heard from our users, both inside and outside of Microsoft, is that Sass is preferred.

That's a good answer, and makes sense.

from office-ui-fabric-core.

purtuga avatar purtuga commented on June 19, 2024

Hi @matthew-dean... You are right: I don't have a metric I can point you to... its simply my personal opinion based on my recent encounters. I'm a LESS user and I have been feeling as if perhaps its time for me to move on from it... Several of the libraries/widgets I have used recently all had their CSS written in SASS...

@mikewheaton Thank you for our response. I understand the motive and agree with @matthew-dean : its ultimately what makes more sense for this project and the majority of its users.

from office-ui-fabric-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.