HAML has really saved my sanity. I don't think I will ever code
another line of HTML if I can manage it! What I really dig most is the
drastic amount of fat that is trimmed from my views..it really is
fantastic.

SASS, on the other hand leaves me wanting in this area. I have grown
spoiled by my tidy .rb and .haml files, so now when I open a .sass,
I'm faced with this massively long text file and it feels like I've
been kicked back to the Stone Age.

So I start to wonder...how can I make my css feel as sleek and modular
as the rest of my app?

The first thing that springs to mind is the tried-and-true @import
method, and that might be just fine for most applications, but what if
your app turns out to be the next Twitter and you are left serving up
6 stylesheets a pop like a sucker to millions of visitors?

So I meditated on it some more and the solution came to me in two
words:

SASS. PARTIALS.

Call me crazy, but I think it would rock to have your own little CSS
framework that would compile to one raw text file. I am already
drooling at the prospect of opening my sass directory and seeing

_reset.sass
_typography.sass
_layout.sass
_colors.sass
screen.sass
print.sass

the syntax for including partials would be the same as haml

= render :partial => 'reset'

What do you think? Is this something feasible or am I just completely
off my rocker?

Does anyone else think this idea is wicked cool?


--~--~---------~--~----~------------~-------~--~----~
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