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

Create a script to convert from LESS to stylus #6

Open
mikeyp opened this issue Mar 8, 2012 · 4 comments
Open

Create a script to convert from LESS to stylus #6

mikeyp opened this issue Mar 8, 2012 · 4 comments

Comments

@mikeyp
Copy link
Collaborator

mikeyp commented Mar 8, 2012

Current v1.4.0 branch was a manual conversion and that is making it impossible to stay up to date with upstream. Need to have some method of automating this, to make it easier to update although I doubt a 100% automated solution will be possible (some manual tweaks will still be needed).

@digitarald
Copy link

There are some ideas discussed at https://github.com/LearnBoost/stylus/issues/118 to hook into the tree parsed by less (see https://github.com/cloudhead/less.js/blob/master/lib/less/tree/ruleset.js , which converts the tree to css)

@andreypopp
Copy link

@mikeyp hey, I've built such a script — https://gist.github.com/6108804 — and it succeeded converting bootstrap 3.x, it requires some mixin/variables reordering (twbs#8726) but if it is accepted less-to-stylus conversion will be fully automatic.

@andreypopp
Copy link

@mikeyp
Copy link
Collaborator Author

mikeyp commented Aug 2, 2013

Would you be interested in taking over this project? I'd prefer to just transfer the NPM project to you, and you can point it at your own repo if you'd like?

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