HAML 2.0

Just reading about HAML 2.0. Man. I wish I wasn’t packing up for a move. I wanna play with it! Suffice it to say, I’m more of a SASS junkie than a HAML fiend, and the new SASS 2.0 features alone are enough to make me salivate.

Mix-ins is by far my favorite new feature in SASS 2.0. Now you can write chunks of reusable code:

=clearfix
  display: inline-block
  &:after
    content: "."
    height: 0
    clear: both
    visibility: hidden
  * html &
    height: 1px

… And place it within whatever rule you like

#sidebar
  +clearfix
  border: 1px solid black

Talk about leaner, meaner and more productive. Holy crap!

I’ll be rejiggering the SASS grid generator in SASS 2.0 in the next few weeks. I also have a new SASS project underway for when I have more time, SASS 2.0 will play an integral part in making it all work… without tipping my hand too much, it involves color schemes.