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

Switching from SCSS to LESS #3

Open
ehelms opened this issue May 2, 2013 · 4 comments
Open

Switching from SCSS to LESS #3

ehelms opened this issue May 2, 2013 · 4 comments

Comments

@ehelms
Copy link
Contributor

ehelms commented May 2, 2013

I have been kicking around the idea of moving away from SCSS and to LESS. SCSS made sense when we were a project focused on providing everything via a Rails engine and using Compass for the cross-browser functionality.

The pros and cons as I see them:

Pros:

  • LESS is a pure JS implementation, and thus would remove the Ruby requirement on our components
  • LESS is used by Bootstrap, which might make it easier for developers wanting to utilize both our work and their styling
  • LESS has Ruby/Rails and Python/Django adapters making it more universal
  • LESS has the same concepts as SCSS in the large, and some projects to provide the same functionality as Compass (see LessHat)

Cons:

  • requires converting our current SCSS code and managing that conversion across components
@jtomasek
Copy link

jtomasek commented May 2, 2013

@jcoufal
Copy link
Member

jcoufal commented May 3, 2013

+1 for change to LESS and +1 for ClearLess, I was thinking about Less Hat, but it seems that ClearLess is bigger player (also based on github statistics)

@jtomasek
Copy link

jtomasek commented May 7, 2013

I was thinking about this a bit more and considering that Ruby, compass and scss are the development-only requirements (correct me if I am wrong), we should really consider if the rewriting of the whole project into less is worth loosing the compass framework, which still seems superior to all the less alternatives.

@ehelms
Copy link
Contributor Author

ehelms commented May 7, 2013

We should outline the pros and cons of compass vs the alternatives. Personally, the only compass part I can think of that we use is the cross-browser mixins which I see in other frameworks. The image-path, sprite-path, asset-path portions of compass don't actually work well in practice.

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

3 participants