Re:I can style a whole app with only four hex values and SASS.
by pestaa on Thursday May 03, 2012 @01:51AM
(#3922551)
A C implementation just came out recently[0]. Unfortunately, no support for indented SASS, only the CSS-superset SCSS.
Re:I can style a whole app with only four hex values and SASS.
by hellerbarde on Thursday May 03, 2012 @07:36AM
(#3923303)
Uh... what about this one? https://github.com/Kronuz/pyScss
It seems to support compass. Could you report whether it's good, because I would like to get into SASS as well and I'm a python-guy.
edit: in the readme there is even a django example.
Re:I can style a whole app with only four hex values and SASS.
by BerislavLopac on Friday May 04, 2012 @03:47AM
(#3927485)
Hmm this seems interesting, thanks, I'll check it out! :-)
Re:I can style a whole app with only four hex values and SASS.
by richthegeek on Thursday May 03, 2012 @04:08AM
(#3922865)
For the rare (on HN, it seems) PHP user, I work on the latest iteration of PHamlP (stripped down to just SASS):
https://github.com/richthegeek/phpsass
It's feature-complete up to 3.2, although there are a few bugs that still need to be ironed out (very rare to come across).
Re:I can style a whole app with only four hex values and SASS.
by coolestuk on Thursday May 03, 2012 @05:02AM
(#3922962)
This is the nearest thing that I've come across in python: http://sandbox.pocoo.org/clevercss/
http://jaredforsyth.com/blog/2010/jun/17/clevercss-reloaded/
Re:I can style a whole app with only four hex values and SASS.
by mtrimpe on Thursday May 03, 2012 @03:54AM
(#3922841)
Although not Python, a Scala and thus Java version has been out for quite a while.
See https://github.com/derekjw/scala-sass-compiler
I haven't actually used it yet though, so I can't comment on its quality.
I'm yearning for a good Python-based implementation, ideally a drop-in with Django so I could use SASS files directly instead of Django templates, but nothing fully satisfactory has been produced yet (and I don't have the time to do it myself).
Please note: this is not intended as Ruby bashing, it's a perfectly fine language; it's just that I've practically never had a smooth experience with it.
Edit: Ah, and yes -- the author's job could be even easier if you used the Compass framework (specifically, it has a predefined helper for those gradients, and other stuff that are currently in a browser-prefix-hell): http://compass-style.org