Comments (32)
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.
π
from office-ui-fabric-core.
π π
from office-ui-fabric-core.
π π π
from office-ui-fabric-core.
+1
from office-ui-fabric-core.
π
from office-ui-fabric-core.
I personally prefer LESS, perhaps maintaining both wouldn't be out of the question.
from office-ui-fabric-core.
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.
Agreed. Less is no longer the standard, as Sass has gotten much larger traction and a bigger following.
from office-ui-fabric-core.
π +1 π
from office-ui-fabric-core.
@matthew-dean by comparing SASS to Zune you have just made enemies with web developers at large! π
from office-ui-fabric-core.
@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.
Look this : https://css-tricks.com/sass-vs-less/
from office-ui-fabric-core.
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.
+1
from office-ui-fabric-core.
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.
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.
Awesome update! How soon can we expect to this to be in the CDN?
from office-ui-fabric-core.
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.
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.
@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.
@sharepointoscar just FYI... we shipped the first drop of http://ngofficeuifabric.com, Angular directives for Office UI Fabric
from office-ui-fabric-core.
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.
Npβ¦ planning another drop sometime early next week with at least one more directiveβ¦
from office-ui-fabric-core.
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.
π
from office-ui-fabric-core.
Finished in #303!
from office-ui-fabric-core.
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.
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.
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.
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.
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)
- Shouldn't the starter template use ms-Fabric style in the body?
- How to access the latest CSS style sheets, Icons & Java scripts for HTML web development HOT 3
- Can I use Fabric-UI styles and components in Angular 10 ?? HOT 8
- Visio brand icon is still old
- In BasePicker allow to pass the style for the focused element
- Edit Icon is not working HOT 1
- Do we support auto layout in office Fabric React - Grid layout
- SVG for the icons HOT 2
- Can I use Fabric-UI styles and components in VueJS ?
- Selection cannot be controlled by state
- Office fabric ui core style stopped working HOT 5
- Is the Announced component deprecated HOT 1
- Invalid aria attributes is defined for the column header
- Issue with ms-animation mixin with Sass (latest version of DartSass)
- icon
- Breadcrumb button not visible in High contrast black mode HOT 1
- New Icon request.
- Bug: The icon library is not loading the icons correctly.
- newer icons are missing HOT 2
- Scoped CSS is pointing to the wrong font file on CDN
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office-ui-fabric-core.