Ah i see - that makes sense - tho it seems an unnessessary barrier - I
still keep putting the colons in the wrong place :)

I don't know if the :'s really add much glancability since indentation
take care of most cases.

css2sass is great - but often im converting snippets of css - doesnt
make sense to bring out the big guns.


On Apr 5, 8:51 am, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> This syntax was chosen so that it would be easy to visually distinguish
> attribute declarations when glancing at a document. It's conceivable
> that in a later version, an alternate syntax will be added.
>
> Note that in trunk, there's a css2sass utility that should be able to
> convert CSS to Sass, as the name suggests. It's nesting-handling is a
> little buggy at the moment, but it works well for the most part.
>
> - Nathan
>
> weepy wrote:
> > Hi
>
> > Just wondering why sass syntax is :
>
> > p
> >   :font-color red
> >   .heading
> >     :background green
>
> > as opposed to the more obvious
>
> > p
> >   font-color: red
> >   .heading
> >     background: green
>
> > would make it alot easier to convert css by hand (which I often find
> > my self doing)
>
> > cheers
>
> > Jonah


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to